5 ms·
That surprised me too. We handle that amount of HTTP requests per second, and you don't really need a lot of infrastructure to do it. Something is wrong here. I
by dirtydroog 7y ago
That surprised me too. We handle that amount of HTTP requests per second, and you don't really need a lot of infrastructure to do it. Something is wrong here. I bet it's all synchronous code and capacity is being wasted on waiting. Also, I doubt they're tailoring each individual SMS so there are likely to be efficiencies to be had here too.
- adwww 7y agoInstead of betting, you could read the code and tell us. https://github.com/alphagov/notifications-api https://github.com/alphagov/notifications-api
- dirtydroog 7y agoIs it this bit? https://github.com/alphagov/notifications-api/blob/e386d2ac38b44ecb341599189befd450def3d73f/app/clients/sms/firetext.py#L85 https://github.com/alphagov/notifications-api/blob/e386d2ac3... I'd like to clarify that the remark about load handling was aimed at your SMS gateway providers.