15
T T T Ta a a ab b b b lll le e e e 1111....1111:::: TTTTyyyyppppeeeessss ooooffff ccccoooonnnnccccuuuurrrrrrrreeeennnnccccyyyy ccccoooonnnnttttrrrroooollll,,,, wwwwiiiitttthhhh eeeexxxxeeeemmmmppppllllaaaarrrryyyy ssssyyyysssstttteeeemmmmssss....
Table1.1showspossibleanswerstothisquestionastheresultofinteractionalongtwo
distinctaxes,creatingasimpletaxonomyofapplicationconcurrencymodels.Oneaxisishis-
torystructure,therelationshipsbetweenapplicationoperations’resultantstates,andthe
otheristhetypesofdivergencesupportablewithinagiventypeofhistorystructure.Each
cellofthetablecontainsthenameofapreviouslydescribedsystemthatexemplifiesthat
kindofmodel.Theycanbemorefullydescribedasfollows:
Singlestates.Thiskindofsystemalwayshasawellknown“current”stateforanyshared
object,andthatsinglestateisalwaysaccessible.Inaconvergentsinglestatesystemthe
stateisalwaysfullyconsistentfromtheapplicationperspective,inadivergentsingle
statesystem,someinconsistenciesarepermittedintheapplicationstate.Mostoperating
systemsprovidetheconvergentversionofthisasthebasicfilesystemabstraction.HTTP
1.1,whenusedwiththePUTmethod,andwithoutanyextensions,implementsthedi-
vergentversionofthis,sincethelackoflockingallowschangestobeinadvertently
overwritten.Prosperoalsoimplementsdivergentsingle-stateediting,butguarantees
eventualconvergencewithsomeattempttopreserveeditingintentions.
Multiplesequentialstates.Thiskindofsystempresentsalinearhistoryofsignificant
states,orderedtemporally.Inconvergentsystems,thishistoryalwayscorrespondstoa
serialexecutionhistory.Augment(Engelbart,Watsonetal.1973;Engelbart1984)useda
modellikethis.Inadivergentsystem,theserialorderassumptionwouldnotbetrue,
andsomechangesmightbelostinsubsequentupdates.
Multiplebranchingstates.Thismodelistheonethathasbeenadoptedasthebasisfor
mostsoftwareengineeringsystems(Rochkind1975;Tichy1985).Manystatescorre-
spondingtodifferentpossibleexecutionhistoriesexistinparallel.Whileapessimistic
variantofsuchasystemispossible,itmakeslittlesense,asanyconflictcanberesolved,
serialorderingpreserved,andnochangeslost:simplybycreatinganewbranchwhen-
16
everaconflictoccurs.Insoftwareengineering,anadditionalleveloflockingisusually
performedsothatthecreationofanewbranchrequiresmanualintervention,andlock-
ing(checkin/checkout)isusedtoensurethatthelinearhistoryofeachbranchiscon-
vergent.
Multiplestateswithmerge.Thisvariationissimilartomultiplebranchingstates,withthe
additionofmergedversions.Therelationshipsofindividualstatesformageneralacyclic
graph,sinceseparatebranchescanbereunitedbymergingtwodistinctversions.CVS
implementsadivergentversionofthebranchingmodel,wherelockingisnotperformed,
andautomaticmergeoperationsreplaceexplicitconflictprevention.Contexts(Delisle
andSchwartz1987)areonewaytoextendthismodeltodealwithtraditionalnodeand
linkhypertextdatabases.
Arbitrarystatesets.Thisallowsforessentiallyarbitraryhistories,bytreatingoperations
asfirstclassobjects,ratherthanjustthestatestheycreate.Systemstypicallycreate
suchhistoriesbysupportingout-of-sequenceupdates,undoofarbitraryoperations,or
unrestrictedmergeoperations.Inthemostgeneralcaseanygroupofoperationscanbe
construedasdefiningastate,whoserelationshipsmaybeimplicitlyorexplicitlyman-
aged.Systemsoftenimposerestrictionsonallowedoperationsets,ormakesignificant
performancetradeoffsonwhatcombinationsarelikely.Sincestatesarerelativelyuncon-
strained,divergenceinthiskindofsystemcanbeageneralrule,assyntacticconsis-
tencydoesnotsignificantlyconstrainformsofdivergence.
Thevarietyofsystemsthathaveexperimentedwitharbitrarystatesetsisquitegreat.
Theearliestexample,tomyknowledge,isanunnamedsystemdescribedin(Elliot,Potaset
al.1971).Thissystem,intermediateintimebetweentheHESandFRESSsystems(DeRose
andDam1999),alsodevelopedatBrownUniversity,includedrevisiontracking,storageofan
arbitraryamountofeditinghistory,theselectivedisablingofchangesregardlessoftheir
temporalsequenceandeditingoperationslikemoveandcopy.Thefactthatcollaborators
Previous Page Next Page