Photon v0.12.1 with 50% faster eventloop
Dmitry Olshansky
dmitry.olsh at gmail.com
Mon Jul 28 19:57:41 UTC 2025
So big news is that on Linux (and soon on other platforms)
eventloop was rewritten to run faster especially in chatty apps
that do lots of smallish send/recv ping pong. The end result is
50% faster end-to-end memcached benchmark for my up and coming
hedgehog[1] server. It's now actually 15-20% faster than stock
memcached on memtier benchmark and about 50% faster on memcslap
tests I carried out, this is far from extensive benchmarking and
hedgehog is not even that optimized yet(!)
Of other notable additions is support for AArach64 on Linux. I
basically spun up virtual machine on my Mac and to my dismay
AArch64 was not supported yet so I fixed it making the code more
portable going forward.
All in all I find that fibers can deliver as long as we are not
going into millions of connections.
1. https://github.com/DmitryOlshansky/hedgehog
--
Dmitry Olshansky
CEO @ Glowlabs
https://olshansky.me
More information about the Digitalmars-d-announce
mailing list