Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE, THIS BRANCH IS FOR TESTING ONLY] Investigation/enhanced worker messaging and external stats #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisbliss18
Copy link
Contributor

Testing out workers sending their details to the parent to allow the parent to more intelligently distribute work while minimizing the number of idle workers. Setting the foundation for a smarter way to recycle workers that is more reliable and doesn't lose pending URL checks on the recycled worker.

The main Jetmon process now listens for requests on port 7802. It responds with a dump of various internal stats about Jetmon and its workers. This is a proof-of-concept and needs to be refined to only output needed information.

These changes include a new docker container added to compose that provides a web server that can be used to test checks. The hostname is test.local. A mod_rewrite rule redirects all requests to the index.php script which has random usleep intervals to simulate different response times.

Testing out workers sending their details to the parent to allow the
parent to more intelligently distribute work while minimizing the number
of idle workers. Setting the foundation for a smarter way to recycle
workers that is more reliable and doesn't lose pending URL checks on the
recycled worker. Added a port 7802 listener that dumps stats about Jetmon
and its workers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant