stm-containers VS restricted-workers

Compare stm-containers vs restricted-workers and see what are their differences.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
stm-containers restricted-workers
3 -
68 39
- -
4.1 0.0
3 months ago almost 10 years ago
Haskell Haskell
MIT License BSD 3-clause "New" or "Revised" 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.

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 2025-04-16.
  • Concurrency in Haskell: Fast, Simple, Correct
    2 projects | news.ycombinator.com | 16 Apr 2025
    https://hackage.haskell.org/package/stm-containers

    This library is full of STM-oriented data structures. They perform better than a simple `TVar (Map k v)`.

    It's kind of a fun trick actually. The stock Map is just a tree. The STM Map is also a tree but with TVars at each node. So this helps a lot with contention - you only contend along a "spine" instead of across the whole tree, which is O(log n).

  • Software Transactional Memory (1997)
    4 projects | news.ycombinator.com | 26 Jul 2022
    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"?
    1 project | /r/haskell | 9 Nov 2021
    how about use stm-containers?

restricted-workers

Posts with mentions or reviews of restricted-workers. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning restricted-workers yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing stm-containers and restricted-workers you can also consider the following projects:

theatre - Minimalistic actor library for Haskell

unagi-chan - A haskell library implementing fast and scalable concurrent queues for x86, with a Chan-like API

stm-chunked-queues - Thread communication queues that group items/requests that occur close together in time

streamly - High performance, concurrent functional programming abstractions

stm-incremental - A very simple interface for incremental computation using STM in Haskell.

async-dejafu - Systematic concurrency testing meets Haskell.

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured