Escolar Documentos
Profissional Documentos
Cultura Documentos
Middleware
Middleware (2)
A collection of technologies that support interaction between C and S
An Application Programming Interface (API) that is called by C to get services from S Middleware tasks start from API call by C to get S services, request sending through the network untill the response received by the C Identity of middleware becomes vague because many middlewares have been inserted into OS
Client Side
The desirable client software and hardware feature are
Suitable (powerful enough) hardware
Client processes typically requires a lot of hardware resources, they should be stationed on a computer with sufficient computing power E.g. to open files, videos, images, etc Client processes may require large amount of hard disk space and physical memory, the more such a resource is available, the better
Communication capabilities
To interact efficiently in a C-S environment, the client computer must be able to connect and communicate with the other machines in a network environment Need a network adapter to connect to a network
Server Side
The desirable server services and hardware feature are
Powerful hardware
server process should be the more powerful computer (fast CPU) than the average client computer because the server process must be able to handle concurrent requests from multiple clients include DVD-RW, video card, backup tape, etc Fault tolerant: Dual power supply, UPC, ECC, RAID. Expandable CPU, multiple bus, multiple communication
Fax services
a client able to submit data to be faxed to a fax server that equipped with a fax device Able to schedule the fax, dial the fax number, and transmit the fax
Database services
The server act as a database server
Transaction services
A client can execute database transaction code or procedures that manipulate the data in database
Complexity of Server
The server
processes one request at a time (sequential) a big role in maintaining the request queue that arrives for a server usually much more difficult to build than clients because they need to accommodate multiple concurrent requests
This is because
The business information system will be deployed across a set of distributed processing units (e.g., machines in a network, processes on one machine, threads within one process, etc)
Before Ending
Please skip section 3.7.4 Distribution Pattern You can read 3.8 Existing C/S Architecture
The main idea of this section had been discussed in previous chapters
The End