xsync
Concurrent data structures for Go (by puzpuzpuz)
Tasqueue
A simple, customisable distributed job/worker in Go (by kalbhor)
xsync | Tasqueue | |
---|---|---|
7 | 4 | |
917 | 353 | |
- | - | |
5.5 | 6.3 | |
about 2 months ago | 2 months ago | |
Go | Go | |
MIT License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
xsync
Posts with mentions or reviews of xsync.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-23.
-
Otter, Fastest Go in-memory cache based on S3-FIFO algorithm
The issue is Go stdlib does not have parallel hash map.
We have https://github.com/puzpuzpuz/xsync#map a different Cache line hashmap impl.
- Are there any actively maintained or official Golang libraries for managing work queues?
-
Thread-Local State in Go, Huh?
I've created a pull request to decrease the memory footprint and get rid of the unlucky distribution problem. Goroutines (think, threads) now self-organize: they detect contention via a failed CAS and change the stripe. Going to update the article accordingly to avoid confusion.
-
So long, sync.Map
Could you check the method godoc and the example in this draft PR? I'm going to finalize the PR this weekend and it would be great to hear your opinion.
- puzpuzpuz/xsync: Concurrent data structures for Go. An extension for the standard sync package.
Tasqueue
Posts with mentions or reviews of Tasqueue.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-29.
-
Are there any actively maintained or official Golang libraries for managing work queues?
asynq is pretty good. Used in prod at a lot of places. yes, the releases do lag. And some minor bugs, but other than that it could work for most use cases. There is also https://github.com/kalbhor/Tasqueue, the API is still very young, but its features are very promising.
- Show HN: Tasqueue – A simple, customisable distributed job/worker in Go
- Tasqueue : A distributed job/worker implementation with customer brokers & backends
- Distributed job/worker implementation. Code suggestions appreciated
What are some alternatives?
When comparing xsync and Tasqueue you can also consider the following projects:
taskq - Golang asynchronous task/job queue with Redis, SQS, IronMQ, and in-memory backends
Asynq - Simple, reliable, and efficient distributed task queue in Go
libCacheSim - a high performance library for building cache simulators
goque - Persistent stacks and queues for Go backed by LevelDB
Faktory - Language-agnostic persistent background job server
machinery - Machinery is an asynchronous task queue/job queue based on distributed message passing.
go - The Go programming language
tunny - A goroutine pool for Go
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.