I would stick with 4 and change it only if you have a good reason to do so. Too many worker processes can be detrimental. Each storm process is by nature highly threaded. There's not much benefit to making so many processes, unless you need really fine grained fault tolerance.
See also: https://mail-archives.apache.org/mod_mbox/storm-user/201603.mbox/browser There are other discussions on the mailing list as well but I'd have to dig a bit more to find them. On Tue, Apr 12, 2016 at 4:56 AM, Andrey Dudin <[email protected]> wrote: > Try to use 1.2-1.5 process per cpu and watch. Count of process per > CPU strongly depends on the application. You can find best coefficient only > empirically. > > 2016-04-12 9:43 GMT+03:00 sujitha chinnu <[email protected]>: > >> Hai all, >> >> I too have the same question.In storm.yaml file we have to >> set the supervisor slots. At present I am setting 4 slots for 4-core cpu as: >> >> *supervisor.slots.ports:* >> - 6700 >> - 6701 >> - 6702 >> - 6703 >> >> If i am using 16-core cpu then how many supervisor slots should i use? >> >> Regards, >> sujitha. >> > > > > -- > С уважением Дудин Андрей >
