Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebRTC: Tracking Issue #2656

Open
5 of 8 tasks
sukunrt opened this issue Nov 27, 2023 · 2 comments
Open
5 of 8 tasks

WebRTC: Tracking Issue #2656

sukunrt opened this issue Nov 27, 2023 · 2 comments
Assignees

Comments

@sukunrt
Copy link
Member

sukunrt commented Nov 27, 2023

Tasks

  1. kind/bug
  2. P0
@SgtPooki
Copy link
Member

SgtPooki commented Mar 8, 2024

@sukunrt any update here?

@sukunrt
Copy link
Member Author

sukunrt commented Mar 8, 2024

We are on track for a release in v0.34(roughly end of the month) that's good enough to be non experimental. We will still keep it experimental in v0.34 and see if any issues arise. After than v0.35 should have it non experimental.

The current master is pretty good performance wise. When run with the pion/webrtc branch here: pion/webrtc#2696 I see decent memory usage. I'll share the exact numbers soon but for 10 connections each doing 1000 streams and a ping pong of 1MB we see a memory usage of roughly 30MB after the streams are closed and all the connections are open.

On the CPU usage, the performance doesn't look great. Again I'll share more understandable numbers soon, but the CPU usage is roughly 1.5 - 2x of what quic has under similar load. This seems okay to me. quic-go is highly optimised. Single connection throughput is also only 50MB/s but that's also good enough for clients on the web who most likely will be on wifi networks. It's not ideal but we can do perf improvements much better once we see some adoption. On the bright side, the CPU usage is proportional to the total data being transferred on the connection so that's a nice property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants