stm-queue
A real-time concurrent queue (by SamuelSchlesinger)
stm-containers
Containers for STM (by nikita-volkov)
stm-queue | stm-containers | |
---|---|---|
- | 2 | |
5 | 68 | |
- | - | |
0.0 | 4.1 | |
about 2 years ago | about 2 months ago | |
Haskell | Haskell | |
MIT License | MIT 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.
stm-queue
Posts with mentions or reviews of stm-queue.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning stm-queue yet.
Tracking mentions began in Dec 2020.
stm-containers
Posts with mentions or reviews of stm-containers.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-26.
-
Software Transactional Memory (1997)
I think you are right about STM being roughly equivalent to snapshot isolation.
What STM offers is an easy way to invent "containers for snapshotted values" aka TVars. Using them carefully may result in better scaling: https://hackage.haskell.org/package/stm-containers
-
How to achieve "Run at most one parallel async action per user"?
how about use stm-containers?
What are some alternatives?
When comparing stm-queue and stm-containers you can also consider the following projects:
stm-conduit - STM-based channels for conduits.
restricted-workers - Interactive-diagrams
stm-channelize - Transactional I/O for duplex streams
theatre - Minimalistic actor library for Haskell
stm-actor - An implementation of the actor model in Haskell using STM
stm-chunked-queues - Thread communication queues that group items/requests that occur close together in time