After several decades of development, various kinds of distributed applications are used widely, these applications ask the system with a good performance. For the applications with deadline time, the real-time thread pools will satisfy the requirements, and it is a good tool for the wed server, it could raise the performance of the system.Currently, many distributed applications are served with several kinds of web servers. The web servers have to handle many short requests. It is not reasonable to handle these requests with one thread or to create a new thread for every request, otherwise the system would response slowly and the performance would be cut down. Real-Time thread pool could provide ideal solution for the costs of thread creating and destroying, and for the problem of lack of resources, it also could make the system response more quickly. A kind of dynamic optimization method is needed to improve the system performance. According to the experience method and the theory method, a method to optimize the performance dynamically is brought out.The thesis studies on Real-Time CORBA thread pool strategy, and put forward two patterns for implementing thread pool in Real-Time CORBA, Half-Sync/Half-Async and Leader/Followers. Based on the ARTs-OS, realize the two kinds Thread Pool. The thesis analysis Half-Sync/Half-Async and Leader/Followers in separately, evaluates their performance, and draws a corresponding conclusion. |