All Projects → LyricTian → queue

LyricTian / queue

Licence: MIT license
A task queue library for Go.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to queue

psched
Priority-based Task Scheduling for Modern C++
Stars: ✭ 59 (+126.92%)
Mutual labels:  queue, task-queue
orkid-node
Reliable and modern Redis Streams based task queue for Node.js 🤖
Stars: ✭ 61 (+134.62%)
Mutual labels:  queue, task-queue
collections
📂 Golang 实现的 collections 模块,灵感来自 Python queue 和 Python collections
Stars: ✭ 27 (+3.85%)
Mutual labels:  queue, go-queue
gostalkd
sjis.me
Stars: ✭ 18 (-30.77%)
Mutual labels:  queue, task-queue
Taskq
Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends
Stars: ✭ 555 (+2034.62%)
Mutual labels:  queue, task-queue
celery.node
Celery task queue client/worker for nodejs
Stars: ✭ 164 (+530.77%)
Mutual labels:  queue, task-queue
tasq
A simple task queue implementation to enqeue jobs on local or remote processes.
Stars: ✭ 83 (+219.23%)
Mutual labels:  queue, task-queue
Huey
a little task queue for python
Stars: ✭ 3,761 (+14365.38%)
Mutual labels:  queue, task-queue
flask-redis-docker
A minimal template for dockerized flask app with redis task queue
Stars: ✭ 49 (+88.46%)
Mutual labels:  queue, task-queue
theeye-of-sauron
TheEye Dockers and QuickStart
Stars: ✭ 27 (+3.85%)
Mutual labels:  queue, task-queue
filequeue
light weight, high performance, simple, reliable and persistent queue for Java applications
Stars: ✭ 35 (+34.62%)
Mutual labels:  queue
queue-bundle
Symfony Queue Bundle
Stars: ✭ 31 (+19.23%)
Mutual labels:  queue
signmeup
Real-time application to sign up for and manage TA hours.
Stars: ✭ 97 (+273.08%)
Mutual labels:  queue
deque
A highly optimized double-ended queue
Stars: ✭ 75 (+188.46%)
Mutual labels:  queue
needle
📌📚 An extensive standalone data structure library for JavaScript.
Stars: ✭ 25 (-3.85%)
Mutual labels:  queue
quetie
🎀 Just the cutest and tiniest queue/deque implementation!
Stars: ✭ 111 (+326.92%)
Mutual labels:  queue
RabbitMQTools
PowerShell module containing cmdlets to manage RabbitMQ.
Stars: ✭ 27 (+3.85%)
Mutual labels:  queue
asynctimerqueue
Asynchronous timer queue mechanism(C++11)
Stars: ✭ 21 (-19.23%)
Mutual labels:  queue
aioScrapy
基于asyncio与aiohttp的异步协程爬虫框架 欢迎Star
Stars: ✭ 34 (+30.77%)
Mutual labels:  queue
wtsqs
Simplified Node AWS SQS Worker Wrapper
Stars: ✭ 18 (-30.77%)
Mutual labels:  queue

queue

A task queue for mitigating server pressure in high concurrency situations and improving task processing.

Build Codecov ReportCard GoDoc License

Get

go get -u -v github.com/LyricTian/queue

Usage

package main

import (
	"fmt"

	"github.com/LyricTian/queue"
)

func main() {
	q := queue.NewQueue(10, 100)
	q.Run()

	defer q.Terminate()

	job := queue.NewJob("hello", func(v interface{}) {
		fmt.Printf("%s,world \n", v)
	})
	q.Push(job)

	// output: hello,world
}

MIT License

    Copyright (c) 2017 Lyric
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].