125 research outputs found

    Multiparty Session Actors

    Get PDF
    Actor coordination armoured with a suitable protocol description language has been a pressing problem in the actors community. We study the applicability of multiparty session type (MPST) protocols for verification of actor programs. We incorporate sessions to actors by introducing minimum additions to the model such as the notion of actor roles and protocol mailbox. The framework uses Scribble, which is a protocol description language based on multiparty session types. Our programming model supports actor-like syntax and runtime verification mechanism guaranteeing type-safety and progress of the communicating entities. An actor can implement multiple roles in a similar way as an object can implement multiple interfaces. Multiple roles allow for inter-concurrency in a single actor still preserving its progress property. We demonstrate our framework by designing and implementing a session actor library in Python and its runtime verification mechanism.Comment: In Proceedings PLACES 2014, arXiv:1406.331

    Structural changes and dynamics of industry in the republic of Bulgaria during 2001-2007

    Get PDF
    In this article are investigated the structural changes and the dynamics of the industry in the Republic of Bulgaria and is stressed on the development of the manufacturing industry. With the methods of the retrospective analysis on the basis of statistical information mainly and on personal investigations of the author, the real condition has been defined and the more important tendencies are traced in the development of the manufacturing and the extractive industry and in the production and distribution of electric power, gases and water

    Timed Runtime Monitoring for Multiparty Conversations

    Get PDF
    We propose a dynamic verification framework for protocols in real-time distributed systems. The framework is based on Scribble, a tool-chain for design and verification of choreographies based on multiparty session types, developed with our industrial partners. Drawing from recent work on multiparty session types for real-time interactions, we extend Scribble with clocks, resets, and clock predicates constraining the times in which interactions should occur. We present a timed API for Python to program distributed implementations of Scribble specifications. A dynamic verification framework ensures the safe execution of applications written with our timed API: we have implemented dedicated runtime monitors that check that each interaction occurs at a correct timing with respect to the corresponding Scribble specification. The performance of our implementation and its practicability are analysed via benchmarking

    Portfolio Optimization in Affine Models with Markov Switching

    Full text link
    We consider a stochastic factor financial model where the asset price process and the process for the stochastic factor depend on an observable Markov chain and exhibit an affine structure. We are faced with a finite time investment horizon and derive optimal dynamic investment strategies that maximize the investor's expected utility from terminal wealth. To this aim we apply Merton's approach, as we are dealing with an incomplete market. Based on the semimartingale characterization of Markov chains we first derive the HJB equations, which in our case correspond to a system of coupled non-linear PDEs. Exploiting the affine structure of the model, we derive simple expressions for the solution in the case with no leverage, i.e. no correlation between the Brownian motions driving the asset price and the stochastic factor. In the presence of leverage we propose a separable ansatz, which leads to explicit solutions in this case as well. General verification results are also proved. The results are illustrated for the special case of a Markov modulated Heston model

    Multiparty session types for dynamic verification of distributed systems

    Get PDF
    In large-scale distributed systems, each application is realised through interactions among distributed components. To guarantee safe communication (no deadlocks and communication mismatches) we need programming languages and tools that structure, manage, and policy-check these interactions. Multiparty session types (MPST), a typing discipline for structured interactions between communicating processes, offers a promising approach. To date, however, session types applications have been limited to static verification, which is not always feasible and is often restrictive in terms of programming API and specifying policies. This thesis investigates the design and implementation of a runtime verification framework, ensuring conformance between programs and specifications. Specifications are written in Scribble, a protocol description language formally founded on MPST. The central idea of the approach is a dynamic monitor, which takes a form of a communicating finite state machine, automatically generated from Scribble specifications, and a communication runtime stipulating a message format. We extend and apply Scribble-based runtime verification in manifold ways. First, we implement a Python library, facilitated with session primitives and verification runtime. We integrate the library in a large cyber-infrastructure project for oceanography. Second, we examine multiple communication patterns, which reveal and motivate two novel extensions, asynchronous interrupts for verification of exception handling behaviours, and time constraints for enforcement of realtime protocols. Third, we apply the verification framework to actor programming by augmenting an actor library in Python with protocol annotations. For both implementations, measurements show Scribble-based dynamic checking delivers minimal overhead and allows expressive specifications. Finally, we explore a static analysis of Scribble specifications as to efficiently compute a safe global state from which a monitored system of interacting processes can be recovered after a failure. We provide an implementation of a verification framework for recovery in Erlang. Benchmarks show our recovery strategy outperforms a built-in static recovery strategy, in Erlang, on a number of use cases.Open Acces

    Customer loyalty in retail banking

    Get PDF
    The concept of brand loyalty has intrigued researchers and practitioners for over 95 years. The extensive attention that is paid to the "loyalty" phenomenon, is due to the fact that, it is an integral part of companies' mission to create value - for customers and investors. With increasing the intensity of competition and globalization of financial markets, building customer loyalty becomes a strategy of critical significance for the success of financial companies. A problematic area in the theory of loyalty in the service sector is the variety in definitions and lack of consistency about concepts, views and opinions with respect to what is loyalty to a financial service provider, what are its dimensions and Β how to be defined, measured and managed. Which this in mind, the main focus of this paper is studying the theoretical fundamentals of customer loyalty in retail banking and outputting a relevant conceptual definition for the phenomenon. Basic operational and conceptual definitions are discussed and the specific features of customer loyalty are clarified from a financial sector perspective
    • …
    corecore