Rakuten Interview Question

How would you design a multi-processor system to handle tasks of different time costs?