Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📖 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.

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.