On Sep 27, 2017, at 7:49 PM, Alex Z. <azagn...@gmail.com> wrote:Hello!The documentation regarding specifying number of verticle instances says"...This is useful for scaling easily across multiple cores. For example you might have a web-server verticle to deploy and multiple cores on your machine, so you want to deploy multiple instances to take utilise all the cores..."1. What are the "best practices" or guidelines to deploy multiple instances of a verticle?
2. What factors should be taken into a decision?
3. Is there a formulae that considers number of event loops and number of cores in order to deduce the number of verticle instances?
4. Can you have "too many" instances?
For example, if I have a machine with 8 cores and the default number of event loops configured (2 * Runtime.getRuntime().availableProcessors()),how many instances should I be deploying?Regards,Alex
--
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/2b5558f3-87bf-4a39-932a-1ca417cadbe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Expect one of the core team to arrive soon and explain that there's something I'm misunderstanding!