go-queue 前一久看到一篇文章美团高性能队列——Disruptor,时候自己琢磨了一下;经过反复修改,实现了一个相似的无锁队列EsQueue,该无锁队列相对Disruptor,而言少了队列数量属性quantity的CAP操作,因此性能杠杠的,在测试环境:windows10,Core(TM) i5-3320M CPU 2.6G, 8G 内存,go1.8.3,下性能
syndtr(https://github.com/syndtr) - LevelDB port to Go bogdanovich(https://github.com/bogdanovich/siberite) - Server based queue for Go using LevelDB connor4312(https://github.com/connor4312) - Recommending BoltDB/LevelDB, helping with structure ...
go get -u github.com/bxcodec/goqueue Example package main import ( "context" "encoding/json" "fmt" "time" amqp "github.com/rabbitmq/amqp091-go" "github.com/bxcodec/goqueue" "github.com/bxcodec/goqueue/consumer" "github.com/bxcodec/goqueue/interfaces" "github.com/bxcodec/goqueue/midd...
Simple, reliable & efficient distributed task queue in Go 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. Highlevel overview of how Asynq works: Client puts tasks on a que...
RabbitMQ as backend for Queue Package. Contribute to golang-queue/rabbitmq development by creating an account on GitHub.
go-queue 在 segmentio/kafka-go 这个包基础上,使用 go-zero 进行了上层统一封装,让开发人员更容易上手,将更多时间聚焦在开发业务上。https://github.com/zeromicro/go-queue 1.1 参数简介 Brokers: kafka 的多个 Broker 节点 Group:消费者组 Topic:订阅的 Topic 主题 ...
⏪️ Go package providing multiple queue implementations. Developed in a thread-safe generic way. - adrianbrad/queue
Go31.1k4.1k zero-apizero-apiPublic zero-api is a RESTful API description language. 133 go-queuego-queuePublic Kafka, Beanstalkd Pub/Sub framework. Go774138 zero-contribzero-contribPublic A collection of extensions and tools for go-zero. ...
package main import ( "fmt" "github.com/AkihiroSuda/go-netfilter-queue" "os" ) func main() { var err error nfq, err := netfilter.NewNFQueue(0, 100, netfilter.NF_DEFAULT_PACKET_SIZE) if err != nil { fmt.Println(err) os.Exit(1) } defer nfq.Close() packets := nfq.GetPackets(...
=nil{log.Fatalf("could not enqueue task: %v",err) }log.Printf("enqueued task: id=%s queue=%s",info.ID,info.Queue)// ---// Example 2: Schedule task to be processed in the future.// Use ProcessIn or ProcessAt option.// ---info,err=client.Enqueue(task,asynq.ProcessIn(24*time...