On a theoretical world, given the ability for a processor to run an infinite amount of threads, we could prove the following statements (no attribution purposely given):
- If you do more CPU than I/O, use threads.
- If you do more I/O than CPU, use more threads.
which would allow us to conclude with the following corollary:
at full utilization, threads and events have the same theoretical throughput.
Such argument ignores praxis — it is a purely theoretical debate disconnected from the reality of scaling services –.…