low-level-design-messaging-queue-pub-sub
low-level-design-messaging-queue-pub-sub copied to clipboard
Question: Why use one thread per subscriber?
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?