-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
Ever since we added the HZ client to one of our components, CPU usage of that component increased significantly. We could track it down to the select syscall, which is used by asyncore.loop called by AsyncoreReactor.
CPU usage could be reduced by changing that call to loop(count=1, timeout=0.1).
Our application itself makes heavy use of asyncore, so running two threads in one process, each with its own asyncore main loop in it, doesn't really make much sense. We'd appreciate being able to have the HZ client use our main loop, instead of living on its own thread. Would that be feasible?
longtimeago and unicolet
Metadata
Metadata
Assignees
Labels
No labels