2.12.6. Rehearsal

Based on your knowledge of how message communication is used, you should be able to design an API suitable for a specific application scenario, and to explain how your choice of the various API properties fits the scenario.

Exercises. 

  1. Design an interface of a messaging middleware that is suitable for a highly efficient transport of messages between processes of a tightly coupled homogeneous multiprocessor cluster, to be used for scientific calculations. Explain your design choices and advocate the suitability of your design.

    Hint

    By definition, messaging certainly is sending and receiving of messages, but the intended application influences what form these functions take. What functions could be useful for scientific calculations ?

    Where details are concerned, think about the issues related to highly efficient transport. Does the fact that the interface runs on a tightly coupled homogeneous cluster help in any way ?

  2. Design an interface of a messaging middleware that is suitable for an internet wide transport of messages between heterogeneous desktop computers, to be used for thick client information system running on multiple client platforms. Explain your design choices and advocate the suitability of your design.

    Hint

    By definition, messaging certainly is sending and receiving of messages, but the intended application influences what form these functions take. What functions could be useful for thick clients in information systems ?

    Where details are concerned, think about the issues related to heterogeneity. Does the fact that the interface should support heterogeneous network and heterogeneous clients matter in any way ?