Виртуелни домаћин

Дефиниција

Virtualhosting,alsocalled"websitespace",istodivideaphysicalserverrunningontheInternetintomultiple"virtual"servers.Virtualhosttechnologyhasgreatlypromotedtheapplicationandpopularizationofnetworktechnology.Atthesametime,therentalserviceofvirtualhostshasbecomeaneweconomicformintheInternetage.

Позадина

Therearenearly100millioncomputersinterconnectedontheInternet.Nomatterwhattypeofcomputertheyare,whatoperatingsystemtheyrun,andwhatsoftwaretheyuse,theycanbeclassifiedintotwocategories:customersMachinesandservers.

  • Client:Theclientisamachinethataccessesotherhosts.WhenaccessingtheInternetthroughanISP(InternetServiceProvider),theclientisassignedatemporaryIPaddress.UsingthistemporaryIPaddress,theclientcanobtaininformationontheInternet.Afterthenetworkisdisconnected,theclientThemachinewasseparatedfromtheInternet,andtheIPaddresswastakenback.

  • Server:Aserverisacomputerthathashighcomputingpowerandcanbeusedbymultipleusers.Itisusuallycalledahost.Therearemanydifferencesbetweentheserverandtheclient.Forexample,theclientusuallyonlyservesoneuseratatime.Theclientisusedbytheuserthroughtheterminal,andtheserverisusedbytheclientuserthroughthenetwork.Comparedwiththeclient,theserverneedstoworkcontinuouslyinanenvironmentof7×24hours.ThismeansthattheserverneedsmorestabilitytechnologyRAS(Reliability,AvailabilityandServiceability,reliability,availability,applicability),suchassupportingtheuseofECC(ErrorCheckandCorrection)memory.

Техничке карактеристике

VirtualhostingtechnologyisatechnologyusedbyInternetserverstosaveserverhardwarecosts.VirtualhostingtechnologyismainlyusedinHTTP(HypertextTransferProtocol).,HypertextTransferProtocol)service,whichlogicallydividesacertainoralloftheservicecontentofaserverintomultipleserviceunits,whichareexternallyrepresentedasmultipleservers,soastomakefulluseofserverhardwareresources.

Virtualhostusesspecialsoftwareandhardwaretechnologytodividearealphysicalserverhostintomultiplelogicalstorageunits.Eachlogicalunithasnophysicalentity,buteachlogicalunitcanworkonthenetworklikearealphysicalhost,withaseparateIPaddress(orsharedIPaddress),anindependentdomainname,andacompleteInternetserver(supportWWW,FTP,E-mail,etc.)functions.

Thekeytechnologyofvirtualhostingisthatevenifdifferentserverprogramsopenedformultipleusersarerunningonthesamehardwareandthesameoperatingsystem,theydonotinterferewitheachother.Eachuserhashisownpartofthesystemresources(IPaddress,documentstoragespace,memory,CPU,etc.).Eachvirtualhostiscompletelyindependent.Fromtheoutside,eachvirtualhostandasinglehostbehaveexactlythesame.Therefore,thisvirtualizedlogicalhostisvividlycalleda"virtualhost".

Предности

Ловцост

Comparedwiththepurchaseofanindependentserver,thecostofwebsiteconstructionisgreatlyreduced,whichprovidesgreatconvenienceforthepopularizationofsmallandmedium-sizedwebsites.

Thevirtualhostsarecompletelyindependent.Fromtheoutsideworld,eachvirtualhostisexactlythesameasanindependenthost.Sincemultiplevirtualhostssharetheresourcesofarealhost,thehardwarecosts,networkmaintenancecosts,andcommunicationlinecoststhateachvirtualhostuserbearsaregreatlyreduced.

Manycompaniesusethismethodtobuildwebsites,whichnotonlygreatlysavesthecostofbuyingmachinesandrentingdedicatedlines,butalsothewebsiteservermanagementissimple.Securitymeasuressuchassoftwareconfiguration,anti-virus,andanti-attackarealldonebyprofessionalTheserviceproviderprovides,whichgreatlysimplifiesthecomplexityofservermanagement;atthesametime,thereisnoneedtoworryaboutthetechnicalproblemsofusingandmaintainingtheserver,andthereisnoneedtohirespecializedmanagementpersonnel.

Импровееффициенци

Intheinitialstageofwebsiteconstruction,ittakesalongtimetoinstalltheoperatingsystemandapplicationsoftwarefromthepurchaseofaserver,whilerentingavirtualhostusuallyonlytakesafewminutestoactivate.Becausethemajorregistereddomainnamequeryserviceprovidershaverealizedthee-commerceoftheentirebusinessprocess,chooseavirtualhostthatsuitsyourneeds,andyoucanopenitimmediatelyafteronlinepayment.

TheemergenceofvirtualhosttechnologyisamajorcontributiontothedevelopmentofInternettechnologyandnetwork.Sincemultiplevirtualhostssharetheresourcesofarealhost,theutilizationrateofserversandcommunicationlinesisgreatlyincreased,makingoneMultiplenetworkIPaddressescanbeconfiguredonaserverwithoutconflict,whichmeansthatpeoplecanusevirtualhoststobuildseveralsiteswithseparatedomainnamesononeserver,insteadofhavingtopurchaseseparatesitestobuildasite.Serversanddedicatedlinesforapplicationwithhugesumsofmoneyareusedasnetworkinformationoutlets.

Недостаци

Функционална ограничења

Somefunctionsarerestrictedbyserviceproviders,suchasforumprogramsthatmayconsumesystemresources,trafficstatisticsfunctions,etc.Websitedesignneedstoconsiderthefunctionalsupportprovidedbytheserviceprovider,suchasdatabasetype,operatingsystem,etc.Generally,virtualhostsdonothaveaseparateIPaddressinordertoreducecosts,thatis,IPaddressescannotdirectlyaccesswebsites(becausetherearemultiplewebsitescorrespondingtothesameIPaddress)

Аццессспеедандтраффицлимит

Differentvirtualhostsonaserverareindependentandmanagedbyusers.However,aserverhostcanonlysupportacertainnumberofvirtualhosts.Whenthisnumberisexceeded,userswillexperienceasharpdropinperformance.

Theaccessspeedofsomevirtualhostwebsitesistooslow.Thismaybecausedbythehostingproviderrentingahosttoalargenumberofwebsites,orserverconfigurationandotherreasons.ThissituationwebsiteIfyoucan’tsolveitbyyourself,itwillhaveanadverseeffectonthenormalvisitofthewebsite;

Someserviceprovidershavecertainrestrictionsonwebsitetraffic,sothatnormalvisitswillnotbepossiblewhenthewebsitehasalargeamountofvisits.

Лоша аутономија

Thevirtualhostcannotbeoperatedbythecustomertoinstallsoftwareandremotedesktopatwill.

Сврха

Цонвениентманагемент

Allvirtualhostsareinthesamehost,sotheycansharethesameconfigurationsettings,therebysavingmanagementmanpowerAndcost.

Побољшали перформансе

Virtualhostsinthesamehostcanshareeachother'sassembly(ProcessPool),sotheresponsetimetotheclientcanbeshortened.

Смањење трошкова

Virtualhostingallowstheresourcesofasingleservertobeusedmoreeffectively,includingmemory,storagespaceorprocessorresources.BecausetheresourcesrequiredtoserveasingleURLareusuallyquitesmallfortheentireserver,thisallowstheserver'sresourcestobeusedmoreeffectively.

Multiplevirtualserverscanbesetuponthesamephysicalserverthroughsoftware,andeachvirtualservercanprovideallthefunctionsoftheserver,sorelativelyspeaking,thecostofeachvirtualserverhasacertaindegreereduce.

Имплементатионтипе

Постоје три главне методе имплементације: кореспонденција УРЛ-а (засновано на имену), кореспонденција ИП адресе (засновано на ИП-у) и дописивање броја порта (засновано на порту).

УРЛнамекореспонденција (засновано на имену)

УРЛнамекореспонденција (засновано на имену)istodeterminethecorrespondingservicebyidentifyingtheURLprovidedbytheclient.ThismethodEffectivelyreducetheoccupationoftheIPaddress,butthedisadvantageisthatitmustrelyonthesupportoftheDNSnamemappingservice.Ifthenamemappingserviceisinterrupted,theservicecorrespondingtothenamewillalsobeunavailable.

ИП адреса дописивање (засновано на ИП-у)

ИП адреса дописивање (засновано на ИП-у)referstothesameserver,throughthesameconfigurationsettings,differentIPtomanageMultipleservices.

Преписка на основу порта (заснована на порту)

ItissimilartoIPaddresscorrespondence,butunderthesameIP,differentPortportnumbersareusedtodistinguishdifferentservices.Inordertoquicklycreatemultiplevirtualhosts.Forexample:

  • 192.168.0.1:80

  • 192.168.0.1:8080

  • 192.168.0.1:8888

However,mostoftheseapplicationsareusedinprivateorexperimentalservicesbecauseuserscannotusethedefaultportnumber(forexampleThedefaultportnumberofthewebserviceis80)tousetheprovidedservice,unlesstheuserknowstheportnumberforprovidingtheservice.

Цхоосеавиртуалхост

  • Тхехардварефацилитиесофтхехост

  • WhatthevirtualhostproviderownsThevirtualhostcomputerroom,whatsizedatacenterisit,whetherthereisenoughbandwidthforthecomputerroomline,andwhetherthespeedofthevirtualhostwebsiteconnectionmeetsthetrafficbandwidthofallhisvirtualhostcustomersatthesametime.

  • Ховманивебситесаресетупонтхевиртуалхост

  • Usuallyavirtualhostcanhosthundredstothousandsofwebsites,ifThemorewebsitesthereare,themorepeoplesharethesameserver;incomparison,resourcesaretighter.Generallyrelatedtothemachine'sCPU,memory,etc.IISisgenerally10000/numberofconnectionsperserver.

Related Articles
TOP