Re: When would you have multiple tasks in an executor?

2017-05-13 Thread P. Taylor Goetz
Each executor is a separate JVM thread, so in some cases you may want to conserve threads. Consider a case where you have many tasks, some of which are very light weight. In that case, it may make sense to group the lightweight tasks under one executor/thread. JVM threads come with a certain amo

When would you have multiple tasks in an executor?

2017-05-13 Thread S G
Hi, As per this guide: http://storm.apache.org/releases/current/Understanding-the-parallelism-of-a-Storm-topology.html , An executor is a thread containing many tasks. And each task is an instance of a spout or a bolt. I cannot imagine when would someone want to have multiple tasks in an executo