Going Infinite, handling 1 millions websockets connections in Go / Eran Yanay

Go HTTP server provides great scalability, allocating a goroutine per connection, and reusing the efficient multiplexing and scheduling of the Go runtime. While this technique is almost ideal for most scenarios, it comes with limited scale for websockets apps due to high memory consumption

In this talk, we will show how we’ve implement our own event loop mechanism to overcome those limitations and efficiently manage millions of concurrent connections while minimizing resource utilization. We will compare the memory footprint of a naive implementation, relying on the standard way to handle those connections with go-routines, and explore the difficulties of using epoll and select in pure go to efficiently schedule and maintain all those concurrent connections

Nguồn: https://fifa18ah.com/

Xem thêm bài viết khác: https://fifa18ah.com/game/

Article Categories:


  • Thank you for speaking English

    Mohammed Salman July 17, 2020 2:02 pm Reply
  • Hi sir. you are the best. <3

    Phong Luc July 17, 2020 2:02 pm Reply
  • Awesome

    Fasil K July 17, 2020 2:02 pm Reply
  • Awesome!

    个人开发小程序、app、公众号、业务系统 July 17, 2020 2:02 pm Reply
  • that is great!

    黄飞鸿 July 17, 2020 2:02 pm Reply
  • Awesome… Great demo's…

    Mansoor Riazuddin July 17, 2020 2:02 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *