Abstract
In many cases, servers must impose a protocol of calls to their clients, and at the same time handle multiple client requests. The MT-Rendezvous design pattern greatly simplifies both tasks: separate server threads handle separate clients or sessions, and each different call protocol is handled by means of rendezvous.
One of the most significant performance problems in this kind of system is the latency introduced by network messages exchanged between clients and servers. Another design pattern, CompositeCalls, has been used to achieve dramatic performance improvements. With CompositeCalls clients send entire programs to the server so that the number of messages exchanged can be greatly reduced. Moreover, servers can be dynamically extended by using CompositeCalls.
Therefore, an expressive and effcient server model can be obtained by mixing both patterns within the same framework. However, as both patterns overlap, its integration is not a trivial task.
In this paper we describe how can both patterns be combined, including a brief description for its instantiation in Ada 95. Besides, we show concrete applications where the compound pattern, CompositeRendezvousCalls, can be employed, including a transactional framework for distributed Ada applications, TransLib.
★
This work has been partially funded by the Spanish Research Council(CICYT), contract number TIC98-1032-C03-01 and the Madrid Regional Council (CAM), contract number CAM-07T/0012/1998.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
E. Gamma, R. Helm, R. Johnson, and J. Vlissides. Design Patterns. Elements of Reusable Object-Oriented Software. Addison Wesley, 1995.
R. Jiméenez, M. Patiño, and S. Arévalo. Multithreaded Rendezvous: A Design Pattern for Distributed Rendezvous. In Proc. of ACM Symposium on Applied Computing. ACM Press, Feb. 1999.
M. Patiño, R. Jiménez, and S. Arévalo. Integrating Groups and Transactions: A Fault-Tolerant Extension of Ada. In Proc. of International Conference on Reliable Software Technologies, Ada-Europe’98, volume LNCS 1411, pages 78–89. Springer, June 1998.
M. Patiño, R. Jiménez, and S. Arévalo. Synchronizing Group Transactions with Rendezvous in a Distributed Ada Environment. In Proc. of ACM Symposium on Applied Computing, pages 2–9. ACM Press, Feb. 1998.
M. Patiño, Ballesteros F. J., R. Jiménez, S. Arévalo, Kon F., and Campbell R. H. Composite Calls: A Design Pattern for Effcient and Flexible Client-Server Interaction. In http://www.gsyc.inf.uc3m.es/∼nemo/off/interp.ps, 1998.
B. I. Sandén. The State-Machine Pattern. In Proc. of ACM Tri-Ada’96. ACM Press, 1996.
J. M. Sasine and R. J. Toal. Implementing the Model-View-Controller Paradigm in Ada 95. In Proc. of ACM Tri-Ada’95. ACM Press, 1995.
D. C. Schmidt. Reactor. An Object Behavioral Pattern for Concurrent Event Demultiplexing and Event Handler Dispatching. In J. Coplien and D. C. Schmidt, editors, Pattern Languages of Program Design. Addison Wesley, 1995.
D. C. Schmidt. Evaluating Architectures for Multithreaded Object Request Brokers. Communications of the ACM, 41(10):54–60, Oct. 1998.
C. J. Thompson and V. Celier. DVM: An Object-Oriented Framework for Building Large Distributed Ada Systems. In TriAda Conference. ACM Press, 1995.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Ve lag Berlin Heidelberg
About this paper
Cite this paper
Jiménez-Peris, R., Patiño-Martínez, M., Ballesteros, F.J., Arévalo, S. (1999). Efficient and Extensible Multithreaded Remote Servers?. In: González Harbour, M., de la Puente, J.A. (eds) Reliable Software Technologies — Ada-Europe’ 99. Ada-Europe 1999. Lecture Notes in Computer Science, vol 1622. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-48753-0_8
Download citation
DOI: https://doi.org/10.1007/3-540-48753-0_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-66093-4
Online ISBN: 978-3-540-48753-1
eBook Packages: Springer Book Archive