luxun icon indicating copy to clipboard operation
luxun copied to clipboard

how many topics can handled by one node?

Open huangshan309 opened this issue 10 years ago • 6 comments

how many topics can handled by one node?

huangshan309 avatar Feb 27 '14 12:02 huangshan309

it depends on your use case and hardware, there is no hard limit, you need to test and adjust.

bytevigor avatar Feb 27 '14 15:02 bytevigor

thank you for your response. i want to use it for user notification, one topic per user, which means about 100,000 topics to create, i will test for it.

huangshan309 avatar Feb 28 '14 02:02 huangshan309

one topic per user is not a suitable scenario to use luxun, physically, one topic needs a file with 128M as minimum size, I think you need to partition your users to reduce topic.

bytevigor avatar Feb 28 '14 02:02 bytevigor

ok, i got it. any suggest to partition users?

huangshan309 avatar Feb 28 '14 02:02 huangshan309

depends on your use case, partition by user region, or some kind of hashing.

bytevigor avatar Feb 28 '14 02:02 bytevigor

ok, i will try it. thank you for your reply again!

huangshan309 avatar Feb 28 '14 02:02 huangshan309