Repository navigation
Redundancy when running Strom in Kubernetes? #1237
Replies: 1 comment 1 reply
|
Thanks, and good question! Short answer: part of this belongs outside Strom, and part of it is something Strom should solve. It doesn't exist yet, but we've opened issues for the design. Same bytes from two instances isn't achievable for compressed video. Two encoders never produce identical output, because rate control and threading aren't deterministic. Packet-level redundancy (SRT groups, 2022-7) protects the network path, but it can't cover a dead pod. Interchangeable streams is achievable, and we think it's where Strom should go: the same picture gets the same timestamp in both instances, and IDR frames land on the same pictures. A failover switch can then cut at the next IDR, or a packager produces the same segment boundaries from either pod. The goal is no coordination between the instances, so a restarted pod falls back into phase on its own. Keeping replicas alive and choosing between them stays with Kubernetes and your failover component. Two issues cover this:
To know where to start, it would help to know:
Input from your PoC on the issues is very welcome. |
Uh oh!
There was an error while loading. Please reload this page.
Hey!
First of all, very cool project! 🙌
We're currently working on a couple of poc's where we run strom in kubernetes. We're trying to work out what to do if a container with strom dies. I guess it depends a lot on what you actually do inside the flows. But just as an example, making two srt streams output the exact same bytes or gop structure seems tricky currently. Or put in another way, syncing across instances so other components outside strom with failover support, that require the same gop structure or same bytes for two signals, can be used.
Are there any plans or thoughts on redundancy across instances? Or is this something you think belong in a layer outside strom, or something that should be handled with gstreamer without any extra strom features around it?
All reactions