Posts from 20 July 2020
HTTP in Swift, Part 11: Throttling
I once worked on an app that used a
Timer
to periodically ping a server with a status update. In one build of the app, we noticed that the status server started experiencing CPU spikes, eventually culminating in it not being able to handle any more requests.