Efficient and Extensible Multithreaded Remote Servers?

  • Ricardo Jiménez-Peris
  • M. Patiño-Martínez
  • F. J. Ballesteros
  • S. Arévalo
Conference paper

DOI: 10.1007/3-540-48753-0_8

Part of the Lecture Notes in Computer Science book series (LNCS, volume 1622)
Cite this paper as:
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

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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Ve lag Berlin Heidelberg 1999

Authors and Affiliations

  • Ricardo Jiménez-Peris
    • 1
  • M. Patiño-Martínez
    • 1
  • F. J. Ballesteros
    • 2
  • S. Arévalo
    • 1
  1. 1.Technical University of MadridSpain
  2. 2.Madrid Carlos III UniversitySpain

Personalised recommendations