News for hackers. Stuff that matters.
Re:Webhooks do’s and dont’s: what we learned after integrati... by akamaozu on Wednesday November 23, 2016 @10:42PM (#13027848)
This.

Previous devs were doing expensive things whenever we received webhooks. This meant we DoS'd ourselves every time a sizable amount of webhooks came our way.

Set up a tiny server on Heroku that received the webhooks and put them on a queue. A worker with a configurable concurrency level later forwards the events on the queue .

Dropped from four digit 502s and 504s weekly to virtually none.

There are no comments on this comment yet.