Re:Livesite by a Thousand Spikes
by tmikaeld on Tuesday September 06, 2022 @01:07AM
(#32733100)
So, which library was sleeping for 1 second?
[ Parent
| on HN ]
Re:Livesite by a Thousand Spikes
by aybassiouny on Tuesday September 06, 2022 @02:10AM
(#32733522)
It is an internal cache implementation. The library writer _thought_ this codepath would never be triggered - or at least very rarely, but that was proven wrong on the new hardware.
In my uninformed opinion: 1. waiting for 1 second sounds like a hack 2. The application should be doing cache writes asynchronously as as not to affect overall server latencies