matrix-org / waterfall

A cascading stream forwarding unit for scalable, distributed voice and video conferencing over Matrix
Apache License 2.0
99 stars 5 forks source link

Find a smart way to not process old message when starting the SFU #138

Open daniel-abramov opened 1 year ago

daniel-abramov commented 1 year ago

When the SFU starts, it gets all of the To-Device messages that have been sent by the users while the SFU was down. The SFU does process these messages as it does not know in advance how many of these would come and how old they are.

We need to find a smart way to optimize it.