How to handle up to 100k HTTP connections in .Net

前端 未结 2 533
面向向阳花
面向向阳花 2021-01-05 09:42

I am creating a server to monitor the online presence of clients on a webpage.

  • There will be 80-100 000 (eighty thousand) simultaneous clients to monitor.
相关标签:
2条回答
  • 2021-01-05 10:19

    100 000 persistent connections is not a viable option.

    Sending HTTP requests at interval is way more feasible, and writing a dedicated HTTP server is an interesting choice IMO.

    Take a look at this question for some orientations.

    0 讨论(0)
  • 2021-01-05 10:23

    I know you specifically say .NET, but you should probably take a look at NodeJS, as it does exactly what you're trying to do, but it is server-side JavaScript.

    0 讨论(0)
提交回复
热议问题