Scala Concurrency

Open-source Scala projects categorized as Concurrency

Top 7 Scala Concurrency Projects

  • Akka

    Build highly concurrent, distributed, and resilient message-driven applications on the JVM

  • Project mention: Modern Async Primitives on iOS, Android, and the Web | dev.to | 2023-12-06

    Kotlin also has a construct for asynchronous collections/streams. Kotlin's version of AsyncSequence is called a Flow. Just as Swift's AsyncSequence builds upon prior experience with RxSwift and Combine, Kotlin's Flow APIs build upon earlier stream/collection APIs in the JVM ecosystem: Java's RxJava, Java8 Streams, Project Reactor, and Scala's Akka.

  • ZIO

    ZIO — A type-safe, composable library for async and concurrent programming in Scala

  • Project mention: The golden age of Kotlin and its uncertain future | news.ycombinator.com | 2024-01-11
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Scala Async

    An asynchronous programming facility for Scala

  • pekko

    Build highly concurrent, distributed, and resilient message-driven applications using Java/Scala

  • Project mention: Is akka still worth learning to be employable? | /r/scala | 2023-12-07

    Pekko is open source, has the same API. So there's no problem there.

  • ox

    Safe direct style concurrency and resiliency for Scala on the JVM (by softwaremill)

  • Project mention: Java21/Virtual threads, simplest the most boring scala http server stack ? | /r/scala | 2023-09-24

    I want to just block as if there's no tomorrow, no effects / hardcore FP (maybe only something like https://github.com/softwaremill/ox), what would you use? E.g. for http server / db / json ?https://github.com/com-lihaoyi/cask ?

  • libretto

    Declarative concurrency and stream processing library for Scala

  • Project mention: Synit – A Reactive Operating System | news.ycombinator.com | 2023-07-15

    I'm not sure this is actually easy to solve. The basic idea here seems to be that actors coordinate with the help of shared mutable state (the "dataspace"). At this point you're actually back to square one as synchronizing shared state is the core problem with distributed, concurrent systems…

    Given that, and the fact that this whole thingy is untyped makes me skeptical. Not even the std. ingredients like type-state, session types, behavioral types, or the like seem to get used. I also don't see linear types here, which go very well with session types / behavioral types, and can help making typing message passing easier.

    Also that this approach would be completely network transparent, as I see it, seems like a design flaw. One needs control over the various effects that can occur! Otherwise the points form "distributed systems future work" can't be solved, imho.

    And form the practical point of view: There is no Akka / Pekko based Scala implementation? I'm quite surprised, to be honest.

    Akka / Pekko is the actor runtime, and Scala is famous for it's eDSL features; besides of course its type-system, which makes thing like Libretto possible, which seems related here:

    https://github.com/TomasMikula/libretto

    Syndicate-lang looks OTOH more like the usual callback-hell.

    But like I've said, I don't get this whole thingy really. I've just clicked through some parts of the web-sites. Most likely I'm just overlooking the elephant in the room. So would be glad to learn more!

    (BTW: Very nice web-site design on all the projects. Especially nice typography. Really enjoyed this part while clicking through this stuff.)

  • batcher

    Batch similar requests together transparently

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Scala Concurrency related posts

  • Is akka still worth learning to be employable?

    1 project | /r/scala | 7 Dec 2023
  • Java21/Virtual threads, simplest the most boring scala http server stack ?

    2 projects | /r/scala | 24 Sep 2023
  • Migrate the classic transport of pekko to Netty 4 without CVEs

    1 project | /r/scala | 12 Sep 2023
  • Synit – A Reactive Operating System

    2 projects | news.ycombinator.com | 15 Jul 2023
  • Is anyone migrating from Java to Kotlin at work?

    1 project | /r/java | 9 Jul 2023
  • 6 Common Misconceptions Around Akka-HTTP / Pekko-HTTP

    2 projects | /r/scala | 6 Jul 2023
  • Reconnecting with Scala. What's new?

    7 projects | /r/scala | 24 May 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

What are some of the best open-source Concurrency projects in Scala? This list will help you:

Project Stars
1 Akka 12,936
2 ZIO 3,995
3 Scala Async 1,137
4 pekko 1,074
5 ox 311
6 libretto 191
7 batcher 18

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com