This is exactly like Zerg http://erlangonxen.org/zerg the requirements
are that haproxy:


- triggers launching a new backend immediately on accepting the tcp
  handshake or ssl initiation
- holds the frontend tcp connection open until the new backend is spun
  up
- triggers closing the backend on close of that same connection



Maintaining a small pool of pre initialized backends might be the
simplest way to handle this in practice.


I'm definitely curious if this is possible.



BTW we have come full circle to preforking Apache httpd… PHP style...



A+ Dave





On Wed, 1 Feb 2017, at 05:22, Thilina Manamgoda wrote:

> Hi,

>

> I am Thilina Manamgoda, an undergraduate of Faculty of Engineering,

> University of Peradeniya, Sri Lanka.  What I meant by "Start
> from Zero"
> is

> start a server from stop state to running state when the first request
> comes. This functionality  is needed in the Server-less architecture

> concept where request is served in that way.

>

> Currently I am working with a *Kubernetes Cluster* where the
> servers are
> deployed as pods. What I am trying to do is when the first
> request comes
> for a server which is in stop state, rest call should be made to a

> service

> which will start the server.

>                                                      May be this is
>                                                      not a
> functionality that is relevant at the moment for the project  but I am
> trying to Implement it and all suggestions are welcome.

>

>

> regards,

> Thilina Manamgoda





—

  Dave Cottlehuber

  +43 67 67 22 44 78

  Managing Director

  Skunkwerks, GmbH

  http://skunkwerks.at/

  ATU70126204

  Firmenbuch 410811i




Reply via email to