Giter VIP home page Giter VIP logo

Comments (4)

serialx avatar serialx commented on July 30, 2024

Hello, thank you for your feedback. Let me share my opinions about the subject.

1.how about reuse port and multiprocessing same port by cpu core instead of using a multi channel?

I think it's an interesting idea. But since the QUIC packets are load balanced using QUIC CID, multi channel CID based load balancing is a necessity. If it's guaranteed that a unique CID packets arrive at the same receiving socket, it would be possible. But I think the packets would arrive randomly across multiple listening sockets, thereby requiring custom load balancing anyways.

2.maybe extend ephemeral_key_source.h for use key cache, then possible more tps(rps) and no crash...

I will have a look into that! Did you experience crashes because of key source? If so, please share more information. I would be glad to look into that problem.

Thanks!

from goquic.

serialx avatar serialx commented on July 30, 2024

More thoughts about suggestion number 1.

Since the origin source IP/port might change in the case of mobile/cellular network change. (ie. Wifi being turned off during requests) Multi-process load balancing would not be feasible. Kernel load balance using the source IP/port. When user's source change, the kernel will load balance that packets to a different process. And the connection would drop. :(

from goquic.

serialx avatar serialx commented on July 30, 2024
  • Number 1 fixed in devsisters/gospdyquic@7c2fe05
    • I went to a single process multiple socket approach to improve socket lock contention.
  • Number 2 fixed in ab7e25b
    • EphemeralKeySource implemented and cached key for 10 seconds.

Thank you for your feedback! It was great suggestions.

from goquic.

jdev4u avatar jdev4u commented on July 30, 2024

great job!!! Thank you...

from goquic.

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.