r/DistributedComputing • u/OtherwisePush6424 • Sep 24 '26
How to Combine Circuit Breakers, Bulkheads, and Rate Limiters
r/DistributedComputing • u/OtherwisePush6424 • Sep 24 '26
r/DistributedComputing • u/OtherwisePush6424 • Sep 23 '26
r/DistributedComputing • u/nilukush • Sep 18 '26
Netflix has reworked its Conductor workflow orchestration engine to address growing scale across the company. Conductor now supports roughly 200,000 workflow definitions across 150 applications and executes about 420 million workflows per month. The redesign increases the supported workflow size from approximately 2,500 to 30,000 tasks while reducing p99 workflow evaluation latency by about 40%.
r/DistributedComputing • u/OtherwisePush6424 • Sep 17 '26
r/DistributedComputing • u/OtherwisePush6424 • Sep 14 '26
r/DistributedComputing • u/incredible-ishu • Sep 11 '26
I've been building a distributed KV store from scratch in Java (Raft, NIO, custom wire protocol, no external runtime deps in the core) mostly to understand the internals instead of just using etcd or Raft-as-a-library. The part that took the longest to get right wasn't consensus — it was crash recovery of the write-ahead log.
The naive plan is: write a record, write its length, and on restart replay records until you hit garbage. That breaks the moment a crash lands mid-write. You can end up with a record whose length field says "128 bytes" but only 40 bytes actually made it to disk before the power/process died — the tail is torn, not just missing. Trusting the length field alone means you either replay corrupted garbage as if it were a real record, or you silently drop a suffix of valid records after it because you bailed out at the first sign of trouble.
What ended up working: every record carries a CRC32 alongside its length, and replay treats a checksum mismatch as "this is the torn tail, stop here and truncate" rather than "this is corruption, panic." That distinction — expected torn tail vs. actual corruption — is really a statement about where in the write path a crash was allowed to land, which took a few iterations to reason about correctly. I ended up testing this with a deterministic-simulation harness that injects process kills at controlled points in the write path so the interleavings are reproducible instead of "run it in a loop and hope it flakes."
Repo (MIT, Java 21, hand-rolled Raft + NIO, still evolving): https://github.com/Utkarsh-patel26/Kronos
Curious how others have handled this — do you also lean on a checksum-per-record scheme, or something like a fixed-size trailer/footer that's cheaper to validate on replay?
r/DistributedComputing • u/Archetechmes • Sep 07 '26
r/DistributedComputing • u/vorjdux • Aug 27 '26
Context: The ZeroMQ ecosystem currently lacks a unified, deterministic benchmarking harness to strictly evaluate latency, concurrency overhead, and throughput across different ZMTP implementations (C++ libzmq, pure-Rust async ports, Python bindings, etc.). Relying on isolated micro-benchmarks introduces systemic bias, failing to accurately account for kernel I/O paths, reactor thread contention, and zero-copy vs. copy-based buffer management under high-density distributed loads.
Decision: I developed ZMQ Arena (Source) to standardize this evaluation. This harness enforces fair-play measurement across runtimes and language boundaries, focusing entirely on execution costs, context switching, and raw throughput limits without application-layer interference.
Technical Scope & Metrics:
Latency Analysis: P50/P90/P99 latency distribution across both loopback and physical network boundaries.
Concurrency: Stress-testing async reactor overhead (e.g., epoll / io_uring polling mechanisms) versus OS thread pool scaling.
Memory Allocation: Evaluating the impact of memory footprints and ABI boundaries when switching between native runtimes and FFI wrappers.
Trade-offs & Known Consequences: Measuring loopback versus physical network I/O presents an inherent trade-off in syscall amortization. Loopback execution can collapse the kernel path, occasionally skewing batching mechanics natively utilized by interfaces like io_uring or IOCP. ZMQ Arena exposes these bottlenecks explicitly rather than abstracting them away, allowing engineers to analyze exactly where the overhead is introduced in the stack.
This harness is built for engineers dealing with critical systems, distributed messaging, and high-frequency data pipelines where deterministic performance is a hard requirement.
If you are dealing with similar infrastructure, review the methodology, replicate the benchmarks, or submit PRs for unrepresented bindings/runtimes.
r/DistributedComputing • u/GlassMarketing6760 • Aug 26 '26
I’ve been experimenting with an idea: instead of a machine being permanently tied to one distributed-compute client, a local controller could decide when hardware is idle and which compatible workload it should run.
Current prototype only has one workload, so this isn’t a finished multi-network router yet.
But the architecture is:
hardware → local availability/safety checks → workload router → compatible network
I’m curious whether people who already run distributed computing projects think this is useful or whether you’d rather dedicate hardware manually.
Would especially appreciate criticism around scheduling, trust, and resource controls.
r/DistributedComputing • u/OtherwisePush6424 • Aug 11 '26
A practical overview of designing file uploads and object storage for production: partial failures, database consistency, large uploads, presigned URLs, CDN caching, cleanup, and recovery.
r/DistributedComputing • u/UrafuckinNerd • Aug 10 '26
I’m probably the last tech savy person in this group, but with help, I was able to set it up. It’s currently configured to need 3 separate computers to verify one work unit. I was looking for someone (more specifically with an Nvidia gpu) to validate my work units. Below are links to the site project, Git, and discord. I figure a vast majority of us are science nerds and we can knock out this testing to hopefully, at some point, get this on the whitelist. Lettuce is basically an easier to set up BOINC. This will get us involved closer with researchers. Anyway, come validate my work units. (Note: there are also CPU only projects.)
Git/download: https://github.com/jring-o/lettuce-compute
Project: https://compute.scios.tech/leafs
Discord testing: https://discord.com/channels/211637812968161280/1517249245596614686
r/DistributedComputing • u/Glittering-Click-48 • Aug 08 '26
r/DistributedComputing • u/lucian-12 • Aug 07 '26
r/DistributedComputing • u/lucian-12 • Jul 21 '26
r/DistributedComputing • u/OtherwisePush6424 • Jul 19 '26
Drift, ordering assumptions, deadline propagation, and expiration semantics under real load.
r/DistributedComputing • u/Middlewarian • Jul 18 '26
r/DistributedComputing • u/david-delassus • Jul 13 '26
r/DistributedComputing • u/wufuheng • Jul 12 '26
I recently published a technical book, Distributed AI Systems, which summarizes my experiences in AI over the past 10 years, from research and training to optimization, inference, and cloud deployment. I started writing it in the second half of last year, and it took almost a year to complete, with many revisions made later due to the rapid pace of development in the industry. But it's finally published. The book on Amazon is titled Distributed AI Systems: A practical guide to building scalable training, inference, and serving systems for production AI.
Book is here: 🔗 https://www.amazon.com/dp/1807301710/
The publisher asked me to find some people to review my work. Do you know of any such people here? If so, please reply to me. Thank you.

r/DistributedComputing • u/DisastrousNinja911 • Jul 09 '26
r/DistributedComputing • u/lucian-12 • Jul 07 '26
r/DistributedComputing • u/OtherwisePush6424 • Jul 01 '26
What happens when network calls stop behaving like clean request/response interactions.
Timeouts, retries, duplicate side effects, idempotency, backoff, circuit breakers, load shedding, degraded states, and observability.
r/DistributedComputing • u/badcryptobitch • Jun 28 '26
r/DistributedComputing • u/lucian-12 • Jun 24 '26
r/DistributedComputing • u/DisastrousNinja911 • Jun 19 '26
A bit of background about me.
“I have about 4 years of experience primarily working on traditional software development building enterprise apps. While the career path is stable now ( don't know if AI takes over), I find myself deeply interested in systems architecture, low-level optimization, and parallel computing. However, giving up a full-time income to go back to school feels like a massive investment. Is a Master's degree the right vehicle for this transition, or are there better ways to break into the industry? I'd love to hear from anyone working in HPC, climate modeling, quantitative finance, or scientific computing."
All I want is to future proof my career.