You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A basic deployment on AWS shows that socketify consumes 0.11-0.12 cpus while idle. The same applies locally while other applications almost don't consume any cpu at all.
The text was updated successfully, but these errors were encountered:
Confirmed. Exact figures depends on the hardware of course. In my case (oracle cloud / AMD EPYC) single process eats as high as ~4-8% while idle! In comparison same code with FastAPI/uvicorn consumes about 0.1-0.2% (while idle).
That's pretty high... (doesn't seem to be scalable).
(idle cpu usage is the same with pypy and cpython)
Author is aware of the problem, it might be a good idea to add some kind of config option.
For now, you can modify the source to reduce the idle load (in expense of reactivity after sleeping).
A basic deployment on AWS shows that socketify consumes 0.11-0.12 cpus while idle. The same applies locally while other applications almost don't consume any cpu at all.
The text was updated successfully, but these errors were encountered: