Giter VIP home page Giter VIP logo

Comments (5)

 avatar commented on May 17, 2024

Oooh!

This is new right? REUSEPORT was added in Linux 3 something but back then it only did round-robin accept right? So this is some kind of function you distribute accepts with?

from usockets.

 avatar commented on May 17, 2024

http://man7.org/linux/man-pages/man7/socket.7.html

Seems new to Linux 4.6

from usockets.

victorstewart avatar victorstewart commented on May 17, 2024

check this out too. I've been itching to blow out the network stack and replace it in userspace for the past year (nothing worse than decrepit old junk getting in the way).

https://dpdksummit.com/Archive/pdf/2016Asia/DPDK-ChinaAsiaPacificSummit2016-Park-FastUser.pdf

These are the two top implementations:

https://github.com/mtcp-stack/mtcp
https://github.com/F-Stack/f-stack

The only trick is if you sever the NIC from the kernel, it suffocates all networking ability from the OS. (My application servers only run a single application server tho.... so isn't much of a problem for me). So any other running network applications would need to be routed through the new userspace networking stack.

This will only become even more needed with... 60 physical core systems running 40Gb connects soon.

from usockets.

 avatar commented on May 17, 2024

Yes one of the main ideas of uSockets is to be compatible with mtcp and such stacks. However, one have to take into account the money flow -> Node.js is MASSIVELY popular and Node.js is never going to use mtcp or things like that. So it kind of won't pay off.

I'm scrolling through the Linux kernel more lately though... 10 years from now I will be a Linux kernel dev for sure fingers crossed.

from usockets.

 avatar commented on May 17, 2024

#17

from usockets.

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.