Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.

Use a process pool for share checking #108

Open
icook opened this issue Nov 14, 2014 · 0 comments
Open

Use a process pool for share checking #108

icook opened this issue Nov 14, 2014 · 0 comments

Comments

@icook
Copy link
Member

icook commented Nov 14, 2014

To free up the main gevent loop more we can use a processing pool for share logging. Here's basic POC code.

https://gist.github.com/icook/bf34a38bea98cc02bf72

This will increase share processing times slightly, but will allow higher total shares per server process. Also will help prevent CPU starvation under high load periods a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant