News for hackers. Stuff that matters.
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by philbe77 on Friday October 24, 2025 @10:55AM (#45695288)
Hi nodesocket - I tried to do 4 CPUs per node, but Kubernetes takes a small (about 200m) CPU request amount for daemon processes - so if you try to request 4 (4000m) CPUs x 16 - you'll spill one pod over - fitting only 15 per node.

I was out of quota in Azure - so I had to fit in the 63 nodes... :)

Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by nodesocket on Friday October 24, 2025 @10:59AM (#45695337)
But why split up a vm into so many workers instead of utilizing the entire vm as a dedicated single worker? What’s the performance gain and strategy?
Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by philbe77 on Friday October 24, 2025 @11:21AM (#45695587)
I'm not exactly sure yet. My goal was to not have the shards be too large so as to be un-manageable. In theory - I could just have had 63 (or 64) huge shards - and 1 worker per K8s node, but I haven't tried it.

There are so many variables to try - it is a little overwhelming...

Re:A sharded DuckDB on 63 nodes runs 1T row aggregation chal... by nodesocket on Friday October 24, 2025 @11:37AM (#45695720)
Would be interesting to test. I’m thinking there may not be a benefit to having so many workers on a vm instead of just the entire vm resources as a single worker. Could be wrong, but that would be a bit surprising.