Elamur Research

Distributed Wikis: A Survey

Paper · 2014 · Alan Davoust, Hala Skaf‐Molli, Pascal Molli et al.

Summary

When a wiki has a single home, contributors know where to find a page and where their edits will appear. They also depend on the organization that runs it, on the service being reachable, and on a publishing process that ordinarily presents one current version of each topic. Distributed Wikis: A Survey asks what happens when independent participants host the wiki themselves. The paper draws its boundary at administrative control. An organization can spread a conventional wiki across many machines and still decide centrally what to host and how changes are published. A distributed wiki, in the authors’ sense, gives independent participants responsibility for hosting and operating parts or copies of the wiki.

The authors distinguish three families by what their participants gain from distribution. Highly available wikis keep the familiar experience of a shared wiki while spreading work among sites. A structured network assigns pages to particular peers and routes requests to them. A fully replicated network lets a participant read and edit a local copy while disconnected, then automatically exchanges and reconciles edits after connectivity returns. Decentralized social wikis also let contributors work separately, but the participants decide when to publish and whose changes to bring into their copies. Shared pages can converge within a collaborating group even as other groups continue in different directions.

Federated wikis give persistent differences a place in the reading experience. Independent sites can host different pages under the same title, and readers can browse or search across sites to encounter those versions. A contributor who wants to revise a remote page can copy it into a local wiki and edit the copy. The authors represent the resulting collection as a directed hypergraph: a title-based link leads from its source page to a set of possible destinations. In a conventional wiki, the same kind of link has at most one destination.

The paper compares existing systems through their page placement, search, update propagation, and conflict handling. It also traces the same concurrent edits through different designs. A manual merge can leave a coherent page while discarding another contributor’s work. Automatic merging can retain all the illustrated edits and bring replicas into agreement, though agreement alone gives no assurance that the resulting prose makes sense. Selective sharing can bring some collaborators into agreement while leaving others with a different version. The survey connects these outcomes to decisions about who controls publication, which copies should agree, and what readers can discover.

Deep dive: Distributed Wikis: A Survey

A survey of distributed wikis explains how independent sites share pages, reconcile edits, and let readers explore competing versions of a topic. · about 40 minutes to read

The problem and its context

What a common home gives a wiki

A conventional wiki makes a collaborative document feel like an ordinary webpage. A reader can open it in a browser, enter an editing view, and submit a revised version. A writer can refer to another page by title, using a wikilink embedded in the page’s text. The wiki engine interprets that reference and takes the reader to the corresponding page. Within the wiki, titles serve as stable names for the current pages. This arrangement gives contributors a shared place to start and gives readers a predictable way to move from topic to topic.

Hosting the engine and the collection under one administration makes these conventions relatively easy to explain. The server can answer what a title refers to, whether someone has saved a new version, and which content a reader will receive. As a wiki attracts more contributors and readers, the organization running it also has to support more storage, traffic, and maintenance. The authors use Wikipedia to illustrate the distinction between spreading infrastructure across machines and distributing responsibility across independent participants. Its technical infrastructure spans machines, while an organization still manages the service.

Central hosting also ties the availability of the work to that of the service and its operator. An editor who cannot reach the server cannot continue through the normal editing interface. A longer interruption at the organization can put continued access to the collection at risk. Independent hosting offers a way to share responsibility for storing and serving material. How much access survives a disconnection still depends on what a site has stored locally and which operations it can perform using that copy.

The authors also discuss a publishing problem that can occur while every connection is working. An editorial change may concern several pages whose contents depend on one another. Saving the pages in sequence can expose a reader to a partly updated collection. The survey compares this to the intermediate state a database can expose when related writes lack transactional support. The problem separates the time at which an editor performs the individual changes from the time at which the group of changes should become visible to collaborators.

Editorial disagreement and technical conflict

Two contributors can agree on a page’s purpose and still interfere with each other. Both may open the same version, modify it independently, and submit the result. If the later submission simply replaces the server’s content, it can erase the earlier contribution even when the editor had no reason to suspect another save. The paper describes safeguards that either keep writers from editing the same page simultaneously or identify competing versions when someone saves. Both add information beyond the page’s title and text. A lock can reserve the page for an editor, while a timestamp can reveal that the version a contributor opened has since changed.

The alternatives described in the survey give different jobs to the software and the contributor. With a lock, the system controls when people may write. With parallel editing, it permits overlapping work and has to deal with the consequences when revisions meet. A server can accept the earliest save and ask subsequent editors to reconcile their work with the new current version. It can also combine changes automatically and ask for human help in cases it detects as especially problematic. The authors describe Wikipedia as using human intervention for difficult merges, where a mechanically assembled result may have an undesirable meaning.

An edit war presents a different problem. Contributors may understand one another’s changes perfectly and still regard the competing text as something to undo. A merge algorithm can preserve compatible insertions or impose a consistent order on them. The question of whether the wiki should present a single account, and which account it should present, belongs to the collaboration process. The authors discuss Wikipedia’s aim of a neutral account alongside the possibility that readers might benefit from seeing competing treatments of a disputed topic. Showing a current page and keeping earlier revisions available gives those treatments a different status from presenting them as contemporaneous alternatives.

These issues explain why distributing storage leaves substantial design work. A system intended to share hosting costs may preserve the convention of one authoritative page per title. A system for independent editorial groups may let them choose where to exchange revisions and which pages to work on together. A system that makes alternative viewpoints accessible has to help a reader find and distinguish several pages in active use. The authors’ survey treats those as different objectives even where their software uses similar mechanisms.

Why the earlier systems needed a common description

The papers and projects surveyed used terms such as peer-to-peer wiki, offline wiki, and federated wiki. Each term can emphasize a different feature. A peer-to-peer network describes how participating sites communicate. The ability to work offline depends partly on what an editor can access and save locally. Federation, in the authors’ classification, has implications for ownership, browsing, and the continued existence of different versions. Looking only at the network can therefore obscure the differences that matter to editors and readers.

The survey draws on prior work on structured peer-to-peer overlays, optimistic replication, and collaborative writing. Structured overlays provide rules for routing a request toward the peer responsible for a key. Optimistic replication lets a site apply a change before it has reached every copy, leaving the system to propagate it and handle conflicts later. Work on multi-synchronous collaboration supplies a way to describe people alternating between independent editing and periods of sharing. The survey also draws a connection to distributed version control, where a participant can work on a local copy and decide when to bring in another contributor’s revisions.

Against that background, the paper asks the same questions of each family. Who hosts a particular page, and how does a reader find it? When does an edit reach another site, and who decides whether to incorporate it? If two sites hold different content for a title, is that a temporary state the software must repair, an outcome their editors can choose, or material the reading interface should expose? The authors use the conventional wiki as a common starting point so that changes to each operation have a concrete meaning.

The method, step by step

The survey proceeds by specifying a small set of ordinary wiki operations, extending them for each architecture, and tracing the consequences with examples. The inputs to this comparison are existing systems and illustrative editing and browsing scenarios. The authors describe the operations for a simplified wiki first so that the extra work required by distribution is visible. Their initial description separates the state of the pages from the machines that store them.

How the survey compares distributed wiki designs

The steps in order.

How the survey compares distributed wiki designsStep 1: Define pages, titles, links, and basic operations1. Define pages, titles, links, and basic operationsStep 2: Separate page connections from connections between sites2. Separate page connections from connections between sitesStep 3: Specify how each architecture places pages3. Specify how each architecture places pagesStep 4: Trace how readers retrieve pages4. Trace how readers retrieve pagesStep 5: Trace how sites exchange and combine edits5. Trace how sites exchange and combine editsStep 6: Replay the same concurrent editing scenario6. Replay the same concurrent editing scenarioStep 7: Compare agreement, editorial control, and communication cost7. Compare agreement, editorial control, and communication cost

The authors represent the conventional wiki as a directed graph. A page is a node. A wikilink in its content creates a directed connection to another page when that target exists. The direction matters because a reference from the source page does not itself provide a reference back. A link can appear in the text before the destination page has been written. A real wiki may use such a link to open a creation form, while the graph records navigable connections among existing pages.

W = ⟨id, G⟩

Here W is the wiki, id is its identifier, and G is its page graph. The angle brackets group the identifier and graph into an ordered collection. The identifier gives users a way to locate the wiki, usually through its domain name in the conventional case.

G = ⟨P, E⟩

Here G denotes the graph, P is the set of pages, and E is the set of directed edges between pages. The notation inside the brackets lists the two components. The edges go from pages in P to pages in that same set.

p = (L, content)

Here p is an individual page, L is its title, and content is its wikitext. The parentheses group the title and content as an ordered pair. In the survey’s representation the content can include ordinary text, annotated links, and embedded media. Square brackets around a label, as in [L], denote a wikilink using that label. The brackets are the authors’ notation for the annotation, independently of the spelling a particular wiki uses in its source text.

(P₁, P₂) ∈ E ⇔ content₁ contains [L₂]

P₁ and P₂ are pages already in the page set. content₁ is the first page’s content, and [L₂] is a wikilink bearing the second page’s title, L₂. Membership in E means the ordered pair is an edge from P₁ to P₂. The double arrow means each side holds exactly when the other does. The paper illustrates this with the English Wikipedia page titled Nantes. A link in that article to Loire-Atlantique gives the page graph an outgoing edge to the article for that title, provided the destination exists.

L₁ = L₂ ⇒ content₁ = content₂

L₁ and L₂ denote the titles of two pages in the same conventional wiki. content₁ and content₂ denote their contents. The implication says that equality of the titles entails equality of the content. It expresses uniqueness in the current page graph. Historical revisions can still exist in an implementation. The property concerns what the title identifies in the state that is being described.

Give each operation a precise effect

Viewing begins with a lookup by title. If a page exists, the server returns its content for display. Creating a page starts with an editing form and saves the submitted content under the new title. Editing loads an existing page into the form and saves the edited content under its title. Deleting takes the identified page out of the graph and removes its incident edges. The paper distinguishes that operation from the social procedure that may precede it. A wiki may require contributors to request deletion and leave execution to an administrator after review.

A save has effects on both the page and its outgoing references. The operation determines which annotated titles in the old and new content have existing targets. It removes the old outgoing edges and inserts the outgoing edges supported by the new content. Edges retained in both sets survive the update. This describes the intended graph change in addition to the replacement of the page text. Traditional page creation uses the same save operation, taking the previous content to be empty.

E ← (E ∖ links_old) ∪ links_new

E is the wiki’s edge set. links_old and links_new are the outgoing edges obtained from the previous and submitted content, respectively, by resolving references to pages that exist. The left arrow means assignment. The set difference ∖ removes the old outgoing edges, and the union ∪ adds the new ones. Parentheses group the removal before the addition.

The basic operations describe a single action at a time. Concurrency requires additional handling because the content an editor read and the content the server holds at submission may differ. The simplest benchmark in the paper is an ordinary request and response. The authors then count exchanges for a conflict-handling procedure in which contributors may have to reload and resubmit. The expression for this case describes the communication for the concurrent edit and manual reconciliation process.

m² + 3m − 2

m is the number of contributors who edit the same page concurrently and all attempt to save. The expression gives the total number of messages between their clients and the server in the manual-merge case cited by the authors. The superscript squares m, 3m means three times m, and the final term subtracts 2 from the sum. The paper uses this result with its particular conflict procedure. The small request-response baseline applies to the simpler operations with concurrency set aside.

Add a second graph for the participants

A wiki’s page graph tells a reader where a page refers. Distribution introduces a separate graph that tells the system how participating sites are connected. A network connection can exist between sites whose pages have no wikilinks to each other. A page link can also name a destination stored beyond the site handling the request. Keeping the graphs apart lets the authors say which sites store content, which sites exchange it, and which pages a reader can navigate to.

N = ⟨S, C⟩

N is the participant network. S is the set of participant sites, and C is the set of connections between them. The angle brackets group these components. The significance of a connection changes with the architecture. It can be a routing relationship maintained by a protocol or a relationship through which participants follow and exchange work.

The survey varies page placement independently of the connections. A page can have a designated host, every site can store a copy of the collection, or participants can decide what to keep. The paper then revisits the ordinary operations under each arrangement. If the destination is remote, lookup needs a way to find it. If accessible copies exist in several places, save needs a rule for distributing and integrating changes. Some architectures give the software responsibility for these decisions. Others expose them to the participant or reader.

Route ordinary operations through a structured overlay

A highly available structured wiki divides the page collection among participants. A distributed hash table, or DHT, gives the network a way to associate a key with a responsible peer and to route requests to that peer. The page title typically supplies the key. The logical wiki still presents one collection. A wikilink can cross from a page stored at one site to a page stored at another, even though an individual site need not have a complete view of the collection.

W = ⟨G, N, M⟩

W is the structured wiki, G is the traditional page graph, and N is the structured network of participants. M is the placement function. The angle brackets put the page graph, network, and placement function together in the description of the wiki.

M : P → S

M assigns each page in P to its responsible participant in S. The colon introduces the function’s type. The arrow runs from its domain, the set of pages, to its destination set, the participants. A DHT protocol implements that assignment as well as the routing needed to reach the assigned peer. With backup replication, the responsible peer remains central to this description of a page’s assignment.

The basic read, remove, and write actions can use the DHT’s corresponding get, remove, and put operations. From an editor’s standpoint, saving still concerns a page identified by its title. Internally, the request may travel through several participants before the responsible site processes it. That site can manage concurrent edits with the same broad choices available to a conventional server, including locking or accepting concurrent work and resolving collisions when it arrives.

A structured wiki can also keep backup copies. With optimistic replication, the site receiving a modification applies it and later passes it along to the other copies. The paper describes these copies as backups kept by the system, with users ordinarily directed to the responsible peer. Membership changes affect the placement mechanism itself. When a participant joins or leaves, the routing information may have to change and pages may have to move so that the remaining assignment continues to share the load.

O(log(n))

O denotes an asymptotic order of growth, log denotes a logarithm, and n is the number of participant sites. The parentheses enclose the quantity whose growth is being described. This is the paper’s typical message complexity for a DHT lookup. It is a statement about routing as the network grows.

O(log(n) + k)

O again describes order of growth, log(n) is the routing term for n participants, and k is the page’s degree of replication. The plus sign combines the routing and update-propagation terms. The survey gives this bound for removing or saving a page when the copies can be updated with a number of messages proportional to k, as in its case where replicas are kept near the main location in the overlay.

O(1) to O(log(n))

O describes order of growth, 1 denotes a constant term, and log(n) denotes logarithmic growth in the number of participants n. The word to gives the range the authors report across DHT protocols for the messages needed to update routing tables on a join or departure. Moving page data is a separate part of the operation.

O(k · |P| / n)

k is the replication degree, |P| is the number of pages, and n is the number of participants. The centered dot denotes multiplication, the slash denotes division, and the vertical bars denote the size of the page set. O expresses the growth of the estimated number of pages to redistribute. The estimate assumes approximately uniform placement. It concerns page transfers and is distinct from the range for routing-table messages.

Replicate the complete wiki for local work

A highly available unstructured wiki typically gives each participant a copy of the whole collection. The user reads, follows links, and edits against the local wiki. This makes it possible to keep working while separated from other peers. Once connections return, the software exchanges changes so that completed updates can reach the other copies. A link leads to the local replica because that is the collection the reader is browsing.

W = ⟨Ω_G, N⟩

W is the unstructured wiki, Ω_G is the collection of local page graphs, and N is the unstructured network of participants. Each site hosts one of the graphs in Ω_G. The angle brackets pair the collection of graphs with the network across which their updates travel.

∃t_f > t_k, ∀i, j ∈ [1 … n], G_i(t_f) = G_j(t_f)

The existence symbol ∃ says there is a time t_f later than t_k, the time of the final action in a finite editing sequence. The greater-than sign orders those times. The universal symbol ∀ applies the condition to every pair of participant indices i and j. The membership sign ∈ places both indices in the range from 1 through n, the number of participants. G_i(t_f) and G_j(t_f) denote the page graphs at those sites at the later time. The equals sign requires the graphs to be identical. This is the paper’s eventual-consistency condition under eventual delivery of updates.

The qualification about delivery matters because a disconnected participant can save changes that nobody else has seen yet. A locally completed save and a globally synchronized state are different events. The paper describes gossip, in which peers propagate updates among themselves, and anti-entropy exchanges, in which peers reconcile missing updates. The latter let a peer catch up after it has been disconnected. The authors distinguish that case from joining for the first time. A new peer copies a wiki from an existing participant, including the editing history needed for merging. A returning peer has the history it retained locally and can exchange missing material.

Creating or editing a page starts with a local save, and deleting it starts with a local removal. For the design to converge, the corresponding changes must eventually reach every site. The paper sketches save as looking up the local content, merging it with submitted changes, installing the result, and disseminating it. Its discussion of synchronization uses histories of operations. An ordinary textual difference procedure can express changes between old and new content as the underlying insertions and deletions.

The reason for doing the merge automatically is especially clear when sites disconnect. A lock acquired at one site would have to prevent writes at other sites, including sites that cannot receive it. Letting those peers write and asking their users to reconcile every collision later would make the process depend on people returning to conflicts long after the work took place. The paper sees automatic integration as the practical design for a fully replicated wiki that permits independent offline editing. It also suggests marking content produced through concurrent integration so contributors can see where a review might matter.

The paper distinguishes causality, convergence, and intention preservation, together called CCI consistency. Causality constrains executions to respect dependencies among operations. Convergence requires the replicas to reach the same state after editing and delivery settle. Intention preservation concerns whether an operation retains the effect it had in the state in which its author produced it. This last property is specified at the level of an editing operation. Editorial judgments about the resulting passage are a separate matter.

The authors illustrate the gap between causal order and convergence with insertions involving X, Y, and Z in the text be. The insertion of X precedes both other insertions in the causal order. The insertions of Y and Z are concurrent with each other. One site can apply them in an order that yields bXYZe, while another can apply them in an order that yields bXZYe. Both have honored the requirement to process the insertion of X first. The example motivates a reconciliation rule that deals with concurrency as well as dependencies among changes.

O(n)

O describes order of growth and n is the number of peers. Here the expression describes the paper’s minimum network-wide message scale for distributing a modifying operation to the fully replicated wiki. A local read involves only the reader’s own site. For joining, the authors emphasize bytes transferred, since copying an entire collection and its history is the substantial part of that operation.

Give collaborators control over synchronization

A decentralized social wiki gives each site a local page graph, as in the fully replicated design. Its network links represent relationships created by participants who choose to follow one another’s work. The architecture lets them pick which pages to replicate, continue to edit locally, publish the work they want to share, and integrate changes they receive. Even while the network is connected, someone can keep unfinished work local or wait before accepting a collaborator’s revisions.

W = ⟨Ω_G, N⟩

W here denotes a decentralized social wiki. Ω_G is the collection of local wiki graphs and N is the socially organized participant network. The brackets group these components. The same notation describes a fully replicated wiki, with a different meaning for the network links and different expectations of agreement among the graphs.

The survey represents publication and retrieval using a changeset. A changeset refers to a prior version and lists editing operations that take the content beyond that version. It can describe work on one page or several. That format lets participants communicate a body of work together without repeatedly transmitting the entire wiki. The shared version supplies the context in which the changes can be interpreted.

In the operation sketches, publishing binds a changeset to an address where other participants can retrieve it and provides for notifying subscribers. Retrieval goes to that address and obtains the changeset. Integration applies a selected operation to local content using a merge procedure. The paper leaves discovery of published changes open to the implementation. A system can notify subscribers through a feed or give collaborators a way to query for available changes. These alternatives implement the same basic distinction between publishing a change and incorporating it.

A published change can reach someone by several routes if participants share work they have received. The merge therefore needs to be idempotent, meaning that another application of the same operation has no additional effect. Otherwise an insertion relayed through two collaborators could be added twice. Selective integration also has to respect dependencies. If a contributor leaves out an operation from a causal history, subsequent operations that depend on it can fall outside what a consistency-preserving algorithm can integrate. A choice about earlier material can thus constrain the choices available later.

The authors describe groups converging on the objects they actually share. In graph terms they discuss strongly connected components, groups in which each site can reach the others along directed collaboration links. The existence of paths is only part of the setup. Participants still have to publish and integrate the relevant changes. A single network can therefore contain communities whose shared pages converge internally and whose local wikis differ across the communities.

O(M)

O expresses growth order, and M in this formula is the average degree of the participant network, measured by its follow-and-synchronize relationships. This local use of M is distinct from the earlier placement function. The prose uses this bound for its average communication characterization of social synchronization. The comparison table writes the mean degree as d.

O(d)

O denotes growth order and d is the average degree of a node in the social network. The table uses the expression for the decentralized social wiki’s save comparison. Its scope is social dissemination of changes among collaborators. The systems discussed can perform the local edit ahead of publication.

Give a title several possible destinations

A federated wiki allows participants to host independent pages on the same topic. A title resolves to the versions that can be discovered, and a reader or a selection policy chooses which version to open. The paper illustrates this with alternative Nantes pages. One links to Grand-Ouest and Pays de la Loire. Another links to Pays de la Loire and Loire-Atlantique. A reference to Pays de la Loire in either page can lead to the available pages bearing that title. The Nantes pages supply different paths through the collection as well as different content about the city itself.

W = ⟨H, N, M⟩

W is the federation, H is its directed page hypergraph, N is its social network of sites, and M records page placement. The angle brackets assemble these components. The social connections help users browse or discover material held by participants.

H = ⟨P, E_h⟩

H denotes the hypergraph, P is its set of pages, and E_h is the set of directed hyperedges. The angle brackets group the set of nodes with the set of links. A hyperedge can lead from an individual page to a set of pages, capturing the fact that several destinations may share the title used by a wikilink.

E_h ⊂ P × ℘(P)

E_h is the hyperedge set, ⊂ indicates inclusion, and × is the Cartesian product that pairs elements from its two operands. P provides the possible source pages. ℘(P) is the power set of P, the set of its subsets, which provides the possible destination groups. A source page is paired with the group of pages that a title-based reference can reach.

M : P → ℘(S)

M maps an individual page in P to a set of participant sites. The colon introduces this function type, the arrow points from its domain to the possible host sets, and ℘(S) is the power set of the participant set S. The mapping records choices made by participants. Someone can host a version by copying it, and several sites can retain exact copies of the same page. Different content bearing the same title constitutes a separate destination.

A federation may preserve title uniqueness inside each participant’s site. In that case, specifying a site as well as a title can identify a particular page. Other designs permit one participant to host several versions of a title. A globally unique identifier, abbreviated GUID, can then distinguish a page independently of how readers phrase a title lookup. The survey discusses using the site and title where local uniqueness holds, or deriving an identifier from the page content with a hash. A link can use that identifier to refer to a specific version if the system can retrieve a page by it.

∀s ∈ S, s ∈ M(P₁) ⇒ s ∉ M(P₂)

P₁ and P₂ here denote pages with the same title and different content. S is the set of sites, s is a participant in that set, and M(P₁) and M(P₂) are the host sets of the respective pages. The universal symbol ∀ makes the statement apply to every site. The implication ⇒ says that membership ∈ in the first host set entails nonmembership ∉ in the second. This is the survey’s optional condition for locally unique titles.

Opening a page now involves title discovery and version selection. The survey first collects matching pages and their hosts, then retrieves the content of the selected page using its unique identity. A system can select automatically according to a preference among sites, or it can present candidates for the reader to choose. Version-specific links let readers refer directly to a known destination. Title-based links let readers encounter a set of related destinations, which can change as participants add versions or leave the network.

L ─search→ {⟨P₁, M(P₁)⟩, …, ⟨Pⱼ, M(Pⱼ)⟩} ─select→ contentₖ

L is the requested title. The first arrow denotes search, and the braces enclose the candidate set. Each pair in angle brackets contains a page and its host set, with M giving that set. The subscripts run through j, the number of matches in the illustration, and the ellipsis stands for the intervening candidates. Every candidate has title L. The second arrow denotes selection, and contentₖ is the content of candidate k, the one chosen for display.

A contributor can bring a remote page into a local repository by forking it. The operation copies the complete page, since the survey’s federation assumes that sender and recipient may have no shared prior version. A subsequent edit creates locally hosted content while leaving the remote author’s page available. Where a site requires local title uniqueness, copying a remote version can displace an existing local version of the same title. Where the site permits several versions, the older content can remain available there as well.

Creation and deletion change membership in the hypergraph. Creating a version adds a candidate to title-based links that can discover it. Deletion removes a local copy. If another site hosts that same page, readers can still obtain it there. When the deleted copy was the last host, the page leaves the described collection, along with its outgoing edges and its place among the targets of other edges. The paper also treats membership and social connections separately from copying pages. A participant can join the network or establish a relationship without thereby acquiring a replica of the whole collection.

Experiments and results

What the survey compares

The paper’s evidence comes from architectural descriptions, examples traced by the authors, and analytical communication costs. Its comparisons use a conventional wiki as the baseline and then ask how distributed designs change reading, writing, and agreement between copies. There is no sampled edit corpus, benchmark split, or measured performance ranking. The paper’s quantitative claims refer to the number of messages an operation requires under stated assumptions and to placements in illustrative examples. The comparison of implemented systems establishes how particular designs realize the categories, with meaningful variation inside each category.

The main editing example starts with the content abc. One contributor inserts X between a and b. Another removes b. The remaining contributor inserts Y between b and c. All begin from the same text. The exercise isolates a case in which editorial goals can be represented by local operations, and those operations arrive through different publication and reconciliation procedures. Timestamps, connections between contributors, and rules for combining updates determine what each person eventually sees.

In the conventional wiki example, the deletion arrives first. The next contributor encounters the newly saved text and resolves the conflict by preserving the deletion along with the insertion of X. At that point the server holds aXc. The contributor inserting Y later resolves the conflict in favor of her own revision, leaving abYc as the current content. The example shows how the final save can supersede earlier decisions even when the system detected the conflicts and gave contributors a chance to reconcile them.

In the highly available example, the illustrated automatic merge yields aXYc. All the contributors can save, and their copies eventually show that result. Both insertions are present and b is absent. The scenario demonstrates a possible outcome under a synchronization algorithm such as WOOT. It makes the benefits of automatic reconciliation concrete at the granularity of characters. It also sets up the paper’s later concern about assigning editorial significance to the mechanical combination of larger changes.

The decentralized social variant holds the starting text and contributions fixed while changing how users exchange them. The contributor inserting X and the contributor removing b follow each other’s work. The contributor who removed b also follows the contributor inserting Y. The two mutually connected collaborators converge in the illustrated exchange, while the third person’s replica remains different. The example uses the ability to acquire work indirectly through a collaborator. It demonstrates agreement with a limited scope, determined by what participants actually share and integrate.

Federation changes what counts as an outcome of collaboration. The relevant examples show how authors can publish versions of a common topic and how a reader can find the different versions. The authors depict multiple editions of the Nantes page and distinguish the distribution of related pages across hosts. The metric in the following chart is the number of sites hosting the indicated material in that placement example. A greater count means that a page is more widely replicated in the example. A federation allows either placement, according to its participants’ copying decisions.

Hosting across sites in the survey’s federated wiki example

The Pays de la Loire version is replicated more widely than the Loire-Atlantique material.

Hosting across sites in the survey’s federated wiki exampleLoire-Atlantique pages: 1Loire-Atlantique pages1Pays de la Loire v.C (this paper): 3Pays de la Loire v.C (this paper)3
The numbers
System or settinghosting sites
Loire-Atlantique pages1
Pays de la Loire v.C (this paper)3

Pays de la Loire v.C is present at every participating site in the example. The Loire-Atlantique pages are held at just one site. The broader placement of the former represents the kind of uneven replication a federation allows. These counts describe the paper’s illustrated network. They give no estimate of typical popularity, and the chart’s direction refers to the extent of replication alone. The same example also permits multiple versions at a site, so placement and the number of distinct versions are separate features.

Where communication is spent

For an ordinary centralized lookup, save, or delete without a concurrent conflict, the baseline is exactly 2 messages. These are the client request and server response. The model abstracts away from the time involved in local processing. When the authors consider manual merges during concurrent editing, the repeated trips required to retrieve a competing version and submit a reconciliation raise the communication burden. The quadratic expression for that case counts the messages for the conflict procedure, instead of the network cost of locating a page.

A structured highly available wiki adds routing through the distributed hash table to reach the site responsible for a title. The paper characterizes the typical route as logarithmic in the number of participants. With backup replication, changing content can add a term proportional to the number of copies that need an update under the assumed placement. Its summary comparison presents the basic save in terms of routing growth. The body of the paper gives the more specific cost for the case in which changes also propagate to backup copies. A join or departure brings separate costs for revising routes and redistributing pages.

The fully replicated comparison moves communication from the reader’s request to the maintenance of copies. Lookup is local, so network-wide growth in participants does not increase the communication required to read the local copy. The paper uses constant order for lookup in its comparison. A modifying operation has to reach the full network, giving it the linear dissemination burden described in the method. Joining also requires substantial data movement because a new participant needs the collection and edit histories. Returning after a temporary interruption can use exchanges for missing updates.

The decentralized social design likewise serves ordinary reads from a local wiki. Its communication analysis instead follows the relationships over which participants publish and integrate revisions. The average degree summarizes how many such relationships a participant has. That description concerns a collaboration neighborhood, with convergence on shared content where the participants have the relationships and update histories needed to support it. It gives no universal total for an update relayed through an arbitrary sequence of collaborating groups.

In a federation, local editing can be inexpensive in messages because a save changes the participant’s own repository. Finding a remote page can be the costly operation. The network has no algorithmic page assignment of the kind that tells a DHT where to direct a key. In the paper’s unstructured broadcast case, reaching every participant takes at least linear message growth with network size. A previously identified version or a local candidate presents a different retrieval task from exhaustive title discovery. The paper’s comparison concerns the cost of searching for copies across the federation.

Read together, the comparisons show where each design places responsibility for discovery and agreement. The structured wiki pays to route title requests. The fully replicated wiki pays to distribute updates and provision complete local copies. The decentralized social wiki makes sharing depend on relationships among collaborators, and the federation can pay to discover dispersed versions at reading time. The paper analyzes these costs for different operations and guarantees, so an order-of-growth value for one operation cannot on its own establish the best choice for an entire workload.

How the representative systems fit

The paper uses Piki and UniWiki to show different ways to handle concurrency in a structured architecture. Piki assigns a primary owner to each page and keeps copies on other peers. The primary handles competing updates in arrival order and calls for manual merging when needed. UniWiki’s front ends store and fetch pages through a distributed hash table, but its storage nodes run the WOOT synchronization algorithm themselves. The underlying routing can support both approaches. The difference concerns what happens after competing changes have been routed to the responsible part of the system.

The other systems placed in the structured group show some variety in addressing and failure handling. DistriWiki uses JXTA for its peer network. Its participants store subsets of pages, and someone seeking to edit a page is expected to find the latest version. The survey gives it no automatic replication or concurrent-edit resolution mechanism. DTWiki is designed for intermittent connections. It builds on a delay-tolerant network and the TierStore file system, whose synchronization can expose conflicting file copies. DTWiki alerts the user and displays a merge of conflicting content, with the user choosing the final text.

In the unstructured group, Wooki and XWiki Concerto keep replicas on all servers. An edit is applied locally, passed among peers through a probabilistic broadcast, and recovered through anti-entropy exchanges if a site missed it. The paper attributes their merging to WOOT and describes its CCI guarantee for connected peers. Swooki extends the approach of Wooki to semantic data. This matters for the survey because a wiki may maintain structured information alongside ordinary prose. In that setting, synchronization has to address changes to the shared data as well as edits visible in the page text.

RepliWiki uses a history scheme called Summary Hash History to determine which updates two sites need to exchange. The update history makes tampering evident and supports automatic identification of missing updates. The authors attribute causality and convergence to its synchronization algorithm. Their comparison thus keeps the mechanisms for locating missing operations and applying them distinct. A replication system needs a way to know what to transfer and a way to process the transferred work so replicas agree.

The social category includes Gollum, git-wiki, and Olelo, which use Git to support local work followed by exchanges at times chosen by collaborators. A contributor can bring in another history and merge it with local work. The survey describes Git’s conflict detection at the granularity of a line, with same-line conflicts left for human resolution. DSMW, or Distributed Semantic MediaWiki, realizes social collaboration through named feeds. It records an operation when a page is modified and applies that operation locally. A participant can then publish chosen work to a push feed. Subscribers retrieve and incorporate it through pull feeds. The survey describes its use of Logoot to provide CCI consistency for synchronized pages.

Smallest Federated Wiki and P2Pedia show two approaches to version discovery and selection. Smallest Federated Wiki prefers a local page when resolving a title, then considers pages on known neighboring servers. Its interface can show pages side by side, and readers can search the known federation for available versions and obtain links that identify the hosts. The system learns about participating servers through browsing and forking activity. This affords a form of social discovery while giving users indirect influence over how the network grows.

P2Pedia uses a peer-to-peer file-sharing search to find candidate versions. The user can choose from the results, with possible ranking based on popularity and social information. A content hash supplies the version identifier. Browsing a page also puts it in the reader’s local repository, and editing keeps the previous version unless the user explicitly removes it. Compared with a site that enforces unique local titles, this design gives the same participant room to hold several versions. The comparison shows that a shared commitment to federation can coexist with different defaults for showing, copying, and retaining pages.

What the ablations show

The survey reports no experimental ablations and instead uses matched editing scenarios, analytical examples, and comparisons among implementations to explain how particular design decisions affect collaboration.

Holding the edits fixed while changing their path

The strongest controlled comparison is the reuse of abc and the same insertions and deletion. The conventional example sends revisions through an authoritative server and lets editors settle conflicts. The fully replicated example lets the contributors save independently and relies on automatic integration. The social example likewise permits independent work, while making the path of synchronization selective. Reading these scenarios together helps locate the cause of each outcome in the treatment of updates, since the underlying edits are the same.

The conventional example shows both the value and the limit of detecting a conflict. The later editor learns that the server has changed and can take that change into account. The editor still has discretion over the result. In the authors’ scenario that discretion first preserves another user’s deletion and later allows a different user to discard it. The procedure protects against ignorance of a competing save. It does not guarantee that an earlier accepted contribution will survive reconciliation.

In the fully replicated case, the automatic merge keeps the deletion and both insertions. Agreement follows when the sites receive and process the changes under the required synchronization conditions. A text result such as aXYc makes the bookkeeping easy to inspect. For a real passage, preserving the local effects of edits can leave the combined text in need of human review. The survey’s suggestion of making automatic merges visible responds to that distinction between retaining the operations and evaluating what they produce together.

The social case changes the group for which agreement is sought. Collaborators who exchange a compatible set of updates can obtain the same text. A contributor outside that exchange can continue with a different copy. In this example the difference is consistent with the network of relationships and the users’ choices. Under full replication, the comparable difference would typically be a temporary state while updates were in transit. The authors use the examples to explain when divergence signals pending system work and when it records the history of editorial participation.

Separating guarantees that sound alike

The insertions of X, Y, and Z into be form another analytical comparison. Both delivery sequences satisfy the illustrated causal order. They give different final texts because the two concurrent operations can be ordered differently at the sites. The result is a counterexample to treating causal consistency as sufficient for equal replicas. It identifies something a convergence guarantee has to add: a way for replicas to handle concurrent operations so the order in which they learn about them does not leave them with different results.

The discussion of Git, Summary Hash History, and replicated data types makes a related distinction between sharing histories and getting equal workspace objects. The paper names three properties of a merge that support agreement across differently arranged exchanges. Commutativity makes the order of inputs immaterial. Associativity makes the grouping of successive integrations immaterial. Idempotence prevents a repeated operation from taking effect again. The survey cautions that Git’s merge lacks the combination of properties required for the described object-level guarantee, even though participants can synchronize shared histories.

The decentralized social examples expose a further constraint on choice. A user who declines an operation may be unable to integrate an operation that depends on it through a consistency-preserving procedure. That constraint follows from using changes anchored in a shared history. A federation can bypass that particular dependency by making an entire page the unit of copying. The difference carries an editorial consequence. Integration can update part of a participant’s ongoing work, whereas forking gives the participant a whole page to retain or revise locally.

The two federation systems illustrate a different kind of comparison, centered on what readers see by default. An interface that prefers a local page can open a plausible destination immediately and offer search for other versions. An interface that searches for candidate versions and prompts a reader to choose makes the plurality visible earlier in the interaction. The authors describe both designs. Their examples explain why title resolution and exposure to viewpoints depend on the browsing interface as well as on the presence of several versions in storage.

Limitations

Limits the authors identify

The paper treats deployment complexity as a serious constraint on adoption. Its architectures require participants to operate interoperable sites, share content through a network, and handle the effects of partial connectivity. At the paper’s horizon, browser communication technologies offered a possible way to lower the barrier. The authors point to browser-based systems as examples of direct connections and peer-to-peer networking. They frame easier deployment as an opportunity for future implementations and experiments.

The authors also identify the editorial limit of automatic synchronization. A procedure can satisfy its rules for integrating operations and still leave people with confusing prose. The survey’s definition of intention preservation refers to the effect of an operation in the editing state in which it was produced. Broader goals such as factual accuracy, coherence across sections, and whether two claims can belong in one passage require assessment beyond that operation. The proposal to flag automatically combined content leaves that assessment with the contributors.

The same issue takes a different form in social wikis. Selective collaboration and dependency-preserving synchronization can pull in different directions. A group can agree on a shared subset of pages while no comparable agreement exists across the entire network. Even inside the group, the authors’ consistency argument depends on the updates participants are willing and able to integrate. A social connection grants a route for collaboration. It does not establish that its endpoints share every prerequisite for every subsequent change.

For semantic wikis, the paper describes a difficulty in keeping machine-readable information aligned with human-edited text. When a wiki derives structured data from edits to prose, external tools that write directly to the data can bypass the mechanism that maintains this alignment. Letting participants edit shared structured data directly creates another route by which the displayed text and the data can drift apart. Full replication also brings storage and traffic burdens that become more consequential when the data collection is large.

The authors identify a representational obstacle for a federated semantic wiki. A conventional semantic wiki can associate a concept with a particular page. The federation can contain several treatments of that concept under one title. A design for editing across the federation needs to decide how those treatments relate to shared data and which changes should reach which data provider. The authors leave open how to transmit edits back to sources that primarily provide read access, how providers might trust those edits, and how changes from human editors should interact with concurrent changes produced by software.

Limits visible in the comparison

The paper’s classification explains mechanisms and use cases, with representative systems as examples. It gives little basis for estimating how frequent the categories are across deployments or how well their requirements match actual communities. There is no stated sampling procedure for a population of wikis. The architecture and features of a named system can support its placement while leaving open how people used it, how long the deployment operated, or how much maintenance it required.

The message bounds also simplify what a maintainer would need to measure. Routing growth does not fix request latency, and a message count does not fix the number of bytes transmitted. The paper acknowledges this directly for copying a new full replica. Concrete traffic would also depend on the size and history of pages, the stage of a reconnection, and the dissemination procedure. The comparison gives the structure of these costs and the conditions on several bounds, while leaving actual throughput and operating costs unmeasured.

The operation sketches define intended behavior at a level that omits many implementation details. For instance, the page graph defines a navigable edge whenever an annotated title has an existing destination. Creating that destination can therefore make references in other pages navigable as well as establish the new page’s outgoing links. The save sketch concentrates on outgoing changes for the saved page. An implementation that stores edges explicitly would have to account for references that become resolvable at creation time. Implementations that resolve titles while rendering can handle the same effect through lookup.

There is a similar level of abstraction in the federated sketches. Identifiers distinguish versions when titles repeat, but the availability of a version still depends on a host that can serve it. Removing a participant, discovering an additional copy, and reconciling what different sites know can all change the candidates a reader sees. The hypergraph represents the available destinations in the described collection. It supplies no general discovery guarantee under disconnection, and the system examples speak of search over the peers known to the implementation.

Finally, the scenarios establish possible editing outcomes through small examples. They do not measure the prevalence of lost updates in manual workflows, the rate of confusing automatic merges, or whether readers understand competing versions better when a federation makes them available. The Nantes example gives an intelligible account of link targets and placement. It does not show how people choose among rival articles, or whether the collaborative groups that form around different topics produce durable or credible accounts. Those questions require evidence about users and content in addition to the communication properties described here.

What came after

The survey closes with open research directions. Subsequent studies that pursued those directions are undocumented here, so the work discussed in this section is the agenda the authors set out.

One direction was to bring participation into the browser. The authors point to WebRTC and browser-based peer-to-peer systems as evidence that direct communication could become easier to deploy. A participant could in principle join a distributed editing system with a compatible browser, making it easier to assemble a group of users or run an experiment. The authors’ examples establish the feasibility of browser-based communication mechanisms. Their proposed application to wiki participation raises separate questions about editing and coordination.

In particular, supporting a live session alongside offline work means bringing changes of different granularity together. People in a live session can generate and see small edits as they happen. An offline contributor may reconnect later with a larger revision prepared against an earlier state. The survey asks how a wiki should combine the two, and how separate instances could discover that they are hosting overlapping real-time sessions. A direct connection can carry an edit quickly. The collaboration procedure still has to establish where the edit belongs and how it relates to changes elsewhere.

The other direction was a federated semantic wiki that could turn linked data into readable, editable documents and let revised information flow back to participating sources. Earlier semantic wikis described by the authors let people author a local dataset and link it to other datasets. The proposed federation would make the broader collection part of the authoring process. A document could assemble information obtained from autonomous providers and give editors a human-readable place to discuss and revise it.

That proposal extends the paper’s central question from pages to data. A title-based link can expose several accounts of the same topic. Updating the data behind those accounts requires decisions about which provider can accept a change, how provenance is represented, and which competing edits should be shared. The survey leaves those mechanisms open. It supplies the distinction a subsequent design would have to preserve between copying a contribution, agreeing on a shared revision, and making independent versions available to readers.

Cite

Cite as Alan Davoust, Hala Skaf‐Molli, Pascal Molli, Babak Esfandiari and Khaled Aslan. 2014. Distributed Wikis: A Survey. HAL (Le Centre pour la Communication Scientifique Directe).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1002/cpe

@inproceedings{alan2014distributed,
  title = {{Distributed Wikis: A Survey}},
  author = {Alan Davoust, Hala Skaf‐Molli, Pascal Molli, Babak Esfandiari and Khaled Aslan},
  booktitle = {HAL (Le Centre pour la Communication Scientifique Directe)},
  year = {2014},
  doi = {10.1002/cpe},
  url = {https://doi.org/10.1002/cpe}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/alan-2014-distributed-wikis-survey/