One Weird Trick

from blog Ben Congdon, | ↗ original
Over the past few months, I’ve been hard at work trying to reduce the latency of workflows for one of the APIs that my team owns. Last week, I discovered a small change that had a larger impact on reducing latency than 3 months of work. Somewhat embarrassingly, that change was effectively “don’t call time.Sleep”. For a bit of context, one of the...