News for hackers. Stuff that matters.
Re:Rayforce by tosh on Tuesday June 09, 2026 @03:29PM (#48466420)
afaiu morsel-driven means the workload gets turned into 'smallish' chunks (morsels)

instead of having to pre-allocate upfront (e.g. 4 nodes get 1/4 each) it is more granular and dynamic

a worker that's "done" can request another morsel

pragmatic approach because nodes might not all be equally fast (cache, cpu frequency, throttling, …) and also some morsel workloads take longer than others depending on the values they contain and what kind of work needs to get done

so this approach tends to balance out nicely

I'm sure someone else can explain it better / correct me (please do!)

Re:Rayforce by hetoku on Tuesday June 09, 2026 @03:44PM (#48466617)
Exactly!
Re:Rayforce by noelwelsh on Tuesday June 09, 2026 @04:30PM (#48467274)
When I read up, it sounded like the same idea as work-stealing to me. Not surprising that different fields come up with the same idea under different terminology.
Re:Rayforce by adsharma on Tuesday June 09, 2026 @10:24PM (#48470570)
DuckDB and LadybugDB use the same terminology to describe internals.