5ms 차단 전화가 17,189에서 549 요청/초까지 서비스를 받았습니다

작성자

카테고리:

← 피드로
DEV Community · Bitan Sarkar · 2026-08-26 개발(SW)

Bitan Sarkar

A 5 millisecond blocking call. Nobody would call that slow. It passes code
review and looks fine in a trace.

On a Tomcat worker thread, my service did 17,189 req/s while an unrelated
endpoint answered in 0ms. The identical call on a Netty event loop: 549 req/s,
and that same unrelated endpoint went to 217ms.

Same call. Same machine. Same JVM. The only difference was which thread it was
allowed to occupy — so I measured it properly against real Netty 4.1 and real
embedded Tomcat 10.1.

Visit : https://bitsar.net/blog/tomcat-forgives-blocking-event-loop-doesnt

Top comments (0)

Code of ConductReport abuse

원문에서 계속 ↗