low-level-design-messaging-queue-pub-sub icon indicating copy to clipboard operation
low-level-design-messaging-queue-pub-sub copied to clipboard

Question: Why use one thread per subscriber?

Open mrpandey opened this issue 2 years ago • 0 comments

First of all, thanks for all your LLD implementations. These resources are really helpful. I am new to concurrency and multithreading. So please help me out.

I was thinking about your design decision to use one thread per subscriber. How will this scale if we have 10k+ subscribers? Is thread pool a better option?

mrpandey avatar Dec 17 '22 07:12 mrpandey