4 ms·
I worked on a fiber-based backend once. had fun also with mmaps and signals. lots of low-level Linux optimizations and edge case 9's pursuit.
by syngrog66 3y ago
I worked on a fiber-based backend once. had fun also with mmaps and signals. lots of low-level Linux optimizations and edge case 9's pursuit.
- kabdib 3y agoDitto (we had hand-rolled a coroutine system implemented in the most pedestrian manner you could imagine). Compared to the usual sea-of-threads and all the synchronization hell that falls out of that, a coroutine-based system was absolutely magical. Vastly fewer threading bugs. Being able to meaningfully support 500K users on a single mid-grade server was also great for the pocketbook. (When I saw the sheer scale of the Twitter servers a while back, I was gasping for air).
- syngrog66 3y agoI hear you. certain locking or date race issues just.. go away :-)