News for hackers. Stuff that matters.
Re:How Discord handles over a million requests per minute wi... by bcherny on Monday December 12, 2016 @06:17PM (#13163000)
Can you explain why it's necessary that some notifications were dropped?
Re:How Discord handles over a million requests per minute wi... by Vishnevskiy on Monday December 12, 2016 @06:24PM (#13163050)
2 reasons.

- To avoid OOMing the Erlang VM. - If the notification queue is backed up then older notifications are not worth delivering if we can speed up delivering of more recent ones.

Re:How Discord handles over a million requests per minute wi... by jsjohnst on Monday December 12, 2016 @08:27PM (#13163733)
Except that's not what's happening here if I'm reading right. They are throwing away the newer ones and not the older ones because the ones rejected by the Push Collector are the most recent ones.