Multitier Modules

Pascal Weisenburger, Guido Salvaneschi, Michael Wagner
2019 European Conference on Object-Oriented Programming  
Multitier programming languages address the complexity of developing distributed systems abstracting over low level implementation details such as data representation, serialization and network protocols. Since the functionalities of different peers can be defined in the same compilation unit, multitier languages do not force developers to modularize software along network boundaries. Unfortunately, combining the code for all tiers into the same compilation unit poses a scalability challenge or
more » ... forces developers to resort to traditional modularization abstractions that are agnostic to the multitier nature of the language. In this paper, we address this issue with a module system for multitier languages. Our module system supports encapsulating each (cross-peer) functionality and defining it over abstract peer types. As a result, we disentangle modularization and distribution and we enable the definition of a distributed system as a composition of multitier modules, each representing a subsystem. Our case studies on distributed algorithms, distributed data structures, as well as on the Apache Flink task distribution system, show that multitier modules allow the definition of reusable (abstract) patterns of interaction in distributed software and enable separating the modularization and distribution concerns, properly separating functionalities in distributed systems. ACM Subject Classification Computing methodologies → Distributed programming languages; Software and its engineering → Modules / packages
doi:10.4230/lipics.ecoop.2019.3 dblp:conf/ecoop/WeisenburgerS19 fatcat:e6qs2jjewnagteu647pj6nhgpu