3 ms·
Latency doesn't affect server update rate it affects time to first data. I can have a ping of 500ms and still get an update from a stock ticker every 5 millisec
by andersmurphy 1y ago
Latency doesn't affect server update rate it affects time to first data. I can have a ping of 500ms and still get an update from a stock ticker every 5 milliseconds. They will arrive at 500 505 510 etc.
- recursive 1y agoI think most people would have a different understanding of what's entailed in an "update".
- andersmurphy 1y agoThe original bit from the datastar website that was quoted was talking about polling.
- recursive 1y agoI'll take your word for it, as I can't find the quote in context. But I'm unfamiliar with any polling pattern where poll requests are expected to overlap. If updates take microseconds, does that mean I can comfortably run 10,000 of these in a second? I even think datastar looks cool, but I just think that quote is misleading, and I still think that. I'd like to see some realistic results, like the kind measured by this[1] type of benchmark. "Microsecond" updates sounds like microbenchmarks with very carefully crafted definitions. [1]: https://krausest.github.io/js-framework-benchmark/2025/table_chrome_135.0.7049.42.html https://krausest.github.io/js-framework-benchmark/2025/table...