stm-containers VS ttrie

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

ttrie

A contention-free STM hash map for Haskell (by mcschroeder)
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 ttrie
3 -
68 14
- -
4.1 1.8
3 months ago over 3 years 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.

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?

ttrie

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

We haven't tracked posts mentioning ttrie yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

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

theatre - Minimalistic actor library for Haskell

threaded - Manage concurrently operating threads without having to spark them

restricted-workers - Interactive-diagrams

pulse - Haskell: Synchronize multiple actions to be triggered as parallel as possible

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

gochan - Go-style channels for Haskell (WIP)

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