kernelsauce / turbo

Turbo is a framework built for LuaJIT 2 to simplify the task of building fast and scalable network applications. It uses a event-driven, non-blocking, no thread design to deliver excellent performance and minimal footprint to high-load applications while also providing excellent support for embedded uses.
http://turbo.readthedocs.io/
Apache License 2.0
525 stars 84 forks source link

CPU usage increases when serving request #359

Open plmanik opened 3 years ago

plmanik commented 3 years ago

Hi, I'm seeing increase in CPU usage after getting request and it's coming down after returning response During request processing Server.lua is taking more than 50% of cpu How we can reduce cpu usage and debug this issue? If we get parallel request(More than 5 request) CPU usage increases. Is it normal for CPU to increase more than 50% during request processing? Do we have any benchmarking details for CPU, memory usage?

Thanks, Mani