https://github.com/koddr/tutorial-go-asynq
π Tutorial: Asynq. Simple, reliable & efficient distributed task queue for your next Go project.
https://github.com/koddr/tutorial-go-asynq
asynq go golang message-broker queue tutorial tutorial-code tutorial-sourcecode
Last synced: about 1 month ago
JSON representation
π Tutorial: Asynq. Simple, reliable & efficient distributed task queue for your next Go project.
- Host: GitHub
- URL: https://github.com/koddr/tutorial-go-asynq
- Owner: koddr
- License: mit
- Created: 2021-04-06T20:24:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-08T07:41:56.000Z (over 3 years ago)
- Last Synced: 2025-04-29T19:59:30.054Z (about 1 month ago)
- Topics: asynq, go, golang, message-broker, queue, tutorial, tutorial-code, tutorial-sourcecode
- Language: Go
- Homepage: https://dev.to/koddr/asynq-simple-reliable-efficient-distributed-task-queue-for-your-next-go-project-4jhg
- Size: 9.77 KB
- Stars: 35
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π 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

## 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:```console
make worker
```4. Start generating tasks by Asynq client:
```console
make client
```5. Install [Asynqmon](https://github.com/hibiken/asynqmon) (Asynq web UI) to your system.
6. Go to [localhost:8080](http://localhost:8080) and see:
## 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](https://liberapay.com/koddr/donate). _Each donation will be used to write new articles and develop non-profit open-source projects for the community._
[](https://liberapay.com/koddr/donate)
## β οΈ License
MIT Β© [Vic ShΓ³stak](https://shostak.dev/) & [True web artisans](https://1wa.co/).