Skip to content

High CPU usage caused by the Hazelcast client #83

@Svedrin

Description

@Svedrin

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions