stm-containers VS stm-chunked-queues

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

stm-chunked-queues

Thread communication queues that group items/requests that occur close together in time (by KholdStare)
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
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
stm-containers stm-chunked-queues
3 -
71 2
- -
4.1 0.0
6 months ago about 11 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?

stm-chunked-queues

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

We haven't tracked posts mentioning stm-chunked-queues yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

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

theatre - Minimalistic actor library for Haskell

stm-queue-extras - Extra utilities for STM queues

conceit - Concurrently + Either

stm-conduit - STM-based channels for conduits.

stm-channelize - Transactional I/O for duplex streams

stm-hamt - STM-specialised Hash Array Mapped Trie

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
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