r/programming • • Feb 17 '16

Stack Overflow: The Architecture - 2016 Edition

http://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/
1.7k Upvotes

461 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Feb 17 '16

Also, the good thing about push is that small delays are usually tolerable. Even if the servers are occasionally overloaded, say when a notification needs to be broadcast to all of the clients, nobody is going to notice a 1-2 minute delay for a notification they weren't even expecting in the first place.

5

u/marcgravell Feb 17 '16

"overloaded" in this case would be a few seconds, not a few minutes; but in essence, yes: it doesn't matter if it takes 0.1s vs 5s if they weren't expecting it. Also, we view web-sockets as non-critical functionality. We love having it, but if we need to bring it down for a bit: you'll see the updates on your next page load instead.