python-web-perf
python-web-perf copied to clipboard
Clarify CPUs versus Cores in blog post
The readme here talks about cores a bit more accurately than the blog post.
"Async frameworks, due to their IO concurrency, are able to saturate a single CPU with a single worker process." lead me to investigate if you understood how multiprocessing actually works.
Changing CPU to Cores in the blog post would help reduce potential confusion.
Changing "IO" to "cooperative" would be good to. I don't think "IO concurrency" is a thing, or at least I don't think it specifically means cooperative concurrency.
I think "CPU core" is probably clearest in the first case? Googling, it seems that people sometimes use "hardware thread" to describe this concept but not sure that has popular currency as a term.
I sort of see your point on "IO concurrency" but I find "co-operative concurrency" more confusing as co-operative concurrency doesn't imply to me the specific nature of the concurrency in this case. I think "due to the nature of their concurrency"?
I'm pretty sure I had both of these sentences both of these ways around in earlier drafts...I struggled with the language on this subject