fippo / rtcstats-server

Server for https://github.com/fippo/rtcstats
MIT License
38 stars 44 forks source link

write peerconnections to different files #191

Open fippo opened 7 years ago

fippo commented 7 years ago

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 commented 5 years ago

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.

dagingaa commented 5 years ago

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

johnryan commented 5 years ago

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

johnryan commented 3 years ago

@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.