I built Wool, a lightweight distributed Python runtime
Details
- External ID
- 47376061
- Source
- HN
- Company
- —
- Product
- I built Wool, a lightweight distributed Python runtime
- Website domain
- github.com
- Launched
- March 14, 2026
- Cohort
- —
- Upvotes
- 15
- Upvotes percentile
- 0.6845018450184502
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:26 p.m.
- Updated at
- Sept. 7, 2026, 9:26 p.m.
Description
I spent a long time working in the payments industry, specifically on a rather niche reporting/aggregation platform with spiky workloads that were not easily parallelized. To pump as much data through our pipeline as possible, we had to rely on complex locking schemes across half a dozen or so not-so-micro services - keeping a clear mental picture of how the services interacted for a given data source was a major headache. This problem always intrigued me, even after I no longer worked at the company, and lead to the development of Wool.If you've worked with frameworks like Ray or Prefect, you're probably familiar with the promise of going from script to scale in two lines of code (or something along those lines). This is essentially the solution I was looking for: a framework with limited boilerplate that facilitated arbitrary distribution schemes within a single, coherent codebase. What I was hoping for, though, was something a little bit more focused - I wasn't working on ML pipelines and didn't need much else other than the distribution layer. This is where Wool comes in. While it's API is very similar to those of Ray and Prefect, where it differentiates itself is in its scope and architecture.First, Wool is not a task orchestrator. It provides push-based, best-effort, at-most-once execution. There is no built-in coordination state, retry logic, or durable task tracking. Those concerns remain application-defined. The beauty of Wool is that it looks and feels like native async Python, allowing you to use purpose-built libraries for your needs as you would for any other Python app (with some caveats).Second, Wool was designed with speed in mind. Because it's not bloated with features, it's actually pretty fast, even in its current nascent state. Wool routines are dispatched directly to a decentralized peer-to-peer network of gRPC workers, who can distribute nested routines amongst themselves in turn. This results in low dispatch latencies and high throughput. I won't make any performance claims until I can assemble some more robust benchmarks, but running local workers on my M4 MacBook Pro (a trivial example, I know), I can easily achieve sub-millisecond dispatch latencies.Anyway, check it out, any and all feedback is welcome. Regarding docs- the code is the documentation for now, but I promise I'll sort that out soon. I've got plenty of ideas for next steps, but it's always more fun when people actually use what you've built, so I'm open to suggestions for impactful features.-Conrad
Enrichment
- Theme
- lightweight and on-device AI runtimes
- Vertical
- Horizontal
- Function
- Model & infra
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- distributed python runtime
- Manually corrected
- False
Could you build this?
No Building a custom lightweight distributed runtime involves complex distributed systems engineering, including consensus, distributed locking, fault tolerance, and network protocol design.
What it would actually take: Requires designing a custom distributed coordination protocol (or embedding Raft/etcd), socket-level networking (gRPC/ZeroMQ), cross-process serialization, and task scheduling runtimes across multiple worker nodes. Overcoming race conditions, split-brain scenarios, and backpressure at scale necessitates senior distributed systems and low-level systems engineering expertise.
Discussion
3 comments analyzed.
Competitors mentioned: Ray, Prefect
Concerns raised: Performance degradation with 20-30 workers in mesh, gRPC worker failure handling and caller notification, Remote worker factory and discovery not yet implemented
Feature requests: Remote worker factory and truly remote discovery protocol, CLI-based worker management tool
Competitors
Other products that read as similar to this one — 163 launches clear the similarity bar, closest 8 shown.
Attention rank: #55 of 164 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 133 days after the earliest competitor.
- BustAPI · hn · 2025-12-21 · 5 upvotes · similarity 0.51
- PyTogether, open-source lightweight real-time Python IDE for teachers · hn · 2025-11-03 · 5 upvotes · similarity 0.49
- I created a RAW to HDRI stacker in (mostly) Common Lisp · hn · 2026-06-05 · 35 upvotes · similarity 0.48
- I embedded 685M public texts in 32 minutes (on 8x A100, Rust, TensorRT) · hn · 2026-06-04 · 7 upvotes · similarity 0.46
- WhiskeySour · hn · 2026-04-25 · 8 upvotes · similarity 0.45
- I got tired of print(x.shape) so I built runtime type hints for Python · hn · 2026-03-18 · 7 upvotes · similarity 0.45
- Pyra · hn · 2026-04-17 · 13 upvotes · similarity 0.43
- Optimizing LiteLLM with Rust · hn · 2025-11-18 · 27 upvotes · similarity 0.42
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a model & infra tool for Fintech yet.