tj.ie · 4d · discuss
The other day, Swatcher’s server spent about fourteen minutes pinned at 99% CPU. Something was asking for about 4,700 pages a minute, all of them from the Studio page. Nearly 19,000 requests timed out or errored before it stopped. This is how I found out what it was, how it kept coming back, and what finally worked. #What the traffic looked like Each request was a guest visit to a Studio URL like /studio?walls=…&c=…, the link that opens a room painted in a given pair of colours. Swatcher has thousands of paints, so the number of possible pairs is enormous....