Fragile narrow laggy asynchronous mismatched pipes kill productivity

From Trollpasta Wiki
Jump to navigationJump to search

The network connection or the other end can have hardware failures, these have different implications but both manifest as just a timeout. Everything needs to handle failure. Bandwidth is limited so we need to carefully design protocols to only send what they need. Network latency is noticeable so we need to carefully minimize round-trips. Especially with >2 input sources (UIs count) all sorts of races and edge cases can happen and need to be thought about and handled. It's often not possible to upgrade all systems atomically, so you need to handle different ends speaking different protocol versions. If you don't want everything to be taken down by one malfunction you need to defend against invalid inputs and being overwhelmed. Sometimes you also need to defend against actual attackers. Everything gets packed as bytes so you need to be able to (de)serialize your data.

Now that you have read this, all of these things will happen to your network unless you repost this 7 times on 7 different internets in the next 7 days. Actually there are no 7 different internets so you're FUCKED HAHAHAAHAH


Original author unknown

Comments • 0
Loading comments...