Is there a way to limit QUIC sending rate?

171 views
Skip to first unread message

Cong Wang

unread,
Aug 14, 2016, 10:13:48 PM8/14/16
to QUIC Prototype Protocol Discussion group
Hi,

Sorry if this looks like a newbie question. I'm trying to implement an application that utilizes QUIC to limit the maximum data sending rate. Is there a way to do this like for UDP?

Seems that QUIC has similar mechanisms with sender pacing mechanism.
https://chromium.googlesource.com/chromium/src/+/master/net/quic/core/congestion_control/pacing_sender.cc

Is there a flag or anything to limit the sending rate more directly?

Thanks,
Cong

Ryan Hamilton

unread,
Aug 14, 2016, 10:25:31 PM8/14/16
to proto...@chromium.org
I don't believe there is a flag, but you could implement your own limit in PacingSender::PacingRate.

--
You received this message because you are subscribed to the Google Groups "QUIC Prototype Protocol Discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to proto-quic+unsubscribe@chromium.org.
To post to this group, send email to proto...@chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Cong Wang

unread,
Aug 14, 2016, 10:59:53 PM8/14/16
to proto...@chromium.org
Thank you very much for the reply! 

Would you mind telling a bit of details? 
For example, if I want to set the pacing rate to be 1Mbps, can I simply set the variable max_pacing_rate_ to 1000000 in file:


To unsubscribe from this group and stop receiving emails from it, send an email to proto-quic+...@chromium.org.

Ian Swett

unread,
Aug 15, 2016, 7:58:01 AM8/15/16
to proto...@chromium.org
Yes, setting max_pacing_rate_ in PacingSender will do exactly what you want.
Reply all
Reply to author
Forward
0 new messages