Skip to content

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

Notifications You must be signed in to change notification settings

thanhtinhpas1/go-asynq-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Asynq is a Go library for distributed tasks and processing them asynchronously with multiple workers. It's backed by Redis and is designed to scale and distribute easily. Asynq has many features for task like schedule, timeout, retry, etc.

Overview

Dashboard

Prerequisites

Make sure redis already exists in your environment or install by using below commands:

brew install redis

or

docker-compose up -d

Quick start

  1. Clone this repository
git clone github.com/thanhtinhpas1/go-asynq-example.git
  1. Install dependencies
go mod download

or Makefile

make pre_install
  1. Start worker
go run worker/main.go

or Makefile

make worker
  1. Start dashboard UI
go run dashboard/main.go

or Makefile

make dash
  1. Start app-server
go run app/server.go

or Makefile

make app

If you like my example, please give me a star โญ

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published