The response time on the HalSail website became very slow on the afternoon of Saturday 23rd July 2022. This was due to very high demand for results from several major regattas running at the time. The problem resolved itself by the evening.
In order to prevent the same thing happening again, I have updated the way results are handled on the server. If somebody requests the results of a particular series they are calculated and then kept in a cache for one minute. If during that minute somebody else requests the same results, they are sent a copy from the cache without recalculating them. That relieves the pressure on the server considerably. If somebody requests those results more than a minute later, after the cache has expired, the results are recalculated.
Post a Comment