30 research outputs found

    A Session Subtyping Tool

    No full text
    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 subtyping, these notions are usually undecidable, and only recently sound (but not complete) algorithmic characterizations for these subtypings have been proposed. But the fact that the definition of asynchronous session subtyping and the theory behind related algorithms are not easily accessible to non-experts may also prevent further integration. The aim of this paper, and of the tool presented therein, is to make the growing body of knowledge about asynchronous session subtyping more accessible, thus promoting its integration in practical applications of session types

    Microservice Dynamic Architecture-Level Deployment Orchestration

    No full text
    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 for automatic reconfiguration that reaches a target system Maximum Computational Load by performing optimal deployment orchestrations. To conceive and simulate our approach, we introduce a novel integrated timed architectural modeling/execution language based on an extension of the actor-based object-oriented Abstract Behavioral Specification (ABS) language. In particular, we realize a timed extension of SmartDeployer, whose ABS code annotations make it possible to express architectural properties. Our Timed SmartDeployer tool fully integrates time features of ABS and architectural annotations by generating timed deployment orchestrations. We evaluate the applicability of our approach on a realistic microservice application taken from the literature: an Email Pipeline Processing System. We prove its effectiveness by simulating such an application and by comparing architecture-level reconfiguration with traditional local scaling techniques (which detect scaling needs and enact replications at the level of single microservices). Our comparison results show that our approach avoids cascading slowdowns and consequent increased message loss and latency, which affect traditional local scaling

    Interference mitigation through adaptive power control in wireless sensor networks

    No full text
    \u3cp\u3eAdaptive transmission power control schemes have been introduced in wireless sensor networks to adjust energy consumption under different network conditions. This is a crucial goal, given the constraints under which sensor communications operate. Power reduction may however have counter-productive effects to network performance. Yet, indiscriminate power boosting may detrimentally affect interference. We are interested in understanding the conditions under which coordinated power reduction may lead to better spectrum efficiency, interference mitigation and, thus, have beneficial effects on network performance. Through a combination of measurements and simulations, we study the relation between transmission power and communication efficiency with the technique of Adaptive and Robust Topology control (ART), showing how power reduction can benefit energy and spectrum efficiency. We identify critical limitations in ART (in terms of stability and adaptivity), discussing the potential of more cooperative power-control approaches.\u3c/p\u3
    corecore