nowfound

Work · May 8, 2015

Asynchronous and background parallel tasks in Elixir with Poolboy

An example and brief explanation on how to use Poolboy to manage and pool workers in Elixir - thestonefox/elixir_poolboy_example

Asynchronous and background parallel tasks in Elixir with Poolboy launched on May 8, 2015 with 5 votes, #1,831 of 3,670 launches that month and more than 50% of that year's launches. The site was still online in September 2026, 11 years on.

Does a similar job

all alternatives →
  • Async tasks in 350 lines of C2024 · github.com · ▲146

    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…

  • Shpool, a Lightweight Tmux Alternative2024 · github.com · ▲323

    shpool is a terminal session persistence tool developed internally at google to support remote workflows, which we have open sourced.

  • Whirlwind – Async concurrent hashmap for Rust2024 · github.com · ▲140

    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…

  • Flow – A dynamic task engine for building AI agents2024 · github.com · ▲160

    I think graph is a wrong abstraction for building AI agents. Just look at how incredibly hard it is to make routing using LangGraph - conditional edges are a mess. I built Laminar Flow to solve a common frustration with traditional workflow engines - the rigid need to predefine all node connections. Instead of static DAGs, Flow uses a dynamic task queue system that lets workflows evolve at runtime. Flow is built on 3 core principles: * Concurrent Execution - Tasks run in parallel automatically * Dynamic Scheduling - Tasks can schedule new tasks at runtime * Smart Dependencies - Tasks can…

  • Asyncpal: Preemptive concurrency and parallelism for sporadic workloads2024 · github.com · ▲28

    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…

  • Bringing multithreading to Python's async event loop2024 · github.com · ▲82

    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

More work this month

the category →

Source: Show HN post ↗

Launched alongside, May 2015

the whole month →
  • Pexels 2.0▲1,725

    The best free stock photos in one place

    Work · 2015 · pexels.com

  • Submit.co▲1,092

    Find where to get press coverage for your startup

    Life & fun · 2015 · submit.co

  • Tesla home battery

    Life & fun · 2015 · tesla.com

  • Lily▲865

    A drone with a camera that follows you. Throw it in the air.

    Life & fun · 2015 · lily.camera

  • The fastest way to schedule a one-to-one meeting

    Work · 2015 · sunrise.am

  • TP

    Life & fun · 2015 · ephemeralp2p.durazo.us