The super simple version is to just do
local_demand = total_demand / (length(Node.list))
You could totally try to have demand moved between nodes but this way the there’s no need to coordinate between nodes. If however you add more nodes part way through you have to restart stuff.






















