4 ms·
If you want to minimize latency - you got for busy waiting. It's a common thing for HFT
by xxs 4y ago
If you want to minimize latency - you got for busy waiting. It's a common thing for HFT
- yvdriess 4y agoNot just while(true) busy wait, running the hot path continuously and keeping the 'actually send packet' flag unset. Gotta keep them caches hot. Or, busy wait in a hardware state using MONITOR / MWAIT
- hot_gril 4y agoMy memory is hazy, but I remember busy-waiting being a common theme in that code. There was no sleep. I didn't sleep either.