rtcstats-server icon indicating copy to clipboard operation
rtcstats-server copied to clipboard

write peerconnections to different files

Open fippo opened this issue 7 years ago • 4 comments

currently, all data associated with a session is written to a single file. Splitting this up into one file for session metadata and another file for each peerconnection would allow processing a peerconnection once its done and not when the client closes the page. Increases realtimeness and hopefully also reduces disk usage.

fippo avatar Sep 29 '16 07:09 fippo

also this would allow processing a connection once its done without waiting for the websocket to be closed. This will however change how you download and inspect dumps -- the current model of one-big-file is pretty nice but that could be retained with the right tooling.

fippo avatar Feb 21 '19 09:02 fippo

This would be cool for our sake, as long as it also triggers feature extraction for that peer connection. But I respect that this might be worse in a multiparty-setting

dagingaa avatar Feb 21 '19 13:02 dagingaa

@fippo I took a stab at this in #275, let me know if you have any feedback!

johnryan avatar Aug 12 '19 18:08 johnryan

@fippo I came back to check on this (time flies 😬) and see if there was any interest in this feature anymore - looks like my PR is out of date. I'd be happy to update it if it will get merged but otherwise happy to close the PR.

johnryan avatar Jan 05 '21 19:01 johnryan