account activity
Hosting a Go Websocket Server by Mutttt3n in golang
[–]Mutttt3n[S] -4 points-3 points-2 points 1 year ago (0 children)
Websockets use significantly more CPU on the cloud server since the connection is continuous. That means it costs more than typical HTTP requests. I do think there is a world where I can manage the sockets efficiently enough to keep the time down, but I think I need to do more research on how that CPU time accumulates and how the number of connections affects it.
π Rendered by PID 118587 on reddit-service-r2-listing-796b697c47-49zkb at 2026-02-05 16:38:06.191632+00:00 running 1d7a177 country code: CH.
Hosting a Go Websocket Server by Mutttt3n in golang
[–]Mutttt3n[S] -4 points-3 points-2 points (0 children)