WCF performance, latency and scalability

前端 未结 3 1659
梦毁少年i
梦毁少年i 2020-12-05 05:25

I\'m trying to port a simple async TCP server in F# to C# 4. The server receives a connection, reads a single request and streams back a sequence of responses before closing

3条回答
  •  萌比男神i
    2020-12-05 06:11

    I would say it depends on your goals. If you want to push your hardware as far as possible then it is certainly possible to get 10,000+ connected clients easily, the secret is minimising time spent in the garbage collector and using sockets efficiently.

    I have a few posts on Sockets in F# here: http://moiraesoftware.com

    Im doing some ongoing work with a library called Fracture-IO here: https://github.com/fractureio/fracture

    You might want to check those out for ideas...

提交回复
热议问题