Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creates the WorkerRegistry object to - track alive workers and their metrics - submit client requests to workers Creates the Worker object to - hold a workers metric - wrap queue interaction for the worker Creates the Broker object to - connect the HTTP API call to WorkerRegistry functions Library wise these changes are included: - Adds pika as the amqp connection library and bottle to replace the comparatively heavy flask and Werkzeug libraries. Bottle can be used with less global state and inside a class, which allows to track state within class members. - Introduces structlog, for log messages that can also expose key/value pairs for structered logging.
- Loading branch information