Balancing Conflict Prevention and Concurrent Work in Real-Time Collaborative Programming

Hongfei Fan,Jiayao Gao,Hongming Zhu,Qin Liu,Yang Shi,Chengzheng Sun
DOI: https://doi.org/10.1145/3127404.3127447
2017-01-01
Abstract:Real-time collaborative programming allows multiple programmers to concurrently edit a shared source code document at the same time. To support semantic conflict prevention in real-time collaborative programming, a dependency-based automatic locking (DAL) approach was proposed in prior work, which automatically grants locks to prevent concurrent work on source code regions with dependency relationships. In observation with several restrictions under the prior DAL scheme, we propose two approaches for supporting a better balance between conflict prevention and concurrent work in real-time collaboration. Firstly, we propose to support multiple locking groups granted for individual programmers during the programming process, where a programmer can continuously work and switch among several source code regions without interruption from others. Secondly, we propose to support customizable locking scope determination, where each programmer can configure fine-grained policy settings to meet diverse collaboration needs in various scenarios.
What problem does this paper attempt to address?