Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> have you ever actually done this?

I have, but I didn't use go. I wrote a webrtc server in C, and probably handled something north of a trillion event points per month this way (receiving telemetry from interactive digital advertisements).

My goal wasn't latency but capacity: I can handle maybe 100kqps in HTTP on the same kit that could handle something like 600kqps+ messages with this (Never did proper limit testing here, since I knew my supplier was limited on the network links). It took about three weeks to get operational to a point it could be added to production, which was worth it to me.



when you say http do you mean a roundtrip per data point? curious if you went from 1 http request per data point to webrtc or from something more like 1 websocket message per data point to webrtc.


The former. Events might come minutes apart, and session establishment costs peanuts compared to having a TCP port open for minutes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: