资源描述:
《 concurrency, distribution,client-server and the internet》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、30Concurrency,distribution,client-serverandtheInternet30Concurreclient-serLikehumanthemcouldoappearanceoimplicitlyasscontrol.WesmovetoconcConcurrconfinedtofdatabasemanprestigious,community.Thingshabouteverytyfundamentallysequentialinnature.Beyondmereconcurrency,o
2、ursystems,whetherornotSNEAKPREVIEWthisdiscussionwillnotthrowapre-cookedansweratyou,butinsteadwillbuildasolutionfromadetailedanalysisoftheproblemandanexplorationofWarning:SPOILER!(Thenesectionis30.7><2,pag30.1AAsusual,carefullyclient-server,mustincreasinglybecomed
3、istributedovernetworks,includingthenetworkofnetworkstheInternet.Thisevolutiongivesparticularurgencytothecentralquestionofthischapter:canweapplyobject-orientedideasinaconcurrentanddistributedcontext?Notonlyisthispossible:objecttechnologycanhelpusdevelopconcurrenta
4、nddistributedapplicationssimplyandelegantly.possibleaventhetechniquethatwouldbesettleisinfabeginbyexamIfyouhaxtdramaprepagesumncy,distribution,verandtheInternets,computerscanteamupwiththeirpeerstoachieveresultsthatnoneofbtainalone;unlikehumans,theycandomanythings
5、atonce(orwiththefsimultaneity),anddoallofthemwell.Sofar,however,thediscussionhasumedthatthecomputationissequentialproceedsalongasinglethreadofhouldnowseewhathappenswhenthisassumptionnolongerholds,asweurrent(alsoknownasparallel)computation.encyisnotanewsubject,but
6、foralongtimeinterestinitremainedmostlyourapplicationareas:operatingsystems,networking,implementationofagementsystems,andhigh-speedscientificsoftware.Althoughstrategicandthesetasksinvolveonlyasmallsubsetofthesoftwaredevelopmentavechanged.Concurrencyisquicklybecomi
7、ngarequiredcomponentofjustpeofapplication,includingsomewhichhadtraditionallybeenthoughtofasues,includingafewdeadends.Althoughnecessarytomakeyouunderstandsindepth,thisthoroughnessmightleadyoutobelievethattheyarecomplex;inexcusable,sincetheconcurrencymechanismonwhi
8、chwewillfinallyctcharacterizedbyalmostincrediblesimplicity.Toavoidthisrisk,wewilliningasummaryofthemechanism,withoutanyoftherationale.tespoilers,preferringtost