Top 1.7% forks on proxy.golang.org
proxy.golang.org : github.com/vmihailenco/taskq/example/api_worker
This package contains an example usage of redis-backed taskq. It includes two programs: 1. api that sends messages on the queue 2. worker that receives messages They share common definitions for the queue `MainQueue` with a single task defined on it `CountTask`. api runs in a loop submitting messages to the queue, for each message it submits it increments a process-local counter. worker starts a consumer that executes the `CountTask` for each message receives - the task handler also implements a process local counter. If you run each program in a separate terminal with: Then api will periodically print the messages sent to the terminal and worker will print the message received. If you spawn further workers they will share consumption of the messages produced by api.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/vmihailenco/taskq/example/api_worker
Keywords:
go
, golang
, ironmq
, ironmq-backend
, message-queue
, queue
, redis
, sqs
, task-queue
, taskqueue
License: BSD-2-Clause
Latest release: over 3 years ago
First release: over 3 years ago
Namespace: github.com/vmihailenco/taskq/example
Stars: 1,043 on GitHub
Forks: 97 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago
github.com/vmihailenco/taskq/v4 v4.0.0-beta.4
Package taskq implements task/job queue with Redis, SQS, IronMQ, and in-memory backends.4 versions - Latest release: about 2 years ago - 11 dependent packages - 2 dependent repositories - 1,048 stars on GitHub
github.com/vmihailenco/taskq/extra/oteltaskq/v4 v4.0.0-beta.4
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends1 version - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 1,078 stars on GitHub
github.com/vmihailenco/taskq/memqueue/v4 v4.0.0-beta.4
4 versions - Latest release: about 2 years ago - 5 dependent packages - 2 dependent repositoriesgithub.com/vmihailenco/taskq/pgq/v4 v4.0.0-beta.4
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends4 versions - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 1,048 stars on GitHub
github.com/vmihailenco/taskq/redisq/v4 v4.0.0-beta.4
4 versions - Latest release: about 2 years ago - 4 dependent packages - 1 dependent repositoriesgithub.com/vmihailenco/taskq/taskqtest/v4 v4.0.0-beta.4
4 versions - Latest release: about 2 years ago - 2 dependent packages - 2 dependent repositoriesgithub.com/vmihailenco/taskq/extra/taskqotel/v4 v4.0.0-beta.3
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends3 versions - Latest release: about 2 years ago - 1,114 stars on GitHub
github.com/vmihailenco/taskq/example/redisexample v0.0.0-20221206023850-2956d04364bf
This package contains an example usage of redis-backed taskq. It includes two programs: 1. api t...2 versions - Latest release: over 2 years ago - 1,048 stars on GitHub
github.com/vmihailenco/taskq/example/sqsexample v0.0.0-20221206023850-2956d04364bf
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends3 versions - Latest release: over 2 years ago - 1,048 stars on GitHub
github.com/vmihailenco/taskq/v3 v3.2.9
Package taskq implements task/job queue with Redis, SQS, IronMQ, and in-memory backends.25 versions - Latest release: almost 3 years ago - 54 dependent packages - 78 dependent repositories - 1,043 stars on GitHub
github.com/vmihailenco/taskq/extra/taskqotel/v3 v3.2.9
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends7 versions - Latest release: almost 3 years ago - 1 dependent package - 2 dependent repositories - 1,048 stars on GitHub
github.com/vmihailenco/taskq/v2 v2.2.3
Package taskq implements task/job queue with Redis, SQS, IronMQ, and in-memory backends.17 versions - Latest release: over 5 years ago - 25 dependent packages - 2 dependent repositories - 1,043 stars on GitHub
github.com/vmihailenco/taskq v1.8.2
Package msgqueue implements task/job queue with in-memory, SQS, IronMQ backends. go-msgqueue is ...51 versions - Latest release: almost 7 years ago - 6 dependent packages - 3 dependent repositories - 1,043 stars on GitHub