On 27 Aug 2018, at 21:46, Jonathan Willis <quicksi...@gmail.com> wrote:When a verticle is undeployed are current requests to that verticle killed off? or do they finish in the background while the verticle is taken down?
Is that pending request moved to a different verticle? I'm not seeing anything in the docs that specifically talks about this.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/246dd1ca-252c-42d5-b64e-8e36983960c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Does it matter that it is a worker verticle?
On 28 Aug 2018, at 00:04, Jonathan Willis <quicksi...@gmail.com> wrote:
And how to you prevent future requests from being processed by a verticle to inform when the current verticle is ready to be shutdown?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/8a38842b-d695-4c9e-94d5-a4e925e9fe46%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/f5bf3021-f2f0-4203-89cd-dce8891fcd13%40googlegroups.com.
On 28 Aug 2018, at 21:07, Jonathan Willis <quicksi...@gmail.com> wrote:
Now our worker verticle doesn't use/need an http server, it just receives messages over the event bus. Would that feature also be included?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/6d90807d-9aba-4ea5-962d-175bffa65c9c%40googlegroups.com.
this is a feature that has been asked several times
I believe we should provide a graceful shutdown of the Vert.x HttpServer at least, i.e a shutdown method with a callback that stop to process incoming request and leave them to other verticles and calls back when all inflight requests have been processed.it sounds reasonable to have this for 3.6
Julien
On 28 Aug 2018, at 17:50, Jonathan Willis <quicksi...@gmail.com> wrote:
So this is mainly for auto scaling of verticles. We have worker verticles that process a queue of tasks and the queue gets low enough we just want to scale down our workers (slowly) to one worker verticle. When the load gets high enough, spin up more worker verticles.
On Tuesday, August 28, 2018 at 1:01:47 AM UTC-6, Julien Viet wrote:Hi,unfortunately, that's not actually possible I think, in this case you will have to perform an HTTP redirection when you are in the shutting down phase in the server.Can you tell what is your actual use case ? I think there were some enquiries in the past to do something similar already.JulienOn 28 Aug 2018, at 00:04, Jonathan Willis <quicksi...@gmail.com> wrote:And how to you prevent future requests from being processed by a verticle to inform when the current verticle is ready to be shutdown?--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/8a38842b-d695-4c9e-94d5-a4e925e9fe46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ve...@googlegroups.com.