1.2 Client / Server Computing
Configuration of client/server computing consists of three main components: client process requesting service, server process response to requested service and middleware between them for remotely communication.
1- Server: is a highly performance computer with powerful characteristic that make it suitable to perform and handle client requests and it share its resources with different clients.
2- Client: Unlike server …show more content…
A large request will not hold up at other request. On other side, it is consumes memory and CPU resources more than alternative architecture. The performance is slower because it affected due to process context switches.
Fig.1.5: Process-per-client Architecture
2- Multi-threaded architecture:
Multithreading architecture refers to the ability of operating system to provide services to more than one request or to more than one user at a time. That meaning, a large number of a short transaction of clients running in the same process and keeps track of each client request as a separate thread as shown in Fig.1.6. It should be noted to difference between multithreading and multitasking. Multitasking refers to the ability to performing more than one computer task at a time. For example, opening Microsoft word and then Microsoft excel program at the same time.
In multi-threaded architecture, the performance is very well because it runs all requests in the same process and single address space. Also, keeping memory and CPU by avoiding frequent context switches. The main disadvantage is that one client request may affect others a very large