The Role of Threaded Clients in a Distributed System
This chapter is the first of two that deal with threading. This chapter looks at the role of threading in the client application. The next chapter discusses how threading can improve the server side. The central focus in this chapter is using threading to improve the performance and responsiveness of a client.
But does multithreading improve performance? It actually depends on the task. If you are writing an intensive number-crunching algorithm that performs several calculations, using threads won’t reduce the total time required to complete the operation. In fact, because the separate threads are competing for the CPU and slight overhead is required to switch from thread to thread, a multithreaded ...
Get Microsoft® .NET Distributed Applications: Integrating XML Web Services and .NET Remoting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.