Skip to content

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.

2 participants