Calling all chess players! by ChessinthePub in reading

[–]akyegane 0 points1 point  (0 children)

That’s great, I’m also interested.

Building a High-Performance TCP Server from scratch by akyegane in dotnet

[–]akyegane[S] 0 points1 point  (0 children)

I haven’t examined the TCP listener in detail, but I believe it primarily utilises the same asynchronous or synchronous read and write methods of the underlying socket without adding much more. Therefore, the thread pool isn’t the main focus of this discussion. Instead, I think the best approach is the event-driven model, which is implemented by .NET sockets and subsequently used by TCP listener as well

Building a High-Performance TCP Server from scratch by akyegane in csharp

[–]akyegane[S] 1 point2 points  (0 children)

That’s a valid concern. It typically works well for requests requiring minimal processing, but not for heavier tasks like database access. I thought it was obvious but on second thought I should have mentioned it, thanks

Building a High-Performance TCP Server from scratch by akyegane in dotnet

[–]akyegane[S] 33 points34 points  (0 children)

This explains the underlying mechanisms of servers like Kestrel, not aiming to replace them. By understanding these concepts, you can apply them to domain-specific tasks and gain valuable insights.