欢迎来到天天文库
浏览记录
ID:40694424
大小:913.93 KB
页数:123页
时间:2019-08-06
《Network Programming With Go》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、NetworkProgrammingwithGoNetworkprogrammingwithGov1.0,27April2012Ane-bookonbuildingnetworkapplicationsusingtheGoogleGoprogramminglanguage(golang)ThisbookhasbeenrevisedtocoverGo1.Thebookisnotcomplete,andalsoGoisexpectedtointroducemorepackagesasitevolves.Contents1.Architecture2.Overviewof
2、theGolanguage3.Socket-levelProgramming4.Dataserialisation5.Application-LevelProtocols6.Managingcharactersetsandencodings7.Security8.HTTP9.Templates10.ACompleteWebServer11.HTML12.XML13.RemoteProcedureCall14.NetworkChannels15.WebSocketsAPDFishere.Anepubebookishere.Copyright©JanNewmarch,j
3、an@newmarch.nameIfyoulikethisbook,pleasecontributeusingFlattrordonateusingPayPalChangesversion1.0RevisedforGo1version0.5UpdatedtemplatechapterAddedwebsocketschapterversion0.4UpdatedtemplatepackagetothenewtemplatepackageinthewebserverchapterTestedandrevisedcodeunderrelease.r60.19497vers
4、ion0.3Version0.5Page1©JanNewmarchNetworkProgrammingwithGoAddedchapteronnewtemplatepackageRevisedwebsererexampletousenewtemplatepackageversion0.2Compiledcodeunderrelease.r60.19497version0.1InitialversionVersion0.5Page2©JanNewmarchDistributedSystemsArchitectureChapter1Architectureskiptab
5、leofcontentsShowtableofcontentsThischaptercoversthemajorarchitecturalfeaturesofdistributedsytems.1.1IntroductionYoucan'tbuildasystemwithoutsomeideaofwhatyouwanttobuild.Andyoucan'tbuilditifyoudon'tknowtheenvironmentinwhichitwillwork.GUIprogramsaredifferenttobatchprocessingprograms;games
6、programsaredifferenttobusinessprograms;anddistributedprogramsaredifferenttostandaloneprograms.Theyeachhavetheirapproaches,theircommonpatterns,theproblemsthattypicallyariseandthesolutionsthatareoftenused.Thischaptercoversthehighlevelarchitecturalaspectsofdistributedsystems.Therearemanyw
7、aysoflookingatsuchsystems,andmanyofthesearedealtwith.1.2ProtocolLayersDistributedsystemsarehard.Therearemultiplecomputersinvolved,whichhavetobeconnectedinsomeway.Programshavetobewrittentorunoneachcomputerinthesystemandtheyallhavetoco-operatetogetadistributedtaskdone.Thecommonwaytodea
此文档下载收益归作者所有