Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal...
by nurettin on Friday October 24, 2025 @11:54AM
(#45695899)
http 101 upgrade isn't much of an overhead and there are tried and tested websocket/ssl libraries with pretty callback interfaces versus your custom binary protocol. I would still choose the latter but I wouldn't recommend it.
[ Parent
| on HN ]
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal...
by immibis on Friday October 24, 2025 @04:15PM
(#45698633)
you can apply this reasoning to a lot of protocols, like why not use Nostr over websockets? I mean, I don't see any reason to do this with Nostr over websockets, but also, why not? it's not much overhead right?
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal...
by stevenhuang on Friday October 24, 2025 @08:56PM
(#45700551)
Comparing ws to nostr shows you might not understand how ws actually works. You realize after connection setup it's just a tcp socket? It's not framed by http headers if that's what you're wondering. The ws frame is like 6 bytes.
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal...
by immibis on Sunday October 26, 2025 @06:46PM
(#45715780)
That connection setup has a huge amount of complexity in it. The fact the complexity is front-loaded doesn't negate the complexity. You have to include an HTTP parser and a copy of SHA1 for basically no good reason.