nowfound

Dev tools · alternatives · 2026

24 alternatives to Asyncpal: Preemptive concurrency and parallelism for sporadic workloads

Hi HN ! Alex here. I'm excited to show you Asyncpal (https://github.com/pyrustic/asyncpal), a Python library for parallelism [1] and preemptive concurrency [2] tailored for sporadic workloads [3]. I've been working on a private project where it would be convenient to have asynchronous versions of some operations without using `async/await` [4]. Besides `async/await`, which represents cooperative concurrency via the `asyncio` package, Python also provides preemptive concurrency through its `threading` package. Additionally, the `concurrent.futures` package builds…

Asyncpal is a Python library that provides parallelism and preemptive concurrency designed for sporadic workloads. It offers an alternative to async/await syntax by enabling asynchronous operations through threading… Below are 24 products that do a similar job, ranked by how close each is in meaning and then by launch-day votes. Asyncpal: Preemptive concurrency and parallelism for sporadic workloads launched in 2024; newer entries below may have overtaken it.

  1. 1

    Utility function to parallelise pipelines of Python asyncio iterators/generators - michalc/asyncio-buffered-pipeline

    2020 · github.com · its alternatives →

  2. 2

    This project explores the integration of multithreading into the asyncio event loop in Python. While this was initially built with enhancing CPU utilization for FastAPI servers in mind, the approach can be used with more general async programs too. If you’re interested in diving deeper into the details, I’ve written a blog post about it here: https://www.neilbotelho.com/blog/multithreaded-async.html

    2024 · github.com · its alternatives →

  3. 3

    Tasks are a primitive for asynchronous programming and an alternative to working with threads directly. Instead of creating a thread, performing work, then waiting on it using synchronization primitives, you only define a unit of work and let a scheduler decide when and where to execute it. The threads that the scheduler uses are created once and reused for many tasks throughout the program's lifetime. In most cases, creating and executing a task requires not even a single syscall and is a significantly faster operation than creating a thread, resulting in lower latency. Furthermore, tasks…

    2024 · github.com · its alternatives →

  4. 4

    WebRTC and ORTC implementation for Python using asyncio - jlaine/aiortc

    2018 · github.com · its alternatives →

  5. 5

    Hey HN, this is Will and David from Fortress (https://news.ycombinator.com/item?id=41426998). We use a lot of async Rust internally, and created this library out of a need for an async-aware concurrent hashmap since there weren’t many available in the Rust ecosystem. Whirlwind is a sharded HashMap with a fully asynchronous API. Just as dashmap is a replacement for std::sync::RwLock, whirlwind aims to be a replacement for tokio::sync::RwLock. It has a similar design and performance characteristics to dashmap, but seems to perform better in read-heavy workloads with tokio's…

    2024 · github.com · its alternatives →

  6. 6
  7. 7
  8. 8

    Concurrency library for C (coroutines). Contribute to tidwall/neco development by creating an account on GitHub.

    2024 · github.com · its alternatives →

  9. 9

    Hello and happy new year! We're excited to introduce the Pyper package for concurrency & parallelism in Python. Pyper is a flexible framework for concurrent / parallel data processing, following the functional paradigm. Source code can be found on [github](https://github.com/pyper-dev/pyper) Key features: Intuitive API: Easy to learn, easy to think about. Implements clean abstractions to seamlessly unify threaded, multiprocessed, and asynchronous work. Functional Paradigm: Python functions are the building blocks of data pipelines. Let's you write clean, reusable…

    2025 · github.com · its alternatives →

  10. 10

    Tornado HTTP/2 Client. Contribute to vladmunteanu/th2c development by creating an account on GitHub.

    2018 · github.com · its alternatives →

  11. 11

    Actor runtime and distributed systems framework for Rust - LeonHartley/Coerce-rs

    2019 · github.com · its alternatives →

  12. 12

    Single header stackful cross-platform coroutine library in pure C. - edubart/minicoro

    2021 · github.com · its alternatives →

  13. 13

    Non-preemptive Thread Hierarchy Manager. Contribute to gueststar/nthm development by creating an account on GitHub.

    2020 · github.com · its alternatives →

  14. 14

    Python3.5 async crawler example with aiohttp and asyncio - mehmetkose/tangrowth

    2016 · github.com · its alternatives →

  15. 15

    :copyright: Concurrent Programming Library (Coroutine) for C11 - sharow/libconcurrent

    2016 · github.com · its alternatives →

  16. 16

    Python ports of useful syscalls, using asynchronous I/O. - zacharyvoase/teena

    2012 · github.com · its alternatives →

  17. 17

    Dead easy interface for executing many HTTP requests asynchronously. Also provides helper functions for executing embarrassingly parallel async coroutines. - joshlk/many_requests

    2020 · github.com · its alternatives →

  18. 18

    Hi! I've built this because I kept reaching for Celery for simple scheduled tasks and it felt like overkill. I just needed "run this function every hour" or "daily at 9am", not distributed workers. So it's decorators for scheduling (@scheduler.every(5).minutes, @scheduler.daily.at("09:00")), state saves to JSON so jobs survive restarts, and there's an optional FastAPI dashboard if you want to see what's running. No Redis, no message broker, runs in-process with your app. Trade-off is it's single process only — if you need distributed workers, stick with Celery.

    Jan 2026 · github.com · its alternatives →

  19. 19

    A declarative library to make blocking code play nicely with the tornado ioloop - bobpoekert/tornado-threadpool

    2012 · github.com · its alternatives →

  20. 20

    Asynchronous C networking library with HTTP server, WebSockets, reverse proxy, HTTP/2 gRPC client, TLS and event loop. - Softmotions/iwnet

    2022 · github.com · its alternatives →

  21. 21

    I started building a couple of years ago because I found no easy existing solution to build Slack bots that can be composed from/organized into plugins. Existing libraries like Bolt make it pretty easy to develop Slack bots, but hard to organize and scale the code base of your bot. I was also missing some crucial features such as scheduling actions for your bot. So I wrote my own framework! I recently rewrote the complete framework to make use of asyncio and the newest Slack SDK Let me know what you think!

    2022 · github.com · its alternatives →

  22. 22

    Composable async primitives with cancelation, control over scheduling, and coroutines. Superior replacement for JS Promises. - mitranim/posterus

    2017 · github.com · its alternatives →

  23. 23

    an extendable library that can wait for stuff to happen in a synchronous-but-not-blocking manner - uri-chandler/wait-for-stuff

    2016 · github.com · its alternatives →

  24. 24TC

Also compare

Ranked by how close each launch is in meaning, then by votes. Prices were read from each product’s own site when checked and can change. Refine with your own description →