▲ | bvrmn 2 days ago | |||||||
> Does your service need to be C10K? It's incorrect question. The correct one "Do your downstream services could handle C10K?" For example a service with a database should almost never be bothered with C10K problem unless most of the requests could skip db access. Every time you introduce backpressure handling in C10K-ready app it's a red flag you should simply use threads. | ||||||||
▲ | cryptonector 2 days ago | parent [-] | |||||||
I think you're saying that a database can't be C10K. Why? You don't say but I imagine that you mean because it's I/O bound, not CPU bound. And that may be true, but it may also not be true. Consider an all in-memory database (no paging): it will not be I/O bound. > Every time you introduce backpressure handling in C10K-ready app it's a red flag you should simply use threads. That's an admission that threads are slower. I don't see why you wouldn't want ways to express backpressure. You need backpressure for when you have impedance mismatches in performance capabilities; making all parts of your system equally slow instead is not an option. | ||||||||
|