The University of Southampton
University of Southampton Institutional Repository

Lazy buffer semantics for partial order scenarios

Lazy buffer semantics for partial order scenarios
Lazy buffer semantics for partial order scenarios
There exists a unique minimal generalisation of a UML sequence diagram (SD) that is race free, known as the inherent causal scenario. However, practitioners sometimes regard this solution as invalid since it is a purely mathematical construct that apparently does not describe a concrete software engineering solution for resolving race conditions. Practitioners often implement SDs with random access input buffers. Messages are then consumed correctly regardless of the order or time at which they arrive, which appears to avoid race conditions altogether. However, this approach changes the observable system behaviour from that specified. We refer to this approach as the lazy buffer realization of a SD. We introduce an operational semantics for the lazy buffer realization. We prove the inherent causal scenario global behaviour is bisimulation equivalent to the global behaviour of lazy buffer semantics. Hence, in this sense, the practitioners solution is theoretically the best possible. Also this proves that the inherent causal scenario does represent a ‘real-world’ software solution.
419-441
Mitchell, Bill
5d045751-9ef4-4375-9e89-dbae07c90049
Mitchell, Bill
5d045751-9ef4-4375-9e89-dbae07c90049

Mitchell, Bill (2007) Lazy buffer semantics for partial order scenarios. Automated Software Engineering, 14 (4), 419-441. (doi:10.1007/s10515-007-0017-1).

Record type: Article

Abstract

There exists a unique minimal generalisation of a UML sequence diagram (SD) that is race free, known as the inherent causal scenario. However, practitioners sometimes regard this solution as invalid since it is a purely mathematical construct that apparently does not describe a concrete software engineering solution for resolving race conditions. Practitioners often implement SDs with random access input buffers. Messages are then consumed correctly regardless of the order or time at which they arrive, which appears to avoid race conditions altogether. However, this approach changes the observable system behaviour from that specified. We refer to this approach as the lazy buffer realization of a SD. We introduce an operational semantics for the lazy buffer realization. We prove the inherent causal scenario global behaviour is bisimulation equivalent to the global behaviour of lazy buffer semantics. Hence, in this sense, the practitioners solution is theoretically the best possible. Also this proves that the inherent causal scenario does represent a ‘real-world’ software solution.

Text
bill_mitchell_v2.pdf - Other
Download (185kB)

More information

Published date: December 2007
Organisations: Electronics & Computer Science, IT Innovation

Identifiers

Local EPrints ID: 266041
URI: http://eprints.soton.ac.uk/id/eprint/266041
PURE UUID: 6d70cb09-39a6-4b2a-9211-2fbde9d81f45

Catalogue record

Date deposited: 03 Jul 2008 21:34
Last modified: 14 Mar 2024 08:19

Export record

Altmetrics

Contributors

Author: Bill Mitchell

Download statistics

Downloads from ePrints over the past year. Other digital versions may also be available to download e.g. from the publisher's website.

View more statistics

Atom RSS 1.0 RSS 2.0

Contact ePrints Soton: eprints@soton.ac.uk

ePrints Soton supports OAI 2.0 with a base URL of http://eprints.soton.ac.uk/cgi/oai2

This repository has been built using EPrints software, developed at the University of Southampton, but available to everyone to use.

We use cookies to ensure that we give you the best experience on our website. If you continue without changing your settings, we will assume that you are happy to receive cookies on the University of Southampton website.

×