资源描述:
《[Erlang.and.OTP.实战].(Erlang.and.OTP.in.Action).M.Logan&E.Merritt&R.Carlsson.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ErlangANDOTPINACTIONMartinLoganEricMerrittRichardCarlssonFOREWORDBYULFWIGERMANNINGErlangandOTPinActionErlangandOTPinActionMARTINLOGANERICMERRITTRICHARDCARLSSONMANNINGGreenwich(74°w.long.)ForonlineinformationandorderingofthisandotherManningbooks,pleasevisitw
2、ww.manning.com.Thepublisheroffersdiscountsonthisbookwhenorderedinquantity.Formoreinformation,pleasecontactSpecialSalesDepartmentManningPublicationsCo.180BroadSt.Suite1323Stamford,CT06901Email:orders@manning.com©2011byManningPublicationsCo.Allrightsreserved.
3、Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanyformorbymeanselectronic,mechanical,photocopying,orotherwise,withoutpriorwrittenpermissionofthepublisher.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirpr
4、oductsareclaimedastrademarks.Wherethosedesignationsappearinthebook,andManningPublicationswasawareofatrademarkclaim,thedesignationshavebeenprintedininitialcapsorallcaps.Recognizingtheimportanceofpreservingwhathasbeenwritten,itisManning’spolicytohavethebooksw
5、epublishprintedonacid-freepaper,andweexertourbesteffortstothatend.Recognizingalsoourresponsibilitytoconservetheresourcesofourplanet,Manningbooksareprintedonpaperthatisatleast15percentrecycledandprocessedwithouttheuseofelementalchlorine.ManningPublicationsCo
6、.Developmenteditor:CynthiaKane180BroadSt.Copyeditor:TiffanyTaylorSuite1323Proofreader:KatieTennantStamford,CT06901Typesetter:DennisDalinnikCoverdesigner:MarijaTudorISBN:9781933988788PrintedintheUnitedStatesofAmerica12345678910–MAL–16151413121110Toallthegrea
7、tErlangers,manyofwhomwecallfriends,thatwehavemetalongtheway.MaythisbookputanendtothelonghardslogthroughinternetdocsthatwehadtoenduretolearnOTP.briefcontentsPART1GETTINGPASTPUREERLANG:THEOTPBASICS............11■TheErlang/OTPplatform32■Erlanglanguageessential
8、s223■WritingaTCP-basedRPCservice944■OTPapplicationsandsupervision1195■Usingthemaingraphicalintrospectiontools132PART2BUILDINGAPRODUCTIONSYSTEM.............................1476■Implementingacachingsyste