GopherCon UK 2019: Eran Yanay - Going Infinite: Handling 1 Million Websocket Connections in Go

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • 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 implemented our own event loop mechanism to overcome those limitations and efficiently manage millions of concurrent connections while minimizing resource utilization.
  • Věda a technologie

Komentáře •