max number of actors per host in akka

空扰寡人 提交于 2019-12-05 11:19:35

It is just a matter of having enough memory: the overhead of one actor is roughly 400 bytes (plus whatever state you keep within it). This means that on typical systems you can have millions of actors. The performance does not depend on the number of actors you create, it depends on how many messages you send between them. You should not worry if that number is up to a few million per second, beyond that you will have to benchmark your program against your chosen hardware to see if it works out.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!