The document discusses optimizing throughput in hierarchical middleware like DIET. It presents DIET and describes its hierarchical architecture. The goal is to determine the optimal deployment of agents and servers across platforms to maximize throughput. It develops models for estimating service times at different levels. It then describes approaches for automatic deployment, including using mixed integer programming or genetic algorithms to evolve populations of solutions.