Download ORBACUS, this manual

Transcript
Multi-Threaded Concurrency Models
f()
g()
h()
Client A
Thread-per-Client
Server
Client B
Figure 18.5: Thread-per-Client Server
The thread-per-client model is still efficient. Like with the threaded concurrency model,
no threads need to be created, except when new connections are accepted.
18.3.3 Thread-per-Request Server
If the thread-per-request server concurrency model is chosen, the ORB creates a new
thread for each request. This is shown in Figure 18.6. (For simplicity there are no separate
f()
g()
h()
Client A
Thread-per-Request
Server
Client B
Figure 18.6: Thread-per-Request Server
ORBacus
261