Giter Site home page Giter Site logo

koddr / tutorial-go-asynq Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 3.0 10 KB

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

Home Page: https://dev.to/koddr/asynq-simple-reliable-efficient-distributed-task-queue-for-your-next-go-project-4jhg

License: MIT License

Makefile 2.09% Go 97.91%
tutorial tutorial-code tutorial-sourcecode asynq go golang queue message-broker

tutorial-go-asynq's Introduction

πŸ“– 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.

tutorial-go-asynq's People

Contributors

koddr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tutorial-go-asynq's Issues

asynq tools not install

after providing this command
go get -u github.com/hibiken/asynq/tools/asynq

show me this output
go get: installing executables with 'go get' in module mode is deprecated.
Use 'go install pkg@version' instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.