{"repo":"RichardKnop/machinery","free":true,"listed":false,"github":"https://github.com/RichardKnop/machinery","clone":"git clone https://github.com/RichardKnop/machinery.git","description":"Machinery is an asynchronous task queue/job queue based on distributed message passing.","language":"Go","stars":7969,"topics":["go","golang","task","task-scheduler","queue","amqp","rabbitmq","redis","memcached","mongodb"],"license":"MPL-2.0","category":"databases-storage","readme_excerpt":"[1]: https://raw.githubusercontent.com/RichardKnop/assets/master/machinery/example worker.png [2]: https://raw.githubusercontent.com/RichardKnop/assets/master/machinery/example worker receives tasks.png [3]: http://patreon public assets.s3.amazonaws.com/sized/becomeAPatronBanner.png Machinery Machinery is an asynchronous task queue/job queue based on distributed message passing. --- V2 Experiment First Steps Configuration Lock Broker DefaultQueue ResultBackend ResultsExpireIn AMQP DynamoDB Redis GCPPubSub Custom Logger Server Workers Tasks Registering Tasks Signatures Supported Types Sending Tasks Delayed Tasks Retry Tasks Get Pending Tasks Keeping Results Workflows Groups Chords Chains Periodic Tasks & Workflows Periodic Tasks Periodic Groups Periodic Chains Periodic Chords Development Requirements Dependencies Testing V2 I recommend using V2 in order to avoid having to import all dependencies for brokers and backends you are not using. Instead of factory, you will need to inject broker and backend objects to the server constructor: First Steps To install recommended v2 release: If you want to use legacy v1 version, you still can: First, you will need to define some tasks. Look at sample tasks in v2/example/tasks/tasks.go to see a few examples. Second, you will need to launch a worker process with one of these commands (v2 is recommended since it doesn't import dependencies for all brokers / backends, only those you actually need): ![Example worker][1] Finally, once you have","default_branch":null,"files":null,"tree":[],"storefront":"/r/RichardKnop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RichardKnop/machinery/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}