View Posts for Software Engineering
-
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...
-
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...
-
AI Based Social Orchestration Project
This is something I've been thinking about for a long time. A way to manage multiple social media accounts for marketing purposes where you could schedule posts for each social network. Posts would come from somewhere, for me right now it is an AI Agent team with human editor/approver, but each post would be tailored to each social network. This weekend, I got closer to it baby, hot damn!
I just tested content generation, image Curation and human approval with scheduling this weekend. There are four AI Agent...
-
Dev Log, Hi Stakes Markets Game: Android Version is Live
Google Play Link
App Store Link
Official Website
Google reviewed it quickly and approved. Apple on the other hand twiddled their thumbs then came back with a rejection based on the idea of needing financial license or whatever. Ridiculous. No matter how many times you mention and put into your terms of service that this a game and not reality nor does it even claim to 100% match reality, they came back with a bull sht excuse to reject
Not once but twice now. This is why the walls for app stores need to be broke...
-
Dev Log, Hi Stakes Markets Game: Systems Admin, Bug Smashing and Tweaks
Another week another update. I've been finding bugs, adding more logging and tweaking Hi Stakes Markets.
I validated shop purchases for both items and subscriptions work. I have a custom built ledger that reads from another custom built event logging service for essentially webhooks and any other external service. This week was the week where validation happened there and bam, it works. It didn't work the first time because of major but not fatal errors, but now it works. It's amazing because it is a shared ...
-
RZMQ with IO-Uring is Extremely Fast and It's the Only ZeroMQ Implementation with IO-URing.
rzmq is now on 0.5.13 available on crates.io. This release adds an option to disable automatic delimiter for dealer/router sockets for interoperability purposes, it was a request.
0.5.12 migrated the io-uring implementation to use a "framer" pattern to encapsulate common operations and share code between the regular socket actor and io-uring. It's faster and more efficient.
rzmq's throughput is quite amazing really. I tested, with io-uring and TCP CORK enabled, 200k/responses per second on my Framework Laptop...
-
Dev Log, Hi Stakes Markets Game: Feature Complete
Today marks the day Hi Stakes Markets Game is feature complete.
It was a wild ride, the first version of this bad boy was in 2022 which I decided to go into Wolfram Alpha and Mathematica to devise asset pricing equations for stocks then commodities. I kept those in notes and collected a lot of information about financial markets. Launched a internal alpha accessible anywhere in 2023 then withered away, I opened the game every once in a while to trade a bit, but it was pretty boring.
2025 came and Gemini 2.5 ...