/tutorial-go-asynq

๐Ÿ“– Tutorial: Asynq. Simple, reliable & efficient distributed task queue for your next Go project.

Primary LanguageGoMIT LicenseMIT

๐Ÿ“– Tutorial: Asynq. Simple, reliable & efficient distributed task queue for your next Go project

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

article preview pic

Quick start

  1. Clone this repository and go to it root folder.
  2. Start a Redis server (by Docker or locally).
  3. Start Asynq worker server:
make worker
  1. Start generating tasks by Asynq client:
make client
  1. Install Asynqmon (Asynq web UI) to your system.
  2. Go to localhost:8080 and see:

Screenshot

P.S.

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.

Support author at LiberaPay

โš ๏ธ License

MIT ยฉ Vic Shรณstak & True web artisans.