skip to main content
10.1145/1566966.1566967acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmaiConference Proceedingsconference-collections
research-article

Type-safe dynamic protocol composition in Jgroup/ARM

Published: 12 June 2009 Publication History

Abstract

Protocol composition is a common approach to structure protocols used by networked applications, and typically a vertically layered approach is taken. This paper presents an alternative approach, where the protocol composition is a weakly-coupled set of protocol modules organized in a non-hierarchical structure. Protocol modules are dynamically constructed at runtime. The approach is designed for systems that involves multiple communicating entities and multicast style interactions are supported, making the approach suitable for building reliable network applications. The main advantage of the approach is type-safety and that modules in the same composition communicate by direct interaction, whereas other frameworks typically use a vertically layered protocol stack, forcing all messages/events to pass through all intermediate layers introducing unnecessary delays.

References

[1]
K. Arnold, J. Gosling, and D. Holmes. The Java Programming Language. Addison-Wesley, 2005. 4th ed.
[2]
B. Ban. JavaGroups -- Group Communication Patterns in Java. Technical report, Dept. of Computer Science, Cornell University, July 1998.
[3]
J. Dowling and C. Arad. Kompics Programming Manual, Apr. 2009. Version 0.4.1.
[4]
M. Fowler. Inversion of Control Containers and the Dependency Injection pattern, Jan. 2004. http://www.martinfowler.com/articles/injection.html.
[5]
M. Hayden. The Ensemble System. PhD thesis, Dept. of Computer Science, Cornell University, Jan. 1998.
[6]
M. A. Hiltunen and R. D. Schlichting. The Cactus Approach to Building Configurable Middleware Services. In Proc. Workshop on Dep. Sys. Middleware and Group Comm., Nuremberg, Germany, Oct. 2000.
[7]
N. C. Hutchinson and L. L. Peterson. The x-Kernel: An architecture for implementing network protocols. IEEE Trans. Software Eng., 17(1):64--76, Jan. 1991.
[8]
H. Meling. Adaptive Middleware Support and Autonomous Fault Treatment: Architectural Design, Prototyping and Experimental Evaluation. PhD thesis, Norwegian University of Science and Technology, Department of Telematics, May 2006.
[9]
H. Meling, A. Montresor, B. E. Helvik, and O. Babaoglu. Jgroup/ARM: a distributed object group platform with autonomous replication management. Software Prac. Exper., 38(9):885--923, July 2008.
[10]
H. Miranda, A. Pinto, and L. Rodrigues. Appia, a flexible protocol kernel supporting multiple coordinated channels. In Proc. 21st ICDCS, Apr. 2001.
[11]
A. Montresor. System Support for Programming Object-Oriented Dependable Applications in Partitionable Systems. PhD thesis, Dept. of Computer Science, University of Bologna, Feb. 2000.
[12]
O. Rütti, P. T. Wojciechowski, and A. Schiper. Service Interface: A New Abstraction for Implementing and Composing Protocols. In Proc. 21st ACM Symp. on Applied Computing, Dijon, France, Apr. 2006.
[13]
P. Urbán, X. Défago, and A. Schiper. Neko: A single environment to simulate and prototype distributed algorithms. Journal of Information Science and Engineering, 18(6):981--997, Nov. 2002.
[14]
R. van Renesse. Masking the Overhead of Layering. In Proc. 1996 ACM SIGCOMM, Aug. 1996.
[15]
R. van Renesse, K. P. Birman, and S. Maffeis. Horus: A Flexible Group Communication System. Communications of the ACM, 39(4):76--83, Apr. 1996.

Cited By

View all
  • (2023)An Extensible Framework for Implementing and Validating Byzantine Fault-Tolerant ProtocolsProceedings of the 5th workshop on Advanced tools, programming languages, and PLatforms for Implementing and Evaluating algorithms for Distributed systems10.1145/3584684.3597266(1-10)Online publication date: 19-Jun-2023

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
MAI '09: Proceedings of the 3rd International DiscCoTec Workshop on Middleware-Application Interaction
June 2009
28 pages
ISBN:9781605584898
DOI:10.1145/1566966
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 12 June 2009

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. dynamic protocol composition
  2. group communication
  3. recovery
  4. replication

Qualifiers

  • Research-article

Conference

MAI '09

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2023)An Extensible Framework for Implementing and Validating Byzantine Fault-Tolerant ProtocolsProceedings of the 5th workshop on Advanced tools, programming languages, and PLatforms for Implementing and Evaluating algorithms for Distributed systems10.1145/3584684.3597266(1-10)Online publication date: 19-Jun-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media