Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Akka Distributed Pub/Sub and number of named topics

I would like to create a named topic per online user in my system using akka clustering. Does having couple of 10000s named topic at a time impact the performance negatively?

like image 727
Nami Avatar asked Feb 24 '16 21:02

Nami


1 Answers

I would not recommend. Topic information is represented by a service key in the Receptionist. Between 10k and 100k is probably OK, above will most likely give you some performance issues.

Depending on what you need, using cluster sharding might be a better fit.

like image 143
Igmar Palsenberg Avatar answered Sep 28 '22 13:09

Igmar Palsenberg