Threads in Distributed Systems
- Multithreaded clients
- Thread can block waiting for server response but application/process is not blocked
- Multithreaded servers
- Simplified server code as opposed to finite-state-machine approach that users non-blocking system calls
- Can handle multiple client requests in parallel (while making blocking ystem calls)
- Improved performance over iterative servers on multiprocessor systems
No comments:
Post a Comment