Socket “Flush” by temporarily enabling NoDelay

前端 未结 4 1242
萌比男神i
萌比男神i 2020-12-17 02:14

Background

I have an implementation of an HTTP server in C#. Using ab I discovered a weird performance issue. Each request took 5 ms with Keep-Alive Off but 40 ms w

4条回答
  •  -上瘾入骨i
    2020-12-17 02:48

    Having written a quite popular web server myself I don't think that Nagle algortihm is your real problem.

    How do you build your responses and how do you send them?

提交回复
热议问题