Skip to main content

Showing 1–25 of 25 results for author: Zavattaro, G

Searching in archive cs. Search in all archives.
.
  1. arXiv:2506.06078  [pdf, ps, other

    cs.PL

    A Sound and Complete Characterization of Fair Asynchronous Session Subtyping

    Authors: Mario Bravetti, Luca Padovani, Gianluigi Zavattaro

    Abstract: Session types are abstractions of communication protocols enabling the static analysis of message-passing processes. Refinement notions for session types are key to support safe forms of process substitution while preserving their compatibility with the rest of the system. Recently, a fair refinement relation for asynchronous session types has been defined allowing the anticipation of message outp… ▽ More

    Submitted 6 June, 2025; originally announced June 2025.

  2. arXiv:2504.16703  [pdf, ps, other

    cs.LO cs.FL

    Decidability Problems for Micro-Stipula

    Authors: Giorgio Delzanno, Cosimo Laneve, Arnaud Sangnier, Gianluigi Zavattaro

    Abstract: Micro-Stipula is a stateful calculus in which clauses can be activated either through interactions with the external environment or by the evaluation of time expressions. Despite the apparent simplicity of its syntax and operational model, the combination of state evolution, time reasoning, and nondeterminism gives rise to significant analytical challenges. In particular, we show that determining… ▽ More

    Submitted 23 April, 2025; originally announced April 2025.

  3. arXiv:2503.07273  [pdf, other

    cs.PL cs.DC cs.LO

    Fair Termination of Asynchronous Binary Sessions

    Authors: Luca Padovani, Gianluigi Zavattaro

    Abstract: We study a theory of asynchronous session types ensuring that well-typed processes terminate under a suitable fairness assumption. Fair termination entails starvation freedom and orphan message freedom namely that all messages, including those that are produced early taking advantage of asynchrony, are eventually consumed. The theory is based on a novel fair asynchronous subtyping relation for ses… ▽ More

    Submitted 14 March, 2025; v1 submitted 10 March, 2025; originally announced March 2025.

    ACM Class: F.3.1; F.3.2; F.3.3

  4. arXiv:2412.16060  [pdf, other

    cs.DC

    Adaptable TeaStore

    Authors: Simon Bliudze, Giuseppe De Palma, Saverio Giallorenzo, Ivan Lanese, Gianluigi Zavattaro, Brice Arleon Zemtsop Ndadji

    Abstract: Adaptability is a fundamental requirement for modern Cloud software architectures to ensure robust performance in the face of diverse known and unforeseen events inherent to distributed systems. State-of-the-art Cloud systems frequently adopt microservices or serverless architectures. Among these, TeaStore is a recognised microservice reference architecture that offers a benchmarking framework for… ▽ More

    Submitted 20 December, 2024; originally announced December 2024.

  5. arXiv:2407.14572  [pdf, other

    cs.DC

    Affinity-aware Serverless Function Scheduling

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: Functions-as-a-Service (FaaS) is a Serverless Cloud paradigm where a platform manages the scheduling (e.g., resource allocation, runtime environments) of stateless functions. Recent work proposed using domain-specific languages to express per-function policies, e.g., policies that enforce the allocation on nodes that enjoy lower latencies to databases and services used by the function. Here, we fo… ▽ More

    Submitted 23 January, 2025; v1 submitted 19 July, 2024; originally announced July 2024.

    Comments: 11 pages, 9 figures, 1 listing. arXiv admin note: substantial text overlap with arXiv:2407.14159

  6. arXiv:2407.14159  [pdf, ps, other

    cs.DC

    On the Complexity of Reachability Properties in Serverless Function Scheduling

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: Functions-as-a-Service (FaaS) is a Serverless Cloud paradigm where a platform manages the execution scheduling (e.g., resource allocation, runtime environments) of stateless functions. Recent developments demonstrate the benefits of using domain-specific languages to express per-function scheduling policies, e.g., enforcing the allocation of functions on nodes that enjoy low data-access latencies… ▽ More

    Submitted 19 July, 2024; originally announced July 2024.

    Comments: 26 pages, 3 figures, 2 listing, appendix

  7. arXiv:2406.09099  [pdf, other

    cs.PL cs.DC

    Towards a Function-as-a-Service Choreographic Programming Language: Examples and Applications

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: Choreographic Programming (CP) is a language paradigm whereby software artefacts, called choreographies, specify the behaviour of communicating participants. CP is famous for its correctness-by-construction approach to the development of concurrent, distributed systems. In this paper, we illustrate FaaSChal, a proposal for a CP language tailored for the case of serverless Function-as-a-Service (Fa… ▽ More

    Submitted 13 June, 2024; originally announced June 2024.

  8. arXiv:2405.21009  [pdf, other

    cs.DC

    FunLess: Functions-as-a-Service for Private Edge Cloud Systems

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: We present FunLess, a Function-as-a-Service (FaaS) platform tailored for the private edge cloud system. FunLess responds to recent trends that advocate for extending the coverage of serverless computing to private edge cloud systems and enhancing latency, security, and privacy while improving resource usage. Unlike existing solutions that rely on containers for function invocation, FunLess leverag… ▽ More

    Submitted 31 May, 2024; originally announced May 2024.

  9. Serverless Scheduling Policies based on Cost Analysis

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Cosimo Laneve, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: Current proprietary and open-source serverless platforms follow opinionated, hardcoded scheduling policies to deploy the functions to be executed over the available workers. Such policies may decrease the performance and the security of the application due to locality issues (e.g., functions executed by workers far from the databases to be accessed). These limitations are partially overcome by the… ▽ More

    Submitted 31 October, 2023; originally announced October 2023.

    Comments: In Proceedings TiCSA 2023, arXiv:2310.18720

    Journal ref: EPTCS 392, 2023, pp. 40-52

  10. arXiv:2205.10176  [pdf, other

    cs.DC

    Topology-aware Serverless Function-Execution Scheduling

    Authors: Giuseppe De Palma, Saverio Giallorenzo, Jacopo Mauro, Matteo Trentin, Gianluigi Zavattaro

    Abstract: Cloud-edge serverless applications or serverless deployments spanning multiple regions introduce the need to govern the scheduling of functions to satisfy their functional constraints or avoid performance degradation. For instance, functions may require to be allocated to specific private (edge) nodes that have access to specialised resources or to nodes with low latency to access a certain databa… ▽ More

    Submitted 6 July, 2023; v1 submitted 20 May, 2022; originally announced May 2022.

  11. arXiv:2104.12466  [pdf, other

    cs.DC

    Microservice Dynamic Architecture-Level Deployment Orchestration (Extended Version)

    Authors: Lorenzo Bacchiani, Mario Bravetti, Saverio Giallorenzo, Jacopo Mauro, Iacopo Talevi, Gianluigi Zavattaro

    Abstract: In the context of the BI-REX (Big Data Innovation and Research Excellence) competence center SEAWALL (SEAmless loW lAtency cLoud pLatforms) project (scientific coordinator Prof. Maurizio Gabbrielli) we develop a novel approach for run-time global adaptation of microservice applications, based on synthesis of architecture-level reconfiguration orchestrations. More precisely, we devise an algorithm… ▽ More

    Submitted 4 June, 2021; v1 submitted 26 April, 2021; originally announced April 2021.

  12. arXiv:2104.12455  [pdf, other

    cs.PL cs.FL

    A Session Subtyping Tool (Extended Version)

    Authors: Lorenzo Bacchiani, Mario Bravetti, Julien Lange, Gianluigi Zavattaro

    Abstract: Session types are becoming popular and have been integrated in several mainstream programming languages. Nevertheless, while many programming languages consider asynchronous fifo channel communication, the notion of subtyping used in session type implementations is the one defined by Gay and Hole for synchronous communication. This might be because there are several notions of asynchronous session… ▽ More

    Submitted 28 April, 2021; v1 submitted 26 April, 2021; originally announced April 2021.

  13. Fair Asynchronous Session Subtyping

    Authors: Mario Bravetti, Julien Lange, Gianluigi Zavattaro

    Abstract: Session types are widely used as abstractions of asynchronous message passing systems. Refinement for such abstractions is crucial as it allows improvements of a given component without compromising its compatibility with the rest of the system. In the context of session types, the most general notion of refinement is asynchronous session subtyping, which allows message emissions to be anticipated… ▽ More

    Submitted 4 October, 2024; v1 submitted 20 January, 2021; originally announced January 2021.

    Journal ref: Logical Methods in Computer Science, Volume 20, Issue 4 (October 7, 2024) lmcs:12368

  14. arXiv:2008.01638  [pdf, other

    cs.DC

    Microservice Interface Based Deployment Orchestration

    Authors: Lorenzo Bacchiani, Mario Bravetti, Saverio Giallorenzo, Jacopo Mauro, Iacopo Talevi, Gianluigi Zavattaro

    Abstract: Following previous work on the automated deployment orchestration of component based applications, where orchestrations are expressed in terms of behaviours satisfying component interface functional dependences, we develop a formal model specifically tailored for microservice architectures. The first result that we obtain is decidability of the problem of synthesizing optimal deployment orchestrat… ▽ More

    Submitted 29 September, 2020; v1 submitted 4 August, 2020; originally announced August 2020.

  15. Analysis of SLA Compliance in the Cloud -- An Automated, Model-based Approach

    Authors: Frank S. de Boer, Elena Giachino, Stijn de Gouw, Reiner Hähnle, Einar Broch Johnsen, Cosimo Laneve, Ka I Pun, Gianluigi Zavattaro

    Abstract: Service Level Agreements (SLA) are commonly used to specify the quality attributes between cloud service providers and the customers. A violation of SLAs can result in high penalties. To allow the analysis of SLA compliance before the services are deployed, we describe in this paper an approach for SLA-aware deployment of services on the cloud, and illustrate its workflow by means of a case study.… ▽ More

    Submitted 27 August, 2019; originally announced August 2019.

    Comments: In Proceedings VORTEX 2018, arXiv:1908.09302

    Journal ref: EPTCS 302, 2019, pp. 1-15

  16. A Sound Algorithm for Asynchronous Session Subtyping and its Implementation

    Authors: Mario Bravetti, Marco Carbone, Julien Lange, Nobuko Yoshida, Gianluigi Zavattaro

    Abstract: Session types, types for structuring communication between endpoints in distributed systems, are recently being integrated into mainstream programming languages. In practice, a very important notion for dealing with such types is that of subtyping, since it allows for typing larger classes of system, where a program has not precisely the expected behaviour but a similar one. Unfortunately, recent… ▽ More

    Submitted 3 March, 2021; v1 submitted 30 June, 2019; originally announced July 2019.

    Comments: This is an extended version of the CONCUR'19 version

    Journal ref: Logical Methods in Computer Science, Volume 17, Issue 1 (March 4, 2021) lmcs:5974

  17. arXiv:1901.09782  [pdf, other

    cs.DC

    Optimal and Automated Deployment for Microservices

    Authors: Mario Bravetti, Saverio Giallorenzo, Jacopo Mauro, Iacopo Talevi, Gianluigi Zavattaro

    Abstract: Microservices are highly modular and scalable Service Oriented Architectures. They underpin automated deployment practices like Continuous Deployment and Autoscaling. In this paper, we formalize these practices and show that automated deployment - proven undecidable in the general case - is algorithmically treatable for microservices. Our key assumption is that the configuration life-cycle of a mi… ▽ More

    Submitted 28 January, 2019; originally announced January 2019.

  18. arXiv:1703.00659  [pdf, ps, other

    cs.PL

    On the Boundary between Decidability and Undecidability of Asynchronous Session Subtyping

    Authors: Mario Bravetti, Marco Carbone, Gianluigi Zavattaro

    Abstract: Session types are behavioural types for guaranteeing that concurrent programs are free from basic communication errors. Recent work has shown that asynchronous session subtyping is undecidable. However, since session types have become popular in mainstream programming languages in which asynchronous communication is the norm rather than the exception, it is crucial to detect significant decidable… ▽ More

    Submitted 12 February, 2018; v1 submitted 2 March, 2017; originally announced March 2017.

  19. arXiv:1611.05026  [pdf, other

    cs.PL

    Undecidability of Asynchronous Session Subtyping

    Authors: Mario Bravetti, Marco Carbone, Gianluigi Zavattaro

    Abstract: Session types are used to describe communication protocols in distributed systems and, as usual in type theories, session subtyping characterizes substitutability of the communicating processes. We investigate the (un)decidability of subtyping for session types in asynchronously communicating systems. We first devise a core undecidable subtyping relation that is obtained by imposing limitations on… ▽ More

    Submitted 19 July, 2017; v1 submitted 15 November, 2016; originally announced November 2016.

    Comments: 36 pages

  20. Choreographies and Behavioural Contracts on the Way to Dynamic Updates

    Authors: Mario Bravetti, Gianluigi Zavattaro

    Abstract: We survey our work on choreographies and behavioural contracts in multiparty interactions. In particular theories of behavioural contracts are presented which enable reasoning about correct service composition (contract compliance) and service substitutability (contract refinement preorder) under different assumptions concerning service communication: synchronous address or name based communicatio… ▽ More

    Submitted 13 November, 2014; originally announced November 2014.

    Comments: In Proceedings MOD* 2014, arXiv:1411.3453

    Journal ref: EPTCS 168, 2014, pp. 12-31

  21. Decidability Problems for Actor Systems

    Authors: Frank De Boer, Mahdi Jaghoori, Cosimo Laneve, Gianluigi Zavattaro

    Abstract: We introduce a nominal actor-based language and study its expressive power. We have identified the presence/absence of fields as a crucial feature: the dynamic creation of names in combination with fields gives rise to Turing completeness. On the other hand, restricting to stateless actors gives rise to systems for which properties such as termination are decidable. This decidability result still… ▽ More

    Submitted 3 December, 2014; v1 submitted 17 September, 2014; originally announced September 2014.

    Journal ref: Logical Methods in Computer Science, Volume 10, Issue 4 (December 4, 2014) lmcs:1091

  22. arXiv:1308.0390  [pdf, ps, other

    cs.PL cs.DC cs.LO

    Amending Choreographies

    Authors: Ivan Lanese, Fabrizio Montesi, Gianluigi Zavattaro

    Abstract: Choreographies are global descriptions of system behaviors, from which the local behavior of each endpoint entity can be obtained automatically through projection. To guarantee that its projection is correct, i.e. it has the same behaviors of the original choreography, a choreography usually has to respect some coherency conditions. This restricts the set of choreographies that can be projected.… ▽ More

    Submitted 1 August, 2013; originally announced August 2013.

    Comments: In Proceedings WWV 2013, arXiv:1308.0268

    ACM Class: D.1.3; D.3.3; F.3.2

    Journal ref: EPTCS 123, 2013, pp. 34-48

  23. Adaptable processes

    Authors: Mario Bravetti, Cinzia Di Giusto, Jorge A Perez, Gianluigi Zavattaro

    Abstract: We propose the concept of adaptable processes as a way of overcoming the limitations that process calculi have for describing patterns of dynamic process evolution. Such patterns rely on direct ways of controlling the behavior and location of running processes, and so they are at the heart of the adaptation capabilities present in many modern concurrent systems. Adaptable processes have a location… ▽ More

    Submitted 15 November, 2012; v1 submitted 23 October, 2012; originally announced October 2012.

    ACM Class: D.2.4; F.3.1; F.3.2; F.4.3

    Journal ref: Logical Methods in Computer Science, Volume 8, Issue 4 (November 19, 2012) lmcs:982

  24. arXiv:1202.5850  [pdf, ps, other

    cs.LO

    The Cost of Parameterized Reachability in Mobile Ad Hoc Networks

    Authors: Giorgio Delzanno, Arnaud Sangnier, Riccardo Traverso, Gianluigi Zavattaro

    Abstract: We investigate the impact of spontaneous movement in the complexity of verification problems for an automata-based protocol model of networks with selective broadcast communication. We first consider reachability of an error state and show that parameterized verification is decidable with polynomial complexity. We then move to richer queries and show how the complexity changes when considering pro… ▽ More

    Submitted 27 February, 2012; originally announced February 2012.

  25. Parameterized Verification of Safety Properties in Ad Hoc Network Protocols

    Authors: Giorgio Delzanno, Arnaud Sangnier, Gianluigi Zavattaro

    Abstract: We summarize the main results proved in recent work on the parameterized verification of safety properties for ad hoc network protocols. We consider a model in which the communication topology of a network is represented as a graph. Nodes represent states of individual processes. Adjacent nodes represent single-hop neighbors. Processes are finite state automata that communicate via selective broad… ▽ More

    Submitted 9 August, 2011; originally announced August 2011.

    Comments: In Proceedings PACO 2011, arXiv:1108.1452

    Journal ref: EPTCS 60, 2011, pp. 56-65