frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: I built Wool, a lightweight distributed Python runtime

https://github.com/wool-labs/wool
4•bzurak•2h ago
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

Comments

takahitoyoneda•1h ago
As a solo dev, I usually avoid distributed Python runtimes entirely because managing the infrastructure overhead of Celery or Ray is a massive time sink. If Wool genuinely abstracts away those complex locking mechanisms without requiring a heavy Redis or Postgres cluster just to manage state, that is a huge win for smaller teams. How does your scheduler handle node failures mid-execution when exactly-once processing is strictly required?
bzurak•1h ago
I wouldn't say it abstracts the locking mechanisms away - if you need synchronization in your app, it's probably best to leave how that's achieved up to the user - what it does is make it possible to contain your business logic end-to-end in a single application/codebase without obfuscating it with distribution boundaries (e.g., calls out to other REST APIs or message queues). There are also still worker nodes to manager, BUT the architecture is much simpler in the sense that there are only workers to deal with - no control plane, scheduler, or other services involved.

Regarding failures - Wool workers are simple gRPC services under the hood, and connections are long-lived HTTP2 connections that persist for the life of the request. Worker-side failures simply manifest as Python exceptions on the client side, with the added nicety of preserving the FULL stack trace across worker boundaries (achieved with tbpickle). A core tenet of Wool is that it makes no assumptions about your workload - I leave it up to you to write a try-catch block and handle exceptions in a manner appropriate to your use case. The goal is to keep Wool as unopinionated about this sort of thing as possible.

I'm not sure about your specific needs, but I'm considering adding a simple CLI-based worker management tool for users that don't want or need a full service orchestrator like Kubernetes in their stack.

Formulas for Pi

https://mathworld.wolfram.com/PiFormulas.html
1•dap•17s ago•0 comments

Meta weighing 20% workforce layoffs to offset AI infrastructure costs: report

https://www.foxbusiness.com/technology/meta-eyes-massive-20-workforce-cut-ai-infrastructure-costs...
1•1vuio0pswjnm7•1m ago•0 comments

Updated Debian 13: 13.4 released

https://www.debian.org/News/2026/20260314
1•allddd•2m ago•0 comments

Show HN: Data-anim – Animate HTML with just data attributes

https://github.com/ryo-manba/data-anim
1•ryo-manba•2m ago•0 comments

Analyzing OpenClaw's 3-layer defense against prompt injection

1•aunicall•3m ago•0 comments

Vesper – MCP server that lets AI agents handle ML dataset workflows autonomously

https://getvesper.dev/
1•sultanchek•7m ago•1 comments

Show HN: Pantr AI Creative Studio

https://www.pantr.co/
1•andrevaillant•7m ago•0 comments

Debauit Announced as Debian Source Package Auditor

https://www.phoronix.com/news/Debian-debaudit
2•maxloh•9m ago•0 comments

Show HN: FalconAI – AI-Powered Smart TV Streaming, Search and Voice Control

https://www.falconai-tv.com/
2•erind_musliu•10m ago•3 comments

DroneClaw: Flying a Drone with Voice Commands

https://twitter.com/Viewforge/status/2032800448269398081
1•GPUboy•11m ago•0 comments

The AI Powering Firefox's Shake to Summarize

https://blog.mozilla.org/en/firefox/firefox-ai/ai-powering-firefox-shake-to-summarize/
1•bundie•11m ago•0 comments

Zoë Kravitz: "Bluetooth does not work" [video]

https://www.youtube.com/watch?v=6iva-qFZ29c
1•sgt•13m ago•0 comments

KDE resurrects feature it killed in Plasma 5.21

https://www.neowin.net/news/good-news-for-kde-plasma-users-this-dead-feature-is-finally-being-res...
1•bundie•15m ago•0 comments

Why physical AI is becoming manufacturing's next advantage

https://www.technologyreview.com/2026/03/13/1134184/why-physical-ai-is-becoming-manufacturings-ne...
1•Brajeshwar•15m ago•0 comments

BunkerVM – Run AI agents in isolated Firecracker microVM sandboxes

https://github.com/ashishgituser/bunkervm
2•ashishch111•17m ago•0 comments

Vitest vs. Jest

https://howtotestfrontend.com/resources/vitest-vs-jest-which-to-pick
1•howToTestFE•17m ago•1 comments

Ask HN: Would this eliminate bots for good?

1•piratesAndSons•17m ago•2 comments

The most SHAMELESS structural manipulation of a index I've ever seen

https://substack.com/@georgenoble/note/c-226667679
3•Zigurd•18m ago•0 comments

Show HN: Autoresearch-WebGPU uses agents to iteratively train LMs in the browser

https://twitter.com/gucaslelfond/status/2032824470209986746
1•lucasgelfond•19m ago•0 comments

Nighttime tornadoes are 2.5 times more deadly

https://www.accuweather.com/en/severe-weather/nighttime-tornadoes-are-2-5-times-more-deadly-6-dan...
2•rustoo•19m ago•0 comments

Scaling Postgres Connections with Pgbouncer

https://planetscale.com/blog/scaling-postgres-connections-with-pgbouncer
1•bddicken•20m ago•0 comments

Show HN: Track Congress, superinvestors, and insider trades from SEC

https://super-investor.com
1•super_investor•21m ago•0 comments

Show HN: Kremis – Rust graph DB; every answer is fact, inference, or unknown

https://github.com/TyKolt/kremis
1•TyKolt•24m ago•1 comments

Show HN: I added barcode scanning to my AI pricing app – 92% cheaper per scan

https://underpricedai.com
1•fkratzer•24m ago•0 comments

Show HN: A body-mass weighted caffeine limit simulator for developers

https://thehealthytechpro.com/daily-caffeine-intake-calculator/
1•thehealthytech•26m ago•1 comments

A Hard Reset, and What Comes Next (2026)

https://digg.com/
3•Balgair•26m ago•1 comments

Agentic Commerce

https://robonomics.substack.com/p/agentic-commerce-202603
1•gmays•27m ago•0 comments

LLM Tracing

1•skele•27m ago•1 comments

Taylor Soper Named Director of Seattle's AI House

https://www.geekwire.com/2026/taylor-soper-named-director-of-seattles-ai-house-after-remarkable-r...
1•mooreds•30m ago•0 comments

The Programmers's Guide to Co-Designing with Agents

https://davidwhitney.co.uk/blog/2026/03/11/co_design_with_agents/
1•mooreds•30m ago•0 comments