3 ms·
If you’re live streaming video, you can make sure every frame is a P-frame which brings your bandwidth costs to a minimum, but then a lost packet completely per
by vlovich123 11mo ago
If you’re live streaming video, you can make sure every frame is a P-frame which brings your bandwidth costs to a minimum, but then a lost packet completely permanently disables the stream. Or you periodically refresh the stream with I-frames sent over a reliable channel so that lost packets corrupt the video going forward only momentarily.
Sure, if performance characteristics were the same, people would go for strong consistency. The reason many different consistency models are defined is that there’s different tradeoffs that are preferable to a given problem domain with specific business requirements.
- awesome_dude 11mo agoIf the video is streaming, people don't really care if a few frames drop, hell, most won't notice. It's only when several frames in a row are dropped that people start to notice, and even then they rarely care as long as the message within the video has enough data points for them to make an (educated) guess.
- dpe82 11mo agoP/B frames (which is usually most of them) reference other frames to compress motion effectively. So losing a packet doesn't mean a dropped frame, it means corruption that lasts until the next I-frame/slice. This can be seconds. If you've ever seen corrupt video that seems to "smear" wrong colors, etc. across the screen for a bunch of frames, that's what we're talking about here.
- awesome_dude 11mo agoAgain - the viewer rarely cares when that happens Minor annoyance, maybe, rage quit the application? Not a chance.
- vlovich123 11mo agoIf you’re never sending an I-frame then it’s permanently corrupt. Sending an I-frame is the equivalent of eventual consistency.
- namibj 11mo agoIf the area affected literally doesn't change for minutes afterwards it will not get refreshed and fixed.
- dpe82 11mo agoYour users must be very different from the ones I'm familiar with.
- xboxnolifes 11mo agoThe bar is at not rage quitting the application? A good experience is not even thought about?
- Maxatar 11mo agoOkay but now you're explaining that correctness is not necessarily the only reasonable state. It's possible to sacrifice some degree of correctness for enormous gains in performance because having absolute correctness comes at a cost that might simply not be worth it.
- lmm 11mo agoYou've got the frame types backwards, which is probably contributing to the disagreement you're seeing.