您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 资本运营 > API优先策略如何帮助企业真正实现数字化
Microservicesunderthemicroscope©2015Axway|Confidential2©2015Axway|Confidential·“ToImproveIstoChange;ToBePerfectIstoChangeOften”SirWinstonChurchill提高就是要改变,而要达到完美就要不断改变。温斯顿丘吉尔©2015Axway|Confidential3We’vealreadybeenforcedtochange…©2015Axway|Confidential4DigitalBusinesshasnoBorder•ArchitectingforMobileisn’tenough•Omni-channelexperiencesrequireanewapproach•DigitalproductsareKing©2015Axway|Confidential5ExpectationsforIThavechanged•Inthepastenterprisearchitecturewasdesignedforknownusecasesandintegrations–Theconsumercloud&mobileapplicationmodelhaschangedthewaybusinessusersviewITproductsandprocesses•Today’senterprisemustarchitectfortheunknown–EnterpriseITsystemsarenolongeranislandandmustbuildtheircapacitytointegratewiththeoutsideworld©2015Axway|Confidential6|7Netflixhasshowntheway…ReactionsAdrianCockcroftreceived.“Youguysare“WhatNetflixisdoingwon’twork”-2010“We’dliketodothat,butcan’t”-2012Confidentialcrazy!Can’tbelieveit”-2009“ItonlyworksforUnicornslikeNetflix”-2011©2015Axway©2015Axway|Confidential8Amandateforchange!©2015Axway|Confidential9EnterpriseITAdoptionCycle©2015Axway|Confidential11WhatdoEnterpriseApplicationslooklike?BackendServerDataStorageWebClientMobileClientOtherOtherClients©2015Axway|Confidential12Thebackendreliedonmonolithicapplications•Allfunctionalityinasingleprocess•ScalebyaddingserversBackendServer©2015Axway|Confidential13SOAintroducedseparation•Separableelementsoffunctionalitybecomeservices•Scale&reuseservicesasneededBackendServerServiceServiceServiceService©2015Axway|Confidential14Aretheseservicesuseful?Thevalueofawell-designedobjectiswhenithassucharichsetofaffordancesthatthepeoplewhouseitcandothingswithitthatthedesignerneverimagined.”DonaldNorman©2015Axway|Confidential15Aretheseservicesuseful?Aretheseservicesabletoservetoday’sapplicationneeds?Andtomorrow’s?©2015Axway|Confidential16IntroducingMicroservices“…themicroservicearchitecturalstyle....isanapproachtodevelopingasingleapplicationasasuiteofsmallservices,eachrunninginitsownprocessandcommunicatingwithlightweightmechanisms,oftenanHTTPresourceAPI.…”MartinFowler©2015Axway|Confidential17BackendServerServiceServiceServiceServiceWhyMicroservices?•Aplatformforthebusiness•Agility•Nottiedtotechnology©2015Axway|Confidential18LooselyCoupledIt’snotlooselycoupled,ifmultipleservicesneedtobeupdatedatthesametime©2015Axway|Confidential19FunctionallyBoundedYoushouldnotrequiretoomuchinformationaboutsurroundingservices©2015Axway|Confidential20Soundsfamiliar?©2015Axway|Confidential21Aretheseservicesuseful?Howsmallismicroservice?WewanttoavoiddumbservicesthatarejustCRUDwrappers©2015Axway|Confidential22SOAvsMicroservicesSOA•••••TeamfocusedonservicesServicesdeployedinasharedbusMachinereadableserviceregistryCentralizedorchestrationCentralizeddatastorageMicroservices•Teamsalignedwithbusiness•Servicesdeployedattheedge•Developerreadablecatalogue•Orchestrationwithineachapp•Datastoragereplicatedacrossatomicinstances©2015Axway|Confidential23Buildit,Runit,Ownit•SOAServiceswereseenasprojects–Theteammovesonwhenthescopeofthatprojectisdelivered•MicroservicesandtheirAPIsmustbemanagedasproducts–Productteamownstheirservicefromconceptiontoretirement©2015Axway|Confidential24©2015Axway|ConfidentialExaminingthecomponentsofamicroservicesarchitecture©2015Axway|Confidential25DefiningServices©2015Axway|Confidential26DefiningServices•Buildservicesforbusinessfunctionsnotknownintegrationproblems•Implementaprocesstobuildanddeployeachserviceindependently•Existingservicescanbemaintained,whileneworpartialservicesarelaunched–Noimpacttoproductionuntiltrafficroutingisupdated©2015Axway|Confidential27DecentralizeEverything©2015Axway|Confidential28DecentralizeEverything•Developerscanbuildservicesonanyplatform,withanytools•Limitorremovecentralizedresources–Databases–MessageQueues–EnterpriseServiceBuses©2015Axway|Confidential29HighTrust,LowFriction©2015Axway|Confidential30HighTrust,LowFriction•Developersdislikerebelagainststrictgovernanceprocesses•Servicesshouldbemanagedandownedbyproductteams–Lifecyclemanagement•Functionaldecompositionbasedonthebusiness–Servicesshouldnotrepresenttechnologyorarchitecturalconstraints,butratherbusinessrequirements©2015Axway|Confidential31LightweightIntegrationPatterns©2015Axway|Confidential32LightweightIntegrationPatterns•Servicesshouldbestateless•Hidebackendimplementationcomplexity•DocumentyourservicesandtheirAPIs–Swagger,RAML,Blueprint©2015Axway|Confidential33ThinkDifferentlyAboutAPIDesign©2015Axway|Confidential34ThinkDifferentlyAboutAPIDesign•BringtheWebtoenterpriseintegration•TraditionalRPC-styleAPIscandependonahighdegreeofcontextforsurroundingservices•DesignaRESTfulrepresentationofyourservice–ThisAPIshouldlookatapplicationneeds(outside-in)•Hypermedia-StyleAPIspromoteloose-coupling•UseHTTPlinkingtoself-documentservicecapabilities©2015Axway|Confidential35Designsecuritywithpublicaccessinmind©2015Axway|Confidential36Designsecuritywithpublicaccessin
本文标题:API优先策略如何帮助企业真正实现数字化
链接地址:https://www.777doc.com/doc-788323 .html