Perhaps a good idea to show admins a little icon in the navbar that workers are online and doing/waiting-for jobs.
Expanding the ticket based upon conversations about the queue and distributed pollers.
1) It is desirable to have distributed pollers to address connectivity issues to managed devices and allow for splitting load among pollers if needed for scalability. However, having the configuration distributed could prevent the application from being able to use those configuration details if needed. It will also make maintaining configuration files more difficult as they will not be managed in one place.
2) The queue(s) shouldn't be the performance constraint.
3) A pub-sub like system might be desirable as the pollers could subscribe to a queue from which jobs would be published.
4) Desirable not to add additional complex dependencies (Ex: Full blown message queue, etc.)
5) I would like to find a solution which would be compatible with a HTTPS transport.
Some links I find of interest on the topic:
queue_classic Ruby project, but shouldn't be that difficult to port workers to Perl. Requires Postgresql 9+ to to use enhancements to LISTEN/NOTIFY which is basically a Postgresql pub-sub.
AnyMQ and websockets
Thought would be to implement queue with multiple channels and have worker nodes communicate with the “manager” over websocket. Keep all configuration on the main application server and have the worker nodes subscribe to a configuration queue/channel on initial start then subscribe to the designated work queue/channel.
Also had http://zeromq.org/ recommended to me.
In consideration of #27 and #2 is the concept of a queue per "Domain"?
Ticket moved from /p/netdisco/netdisco2/26/
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.