[backend] support project partitioning
[backend] implement badhost and idleworker forwarding for masterdispatch mode