Can the thread per request model be faster than non-blocking I/O?

后端 未结 4 2152
你的背包
你的背包 2021-02-09 00:34

I remember 2 or 3 years ago reading a couple articles where people claimed that modern threading libraries were getting so good that thread-per-request servers would not only be

4条回答
  •  情书的邮戳
    2021-02-09 01:00

    Some time ago I found rather interesting presentation providing some insight on "why old thread-per-client model is better". There are even measurements. However I'm still thinking it through. In my opinion the best answer to this question is "it depends" because most (if not all) engineering decisions are trade offs.

提交回复
热议问题