Git Product home page Git Product logo

Comments (6)

Alrobbertz avatar Alrobbertz commented on June 14, 2024 1

I conducted the same test on the updated version and noticed much better performance. I did not encounter any lost connections in tests with both high loss and latency. It looks so far like all issues have been fixed.

from aioquic.

jlaine avatar jlaine commented on June 14, 2024

This is now fixed!

from aioquic.

Alrobbertz avatar Alrobbertz commented on June 14, 2024

I was testing this implementation within two containers talking to each other on a docker network. I was simulating various stressful network conditions using the linux trafic control tool and found that the client and server connection hangs up and stops transmitting packages when there is relatively little (10%) loss on the network. I'm not sure the cause of this issue, but I will investigate further and try to provide more details.

from aioquic.

jlaine avatar jlaine commented on June 14, 2024

Does the transfer stall after receiving some data or no data at all? Currently retransmissions should be working well for the 1-RTT epoch ("application data"), however the earlier phases (INITIAL + HANDSHAKE) are currently missing retransmissions, so it's possible for the connection to stall at the very beginning.

I have created issue #9 to track this, let's continue the discussion there

from aioquic.

Alrobbertz avatar Alrobbertz commented on June 14, 2024

It stalls after a successful handshake and receiving some data. The test sends encoded images over multiple streams so the stress and loss conditions may just overwhelm the simulated docker network. I will do more tests and try to determine the cause.

from aioquic.

jlaine avatar jlaine commented on June 14, 2024

OK I found and fixed some logic errors, re-transmission of app data should work reliably. There is a unit test which exercises this with a 25% packet loss here:

def test_with_packet_loss_during_app_data(self):

Re-transmission of initial / handshake packets is starting to work, but it's not finished yet.

Neertheless could you try again and let me know if you see an improvement?

from aioquic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.