The simplicity of the modulo operator: how I scaled an inefficient solution on a legacy system

from blog ./techtipsy, | ↗ original
Your service cannot process events fast enough during peak hours. There is no obvious quick and dirty fix. Refactoring would take ages. People have been unhappy for a while now. What the hell do you do? Rough representation of the situation we were facing. Not pictured: honking and yelling. ...