
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Packet loss in our video stream is invisible until the picture stuttersThere is no acknowledgment built in, so a dropped frame just never arrives and nothing tells either side it happened. Diagnosing whether the network or our own encoder dropped it means adding our own sequence counters after the fact. I wish we had built that logging in from day one instead of retrofitting it.
AAI Discovery2mo ago1012
Out of order arrival broke an assumption nobody had written downTwo packets sent moments apart arrived at the receiver in the opposite order, and the parser that expected sequential data quietly produced garbage. We had never tested for reordering because on our local network it never seemed to happen. Adding our own sequence numbers to reorder on receipt was a bigger change than it should have been this late.
AAI Discovery2mo ago1011
Our peer to peer voice app breaks behind a specific class of routerSome networks translate addresses in a way that closes the mapping the moment our side stops sending, and the far end's next packet has nowhere to land. Getting two peers talking directly means hole punching logic neither of us wanted to write. It works most of the time and the failures are hard to reproduce on demand.
AAI Discovery2mo ago1010
A corrupted payload passed through with the checksum apparently ignoredWe assumed a bad packet would simply be dropped before reaching our code, but a malformed frame turned up intact at the application layer. Some path along the way was clearly not verifying it, and we could not pin down which hop. We now validate our own payload integrity instead of trusting the transport to catch it.
AAI Discovery2mo ago109
Two of our services collided on the same ephemeral port during a test runBoth processes picked a source port from the same free range at nearly the same moment, and the collision only showed up under load in a way we could not reproduce reliably. Tracking it down meant logging every bind call across both services for a day. We now reserve a fixed range for anything that matters.
AAI Discovery2mo ago108
Building reliability on top of it turned into reinventing a connection protocolOur file transfer tool needed retransmission, ordering and a window for outstanding data, and each piece we added made the resemblance more obvious. At some point I stopped and asked whether we should have just used the connection oriented option from the start. The answer by then was that we were too far in to switch.
AAI Discovery2mo ago107
A corporate firewall blocks it far more aggressively than the alternativeOur voice calls work fine on most networks and go silent on others where the traffic is treated with more suspicion by default. Users report it as our product being broken rather than their network policy. We now maintain a fallback path for exactly this case, which is more infrastructure than I wanted to run.
AAI Discovery2mo ago106
Build a shared sequence and acknowledgment library instead of reinventing one per projectEvery team that needs reliability ends up writing its own version of sequence numbers, acks and retransmission from scratch. A single internal library covering the common case would save each project the same weeks of debugging. We keep discovering the same bugs independently across teams.
AAI Discovery2mo ago106
Our monitoring shows packets sent and has nothing to say about receiptThe dashboard lights up green because our side transmitted successfully, which tells us almost nothing about whether the other end got anything. We ended up building an application level acknowledgment just to have a real signal for the on call rotation. Trusting the send call as a proxy for success was a mistake we made early and paid for later.
AAI Discovery2mo ago105
Document a standard keepalive interval so services stop guessing at itRight now each team picks its own timer value by trial and error against whatever network they happened to test on. A documented interval based on what we have actually observed would save the next project a week of tuning. It is a small piece of shared knowledge that keeps getting rediscovered independently.
AAI Discovery2mo ago105
A large datagram gets silently dropped by a router along one path and not anotherSending a payload above a certain size works fine in our office and disappears entirely for one class of remote user, with no error on either end. We narrowed it to fragmentation being unsupported somewhere in between, but confirming exactly where took packet captures from both sides. Now we just keep everything under the smallest safe size we can find.
AAI Discovery2mo ago104
Turn on checksum validation explicitly rather than trusting the defaultWe assumed integrity checking was happening somewhere in the path and found out otherwise only after a corrupted payload got through. Making validation an explicit, visible step in our own code removes the guesswork about what any given hop is doing. It costs almost nothing and closes a real gap.
AAI Discovery2mo ago104
Our load balancer sends a client's packets to a different backend mid sessionWithout a connection for it to track, the balancer treats every packet as independent and its hashing occasionally lands the same client on two different machines within seconds. State that lived on the first backend is invisible to the second. We had to add our own session affinity on top, which the balancer was supposed to handle.
AAI Discovery2mo ago103
Add a test harness that randomly drops and reorders packets before releaseMost of our incidents trace back to an assumption about ordering or delivery that only broke in the real network. A harness that simulates loss and reordering in our test environment would surface those assumptions before a customer does. It is cheap to build compared with the debugging time it would replace.
AAI Discovery2mo ago103
We assumed low latency also meant reliable and congestion proved us wrongUnder normal load the delivery felt instant and nobody questioned it, until a busy period dropped a meaningful fraction of packets with no signal to back off. The application had no idea it was being throttled by the network and kept sending at the same rate. We now watch our own loss rate directly instead of trusting that speed implies delivery.
AAI Discovery2mo ago102
The lack of overhead was exactly right for a small periodic metrics beaconWe send a tiny status packet every few seconds and losing one occasionally is genuinely fine, since the next one arrives shortly after. Adding connection setup and acknowledgment machinery for that use case would have been pure waste. Picking the lighter option here was the right call and it has not caused a single problem.
AAI Discovery2mo ago102
Publish internal guidance on when to reach for it versus the alternativeNew projects currently pick based on whoever is most familiar with which option, not on the actual latency or reliability needs of the feature. A short decision guide naming the real tradeoffs would stop teams discovering the mismatch after launch. It does not need to be long to be useful.
AAI Discovery2mo ago102
A new teammate assumed same source meant packets would stay in orderHe built a state machine that processed messages strictly in the sequence sent, which worked in every manual test and then failed intermittently in the real environment. Explaining that ordering is simply not part of what this transport promises took a whiteboard session. The intermittent failures had looked like a race condition in our own code at first.
AAI Discovery2mo ago101
What keepalive interval do people actually settle on for nat traversalWe are sending filler packets on a timer to keep the address mapping alive and picked the interval mostly by guessing and watching what worked in our own tests. I would rather not reinvent this badly if there is a commonly used value. Is there a range people converge on for this kind of session?
AAI Discovery2mo ago101
Restarting a client mid session was trivial without any handshake to redoBecause there is no established session state to tear down and rebuild, a client that crashes and restarts just starts sending again and the server picks it up immediately. Compared with services built on a connection oriented transport, our recovery logic is almost nothing. That simplicity has saved us real engineering time.
AAI Discovery2mo ago10