View Posts
-
Orka 0.2.0: Simpler with the Same Functionality
Orka is an asynchronous, pluggable and type-safe workflow engine for Rust, designed to orchestrate complex multi-step business processes with robust context management and conditional logic. It simplifies the development of intricate, stateful workflows by providing a clear structure for defining steps, managing shared data, handling errors consistently, and enabling dynamic execution paths, thereby improving code organization and maintainability for complex operations.
Orka 0.2.0 is...
-
Dashmap is a Curse in "High Performance" Data Structures
High Performance is elusive, not because you can't reach it, but because the sacrifices you must make to get there. There's always some hidden sacrifice you must make, going fast is not cost-free no matter what library sells that snake oil to you.
Dashmap, a self declared high perf map, hands you a footgun, the worst kind of footgun in a concurrent hashmap. It doesn't matter what experience level you are, you will shoot yourself in the foot.
The footgun is in the form of a shard lock whenever you grab a value...
-
rzmq 0.5.24: Another Performance LEAP, Doubled Throughput (17 GB/s) on io_uring with sharded workers
rzmq 0.5.24: crates.io | Github - Async, Pure Rust ZeroMQ with Leading Performance on Linux
After some experimenting, I found that io uring was maxed out on a single thread meaning multiple connections could saturate it, so it's been a long time coming, io_uring sharded workers is here! Yes, rzmq's io_uring is no longer one single thread, it's multiple threads now and meets or beats Tokio in throughput.
I knew there was always more throughput on the table because Tokio could do it and I always had a plan to h...
-
You Can Create Software Quickly Now, But NO GUARANTEES
I'm not saying that there were guarantees before, but given the speed of creation of software these days, expect many many many bugs and demotivated maintainers.
It's never the intention of the human or AI to add bugs to the software, but given the murkiness of how software is created where you go through a first version then iteration after iteration in hopes of bug free USEFUL software, well let's just say most AI-assisted or driven software development won't go through this because it's hard to find users...
-
Same Shit, Different Library: Illusion of Performance
Once in a while a new library comes up and talks how they are high performance, but that's only because they are new and naive. Not many people know about it, so they are allowed to skip on ahead with shortcuts. They've benchmarked and benchmarked, then that effort goes to the wayside as soon as reality catches up. Bugs appear left and right and now they have to value correctness over performance. More people see the old benchmarks and are fooled into thinking, yeah must be fast. Eventually, people do their...
-
rzmq 0.5.19: MASSIVE Performance, delivering 16 GB/s Throughput, a 100% increase over 0.5.18, and Correctness Updates
rzmq 0.5.19: crates.io | Github - Async, Pure Rust ZeroMQ with Leading Performance on Linux
In my earlier post about what was coming in rzmq 0.5.19, I said it would be an 8GB/s update to 11GB/s update, ha I was wrong and it went up to an INSANE 16.2 GB/s! After much optimization and much pain coming from bugs from both rzmq and fibre, I deliver the highest throughput ZeroMQ library in the world.
Also in this update are more socket options like enabling ZMTP 2.0 for old devices. Someone had it implemented in t...
-
rzmq Update: Continuing Tokio and io-uring Restructure for Performance and Correctness
I've been dedicating time to make rzmq much faster more cpu/memory efficient across the board and more correct. 0.5.17 was step up and 0.5.18 was a minor but good performance update
Upcoming version 0.5.19 is shaping up to be a huge performance and correctness update due to fibre bug fixes and efficiency and performance updates (batching) and general rzmq restructuring. Many bugs were found and squashed. Data flows are being simplified and less generalized. io-uring was substantially improved. There's more c...
-
rzmq 0.5.17 is out with Massive Performance Updates to IO-uring Path
Performance Highlight
TCP Loopback (
tcp://127.0.0.1), 10-second window, release build on an AMD Ryzen 5 7640U- 2.2 M msg/s — PushPull · 64 B · Linux · io_uring + cork · 4 workers
- 6.6 GB/s — PushPull · 32 KB · Linux · io_uring + cork + multishot + zerocopy · 8 workers
This, I imagine, is near saturation levels on a TCP Loopback pretty much limited by CPU/Memory Bandwidth. No other ZeroMQ library achieves this insane level of throughput. None.
The IO-uring path was simplified, write paths using far more e...
-
Gemini 3.5 Flash is Out and Holy Shit It is Good
3.5 Flash is way better than Gemini 3.1 Pro. Unbelievable, it is so fast and accurate. This should be 3.5 Pro while the upcoming 3.5 Pro should be called 3.5 Ultra. It's time to retire the Flash name and move up the barrier. Just Pro and Ultra models.
I used 3.5 Flash to tackle a bug in Fibre where MPMC would leak memory due to the way it handles and doesn't handle adding and removing waiters quickly. The ways that 3.1 Pro and Claude did always came up with a regression in performance 50% - 75% drop in bench...
-
Dev Log, Hi Stakes Markets Game: Real Estate Market
Hi Stakes Markets Game Official Site
I've been thinking about how to add real estate markets to Hi Stakes Markets Game (HSMG). As many people understand it, it is about owning homes, building structures and land. What most people don't understand is all the mechanics that go into it and don't care for most aspects, they just want to own, maintain and get income. "Be an owner, not a renter."
Marketplace: Focuses on the simplest aspects of the Real Estate Market that stays true to what HSMG is all about. Player...