面向对象的分布式系统语义多粒度锁定模式(IJITCS-V5-N5-10)

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

I.J.InformationTechnologyandComputerScience,2013,05,74-84PublishedOnlineApril2013inMECS()DOI:10.5815/ijitcs.2013.05.10Copyright©2013MECSI.J.InformationTechnologyandComputerScience,2013,05,74-84SemanticMulti-granularLockModelforObjectOrientedDistributedSystemsV.GeethaDepartmentofInformationTechnology,PondicherryEngineeringCollege,Puducherry,IndiaE-mail:vgeetha@pec.eduN.SreenathDepartmentofComputerScience&Engineering,PondicherryEngineeringCollege,Puducherry,IndiaE-mail:nsreenath@pec.eduAbstract—Inobjectorienteddistributedsystems(OODS),theobjectsareviewedasresources.Concurrencycontroltechniquesareusuallyappliedonthedatabasetier.Thishasthelimitationsoflackofsupportoflegacyfilesandrequirementofseparateconcurrencycontrolmechanismsforeachdatabasemodel.Henceconcurrencycontrolontheobjectsatservertierisexplored.Toimplementconcurrencycontrolontheobjectsparticipatinginasystem,theimpactofmethodtypes,propertiesandclassrelationshipsnamelyinheritance,associationandaggregationaretobeanalyzed.Inthispaper,thetypesandpropertiesofclassesandattributesareanalysed.Thesemanticsoftheclassrelationshipsareanalysedtoascertaintheirlockmodes,granulesizesfordefiningconcurrencycontrolinOODS.Itisalsointendedtoproposecompatibilitymatrixamongalltheseobjectrelationships.IndexTerms—ObjectOrientedDistributedSystems,ConcurrencyControl,MultiGranularLockModel,ClassRelationships,DesignTimeTransactions,RunTimeTransactionsI.IntroductionObjectOrientedDatabaseManagementSystems(OODBMS)providesbettercomplexdatamodelingsupportforthenewlyemergingdistributedapplicationsthanrelationaldatabases.OODBMSisusedaspersistentdatastorefordistributedsystems.Itresidesinthedatabasetier.Howeverindistributedsystems,theservertierisimplementedasprocedures.Thisrequiresaconversionbetweenproceduralparadigmtoobjectorientedparadigmandviceversaforallthecommunicationsbetweenservertieranddatabasetier.Furthereachofthedatabasemodelsindistributedsystemshasitsownconcurrencycontrolmechanismsthatcannotbeadaptedtoanyoftheothermodels.Theconcurrencycontrolpoliciesaredefinedonlyforthedatabasetier.Theservertierhasnocontrolovertheconcurrencycontrol.Thisintroducesarestrictionofusingonlytherefinedpersistentdatastoreforthedomaindatalikedatabasemanagementsystems.Primitivedatastoreslikefilesarenotsupportedindistributedsystemsandhencetheycannotbereused.TheabovelimitationscanbeovercomeinOODS.InOODS,theservertierisalsoimplementedasobjects.Sotheconversionofdataformatbetweenservertieranddatabasetierisnotnecessary,ifOODBMSprovidespersistentdatastorage.Howeverconversionofdataformatisrequired,ifotherdatabasemodelsareused.Hencethepossibilityofprovidingacommonconcurrencycontrolmechanismthatisindependentofthepersistentdatastoretypeisexploredin[1]byshiftingtheconcurrencycontrolfromdatabasetiertoservertier.InOODS,objectsarethereusabledatasources.Theclientscanaccessthedatafromthedatastoreindatabasetieronlythroughtheobjectsintheservertier.Henceacommonconcurrencycontrolmechanismcanbedefinedfortheobjectsintheservertier.Theotheradvantageofthisshiftintheconcurrencycontroltotheservertierallowsusageoflegacydatastores.Alreadysemanticconcurrencycontrolmechanismshavebeenproposedforobjectorienteddatabasesbyexploitingtheobjectorientedparadigmfeatures.Theyout-performtheconventionalconcurrencycontrolmechanismsforOODBMS.HencethefeasibilityofextendingthesamemechanismstoOODSmaybeanalyzed.OODSsupportcontinuouslyevolvingdomainsinwhichtheservicesarefrequentlyenhancedtoprovidebetterclientsupport.Hencetransactionsprovidingruntimeservices(runtime)anddesignupdates(designtime)aretobesupported.ThoughconcurrencycontrolmechanismsinOODBMScanbeconsidered,theycannotbeextendedastheyareinOODS.Thisisbecausequerylanguagesareusedtoaccessdatabases.ButinOODS,objectorientedprogramminglanguageslikeC++,Javaareusedtomakeclientrequests.ThenlocktypesandSemanticMulti-granularLockmodelforObjectOrientedDistributedSystems75Copyright©2013MECSI.J.InformationTechnologyandComputerScience,2013,05,74-84granularitiesofresourcesaretobeascertainedfromtheclientcode.ThedoctoolslikedocC++,Javadoccanbeusedforidentifyingthemethodtypeandproperties.Followingthis,thecompatibilitymatrixusedinOODBMScanbeconsideredforadoptioninOODS.InOODBMS,lockmodesaredefinedonlyforconcreteclasses.Thelockmodesforabstractclassesarenotascertained.ThecompatibilitymatricesforinheritanceandaggregationhavebeendefinedforOODBMS.Tousethosematrices,locktypesandgranulesizesaretobedeterminedforinheritanceandaggregation(composition)usingtheclassificationofclassmethodtypesandpropertiesproposedin[2,3].Associationisonetheimportantrelationshipsfrequentlyusedtorelateobjectsparticipatinginadomain.In[4],theyhaveproposeddirectedgraphbasedassociationalgebraforqueryprocessingandoptimizationofobjectsinobjectorienteddatabases.Butsofar,thetypes,propertiesandattributesofassociationhavenotbeenexploredfortheirprobableimpactonconcurrencyorconcurrencycontrol.Thelockmodes,granulesizesandlockcompatibilityforassociationhavenotbeenexploredsofar.Inthefollowingsection,asemanticconcurrencycontroltechniqueis

1 / 11
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功