Skip to main content
QUICK REVIEW

[Paper Review] Telex: Principled System Support for Write-Sharing in Collaborative Applications

Lamia Benmouffok, Jean-Michel Busca|ArXiv.org|May 30, 2008
Distributed systems and fault toleranceComputer Science17 references8 citations
TL;DR

Telex proposes a principled, application-aware system for collaborative, write-sharing in distributed environments by using an Action-Constraint Graph (ACG) to model concurrency semantics and a multilog data structure to enable efficient, contention-free replication. It decouples application logic from system logic, ensuring consistency and conflict resolution independently of application code, with demonstrated support for multi-document updates and disconnected operation.

ABSTRACT

The Telex system is designed for sharing mutable data in a distributed environment, particularly for collaborative applications. Users operate on their local, persistent replica of shared documents; they can work disconnected and suffer no network latency. The Telex approach to detect and correct conflicts is application independent, based on an action-constraint graph (ACG) that summarises the concurrency semantics of applications. The ACG is stored efficiently in a multilog structure that eliminates contention and is optimised for locality. Telex supports multiple applications and multi-document updates. The Telex system clearly separates system logic (which includes replication, views, undo, security, consistency, conflicts, and commitment) from application logic. An example application is a shared calendar for managing multi-user meetings; the system detects meeting conflicts and resolves them consistently.

Motivation & Objective

  • Address the limitations of existing collaborative systems that either impose high latency (e.g., state machine replication) or lack correctness guarantees (e.g., last-writer-wins).
  • Support disconnected operation and low-latency local updates in collaborative applications without sacrificing consistency.
  • Provide a clean separation between application logic (actions and constraints) and system logic (replication, conflict detection, commitment).
  • Enable application-independent conflict detection and resolution while preserving application-specific concurrency invariants.
  • Design a scalable, efficient storage mechanism for distributed logs that supports locality and avoids write contention.

Proposed method

  • Model application semantics using an Action-Constraint Graph (ACG), which captures concurrency invariants and commutativity properties of operations.
  • Implement a multilog data structure that stores logs per document, decoupling reads and writes to eliminate contention and improve locality.
  • Use a system-level commitment protocol that collects schedules from all sites and ensures consensus on a conflict-free execution order.
  • Support forward execution and rollback via persistent, versioned logs, enabling undo and checkpointing without application-level intervention.
  • Integrate application-specific actions and constraints into the Telex framework, allowing the system to detect and resolve conflicts automatically.
  • Decouple system responsibilities (replication, consistency, security, commitment) from application logic, enabling reuse across multiple collaborative applications.

Experimental results

Research questions

  • RQ1How can a collaborative system ensure consistency and correctness in disconnected, optimistic environments without relying on a primary site?
  • RQ2Can a formal model of concurrency semantics (via ACG) be used to enable application-independent conflict detection and resolution?
  • RQ3How can storage structures be engineered to minimize contention and maximize locality in distributed, write-sharing scenarios?
  • RQ4To what extent can the separation of application logic from system logic improve extensibility and correctness in collaborative systems?
  • RQ5What performance characteristics can be achieved in practice with a system based on ACGs and multilogs for collaborative editing?

Key findings

  • Telex successfully decouples application logic from system logic, allowing applications to specify only actions and constraints while the system handles replication, consistency, and conflict resolution.
  • The multilog structure effectively eliminates write contention and improves locality, outperforming traditional file systems for collaborative, mutable data.
  • The system supports multi-document updates and cross-application scenarios natively, without requiring application-specific modifications.
  • Telex enables disconnected operation with no network latency, as local actions are applied immediately and synchronized later.
  • Performance benchmarks show that Telex scales well under concurrent updates, with efficient conflict detection and resolution based on ACG semantics.
  • The system demonstrates correctness guarantees through formal enforcement of application invariants, even in the presence of concurrent, conflicting operations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.