httptoolkit / httptoolkit-android

Automatic Android interception & debugging with HTTP Toolkit, for Android
https://httptoolkit.com
GNU Affero General Public License v3.0
493 stars 77 forks source link

Performance Slowdown on Instagram Due to Lack of QUIC Protocol Support #26

Open codesiddhant opened 4 months ago

codesiddhant commented 4 months ago

Description: I'm experiencing significant performance slowdowns when using HTTP Toolkit to intercept Instagram traffic. It appears that this issue is related to HTTP Toolkit's lack of support for the QUIC protocol, which Instagram relies on for faster data transfer.

Steps to Reproduce:

Use HTTP Toolkit to intercept traffic from the Instagram app. Browse through Instagram and observe the performance. Expected Behavior: Instagram should perform normally, without noticeable slowdowns.

Actual Behavior: Instagram experiences significant slowdowns, likely due to falling back to slower protocols because QUIC is not supported.

Thank you for your assistance!

pimterry commented 4 months ago

Instagram experiences significant slowdowns, likely due to falling back to slower protocols because QUIC is not supported.

QUIC offers some performance benefits, but they're mostly relevant to weak & unstable mobile connections. On a normal home internet connection it's very unlikely you'd be able to tell the difference between QUIC & HTTP/2. QUIC doesn't improve latency or bandwidth at all - it just makes the connection performance more resilient to some kinds of issues (i.e. it doesn't slow down as much when some packets are lost).

It's still possible this is related to QUIC in some other way, but it's not as simple as you're describing.

Can you share more details? It would be useful to understand: