Code Monkey home page Code Monkey logo

Comments (2)

almet avatar almet commented on July 17, 2024

Agreed, this would be useful, as we currently need to deal with a number of http servers, and we need to keep track of them.
Here are some possible solutions:

  1. Add a "meta" web-server able to expose one single interface. We would need to send additional information such as what is the "name" (or any other identifier) of the proxy we want to change the handler.
  2. Add another way to control the vaurien handlers, for instance with 0mq. All these vaurien instances could then be controlled by another (http?) server.

These two ideas are quite different from what I would expect first-hand, as they need each vaurien insntance to have a way to be controlled by an exterior interface (rpc or http). The way the http server is implemented currently doesn't allow to have one HTTP server control different instances of vaurien, as it uses the fact that it's run on the same process.

I think I woud go for #1 for now, as we already have the HTTP code able to handle this for us.

from vaurien.

tarekziade avatar tarekziade commented on July 17, 2024

I added meta-vaurien for now - an http router

from vaurien.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.