Enabling the Concurrent Editing of Multiple Models
Background
Vitruvius is a framework for view-based system development. It implements the idea of a Virtual Single Underlying Model (V-SUM), where multiple models are combined to describe a system. As the models share information, consistency relations between them must be maintained. This is done automatically with Consistency Preservation Rules (CPRs).
Since a V-SUM combines information from multiple domains, it should be concurrently editable. However, concurrent changes may be in conflict, or violate consistency relations. Even if two users only change their own model, applying CPRs may produce conflicting changes between these models.
Tasks
To handle conflicts and consistency violations, we are currently developing a Transaction Manager component for Vitruvius. It ensures the consistency-preserving application of changes by using locking algorithms from databases, and rolling back edits if they cannot be applied, or would violate consistency relations. You will aid in the development of the Transaction Manager and implement various functionalities, for example:
- Determining what consistency rules should be checked for a transaction
- Implementing efficient locking algorithms
- Implementing strategies to resolve deadlocks between transactions
Technologies
Java, EMF, Maven