Asynq is a Go library for queueing tasks and processing them asynchronously with workers. It's backed by Redis and is designed to be scalable yet easy to get started. Task queues are used as a mechanism to distribute work across multiple machines.
👉 The full article is published on April 7, 2021, on Dev.to: https://dev.to/koddr/asynq-simple-reliable-efficient-distributed-task-queue-for-your-next-go-project-4jhg
- Clone this repository and go to it root folder.
- Start a Redis server (by Docker or locally).
- Start Asynq worker server:
make worker
- Start generating tasks by Asynq client:
make client
- Install Asynqmon (Asynq web UI) to your system.
- Go to localhost:8080 and see:
If you want more articles like this on this blog, then post a comment below and subscribe to me. Thanks! 😘
And, of course, you can support me by donating at LiberaPay. Each donation will be used to write new articles and develop non-profit open-source projects for the community.
MIT © Vic Shóstak & True web artisans.