Code Monkey home page Code Monkey logo

Comments (7)

geoffkizer avatar geoffkizer commented on June 14, 2024 1

Perhaps a detailed blog post about our Sockets model/implementation would be useful.

from dotnet-api-docs.

ericeil avatar ericeil commented on June 14, 2024

Thanks for the great suggestion. I agree we should document this. For now, here's a (very quick) summary:

  1. On Windows, Sockets uses I/O Completion Ports for async operations, via the CoreCLR thread pool.
  2. On Linux, we use non-blocking sockets, and a single thread monitoring for status via epoll. User callbacks are posted to the CoreCLR thread pool once the I/O operation is complete.
  3. On OSX, it works just like Linux, except we're using kqueue instead of epoll.

from dotnet-api-docs.

davidsh avatar davidsh commented on June 14, 2024

@karelz We think this should be re-routed to perhaps System.IO or other documentation team. Can you pls re-route.

from dotnet-api-docs.

davidsh avatar davidsh commented on June 14, 2024

cc: @geoffkizer

from dotnet-api-docs.

karelz avatar karelz commented on June 14, 2024

@davidsh just change the area label and it will take care of itself :)

from dotnet-api-docs.

karelz avatar karelz commented on June 14, 2024

And if you want to be really nice, you can tag area owners -- cc @JeremyKuhne @ianhays.

from dotnet-api-docs.

geoffkizer avatar geoffkizer commented on June 14, 2024

This doesn't sound like a System.IO issue to me. Sounds like it's squarely about Sockets. Am I missing something?

from dotnet-api-docs.

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.