For background, I'm trying to manage latency in a system where the server pushes lots of (near) real-time data to the clients. The data quickly loses value as the latency increases. The per-client buffers will start growing if the system is not able to deliver them quickly enough. It doesn't look like there's any way to access the send-buffers from outside Sente. I'm thinking of sending some latency control messages every now and then with an expected reply so I can evaluate latency to manage the rate of sending and start dropping events per client as needed if they fall behind. It would be super helpful if I could look at the size of send-buffers (similar to connected-uids) and perhaps already take some action based on their size alone and also I wouldn't need to create my own per client channels that would essentially just duplicate the data. If this sounds reasonable, I'm happy to provide a pr to publish the buffers.
For background, I'm trying to manage latency in a system where the server pushes lots of (near) real-time data to the clients. The data quickly loses value as the latency increases. The per-client buffers will start growing if the system is not able to deliver them quickly enough. It doesn't look like there's any way to access the send-buffers from outside Sente. I'm thinking of sending some latency control messages every now and then with an expected reply so I can evaluate latency to manage the rate of sending and start dropping events per client as needed if they fall behind. It would be super helpful if I could look at the size of send-buffers (similar to connected-uids) and perhaps already take some action based on their size alone and also I wouldn't need to create my own per client channels that would essentially just duplicate the data. If this sounds reasonable, I'm happy to provide a pr to publish the buffers.