Explain the Executing Requests Using a Message-Passing Architecture
Executing requests using a message-passing architecture requires good fundamental client-server programming practices documented previously in this chapter. By creating logically separate components, responders are much better equipped for processing client requests. In addition, it is extremely important for the server component to execute on behalf of many clients.
As such per client data must be introduced and may be easily managed because a clientIndex is passed to each server based function. In addition, the server component can store and access this data between the life of client request if data is maintained by the server component. Most importantly, though, is the high performance processing of client server application protocols, because a predefined protocol is used. Predefined protocols really shine during the dispatching and execution stages. While their use makes increased demand on the programmer, the performance gains generated by the use are well worth the effort.