Unified Interference-free Parallel, Concurrent and Distributed Programming
Year: 2016
Type: dissertation
Abstract: Concurrency, the art of doing many things at the same time, is growing in importance every year.For almost a decade, computers are no longer getting faster the same way they have been before, but they gain the ability to do more work in parallel.Most modern programs and their functionality rely on global distributed infrastructure: communication between computers has become essential, distributed systems are becoming the norm, not the exception.Although the integration of systems and programs becomes tighter and tighter, two areas are still most often treated as separate: local concurrency and parallelization, versus distribution.While there are concurrency programming models that can operate in both areas, they are often a compromise: they rarely take full advantage of shared memory available in a machine and, at the same time, give the developers inadequate tools to handle complex atomicity violations.The result is that software is often written using an unsafe multi-threading approach coupled with simple message passing for communication between computers.This work improves the current state of the art in two ways.First by addressing the problem that these models often disregard the dependencies between requests, resulting in atomicity violations similar to data races.Second by reconciling models for concurrency and distribution with shared memory.For the first, this work extends the Scoop concurrency model for distributed programming.Scoop provides interference-freedom to minimize atomicity violations, but is restricted to local computing only.With distribution, failure handling is important: we present a novel approach -compensations s-which are inspired by transactions, to let supplier and clients both contribute to failure mitigation.The core semantics of distributed Scoop, the result of this endeavor, is described formally using a transition semantics that can be used as a specification for implementations.A prototype of D-Scoop shows that interference-freedom can be achieved without sacrificing performance.For the second, this work presents two techniques:Slicing A technique for handling arrays Immutable Classes A technique for handling complex immutable data With our work on integration of shared memory computing and distribution we combine local concurrency and parallelism with distribution to form a general model.vii
Author: Schill, Mischael
Institution: ETH Zurich
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2584975182
