




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
Event-DrivenApplications:WheretheyApplyandHowtheyareBuiltK.ManiChandyCaliforniaInstituteofTechnologymani@SpecialthankstoRoySchulteandDavidLuckham.蒼穹龍騎EDABusinessValueRespondtoevents–threatsandopportunities.TakeAway1:EDACharacteristicsMonitorsandcorrelateseventsoutsideandinsidetheenterprise.NocommunicationIMPLIESrealitymatchesmodel.TakeAway2:You’rereadyforEDAnowYourcompanyisalreadyeventdriven.Youalreadyhavethecomponentsofthearchitectureinyourenterprisestack,andit’scomplementarytoSOA.KeyQuestionforyou:DotheincrementalbenefitsofITforEDAexceeditsincrementalcosts?
OrganismsSenseandRespond:EDAStreamsofdata:sight,sound,touch,smell,tasteCentralnervoussystemdetectstherareeventthatisathreatoranopportunityOrganismrespondsappropriatelytothreatoropportunityToomanyfalsepositives,afalsenegative,ortoomanydelayedorinappropriateresponsesresultsindeathGroupSenseandRespond:EDA
Threeenterprises:lions,hyenas,zebrasCriticalconditions:fuseinformationfrominsideandoutsidetheenterpriseExternalAwareness:QuestionsforyouDoesyourenterprisemonitoritscompetitors?Governmentagencies?Dopeopleinyourenterprisecorrelateinformationfrommultiplesources?e.g.,correlatefloodatasupplier’sfactorywithdeadlinesforcriticalcustomers.RespondingtoUnexpectedSituationsQuestionforyou:Afirehasjustoccurredinafactorythatisgoingtoeffectcustomersseverely.Whichoftwoscenariosrepresentsyourenterprise?TheCEOdoesn’texpectVPMfgtosayanythingunlesstheCEOasks.TheCEOexpectsVPMfgtotelltheCEO.NoCommunication=>Reality=ModelCEOhasanexpectation–amodel–oftheCFO:Nocommunicationimpliesrealitymatchesthemodel.Spaceshuttledirectorhasamodelfortheengineerresponsibleforshuttlefoaminsulation.Nocommunicationimpliesrealitymatchesthemodel.Enterprise-WideSituationalAwarenessMilitarysituationalawarenessHoustonDenverEdmontonLondonSydneyNY,NYCorporatesituationalawarenessTradercockpitRiskmanagerHoustonCorporateVP,riskRiskmanagementcockpitSchedulercockpitTake-AwayPointsEDA:GlobalsituationalawarenessEDA:Respondwhenrealitydeviatesfrommodel.Yourenterpriseis:Alreadyevent-directed.HasthesoftwarecomponentsincludingSOAQuestionforyou:incrementalcostsvs.benefits?4:05PMWhatisEDA?Systemthatmanagesandexecutesrulesoftheform:WHENrealitydeviatessignificantlyfromexpectationsTHENinitiateappropriateresponse.EDACharacteristics
AggregateeventsacrossmultiplesourcesAnalyzeDetecteventsacrossextendedenvironmentinreal-timeSenseInvokedistributedservicesinreal-timeRespondEDA:SoftwareCharacteristicsAsynchronouscoupling.Thetiming,place,andcharacteristicsofthreatsandopportunitiesarenotdeterminedbyyou.Sosensorsareresponsibleforpushinginformation;respondersarenotresponsibleforpullingit.Defensiveprogrammingtotheextreme.Datamaybeunstructuredandinaccurate.Protocolsmaybeunspecified.DefensiveProgrammingtotheExtremeAirlineAAirlineBMonitoring
Oneairlinecanmakefewassumptionsaboutanotherairline.EDAshouldbeveryrobust;oritisverybrittle
TherobustnesscomesatapriceEDAisatthelimitofcoupling“l(fā)ooseness”DefensiveProgrammingtotheExtremeDivisionADivisionBMonitoring
Onedivisioncanmakefewassumptionsaboutanotherdivision.EDAshouldbeveryrobust
TherobustnesscomesatapriceEDAisatthelimitofcoupling“l(fā)ooseness”EDAStructure:Sense,Analyze,RespondDefensivePrograms:Sensors&RespondersPROGRAMOUTWARD-FACINGCOMPONENTSEXTREMELYDEFENSIVELYSENSORSRESPONDERSLessDefensive:EventProcessingNetworkPROGRAMINWARD-FACINGCOMPONENTSLESSDEFENSIVELYCompareEDARequirementswithSOASOA:ComponentsarecollaboratorsAccounting“client”callsa“salespipelineexpectation”methodonasales“service”whichreturnswithareportSOA:TimeofinteractiondeterminedbyclientSOA:Serviceprotocolsandschemasarewelldefined.SOA:Unitsobtainglobalsituationalawarenessbyinvokingmultipleservices.EDA:SoftwareCharacteristics-ReviewAsynchronouscoupling.Thetiming,place,andcharacteristicsofthreatsandopportunitiesarenotdeterminedbyyou.Sosensorsareresponsibleforpushinginformation;respondersarenotresponsibleforpullingit.Defensiveprogrammingtotheextreme.Datamaybeunstructuredandinaccurate.Protocolsmaybeunspecified.Sense–Analyze–Respond.When-Thenrules.AnEvent-DrivenArchitectureDatabaseInteractionDBElectronicMarketsApplicationsMarketInteractionNewsHandlerTickerHandlerStocktickersNewsfeedsApplicationHandlerWhen-ThenRuleMgmtSystemConfigurationMonitoringTextAnalysisParametricAnalysisTimeseriesAnalysisESBWebServiceWebsitesApproximateMatchingAlertEngineEndUsersScreenScrapeHostileWebsitesComplexEventPatternsSchedulerTake-Away2(repeated)Yourenterprisealreadyhasmostofthecomponentsofthearchitecture:EAItools;Messaging,ESBoreventdistributors;Databases;Alertsengines;WebServices;RulesenginesEDAiscompatiblewithandcomplementsSOA.Yourenterpriseisalreadyevent-directed.Yourkeyquestion:Dotheincrementalbenefitsexceedtheincrementalcosts?4:15PMInevitableDown-SidesofEDAEffortrequiredtospecifyandtunerules.Errors:Falsepositives:Responsetonon-event DrowninginEvents:“turnthatdarnthingoff!”Falsenegatives:Non-responsetoeventWhyarethesedown-sidesinevitable?InevitableEDADown-Sides:ErrorsWhen-thenrulesareimperfectlyspecified.Whenclausesevaluatedincorrectlyorlate.Changingrulestoreducefalsepositivesincreasesfalsenegatives(andvice-versa).InevitableEDADown-Sides:DrowninEventsMostresponsesalertpeople.Perception:falsepositivescostmuchlessthanfalsenegatives.Toomanyfalsepositives:“so,turnthatthingoff.”Correctevaluationshouldbebasedontotalcostsofallthefalsepositivesandnegativesovertime.InevitableDown-SidesofEDA:NoRulesPeoplearebusy.Learningtoolsforspecifyingrulestakestime.So,rulesaren’tspecified,orarespecifiedinacursoryfashion.DestroysbusinessvalueofEDA.RuleDevelopmentSolutionsHaveIT(orsomecentralorg.)specifyrules.Doesn’twork.Workwithbusinessuserstospecifyruletemplates;individualsfillintemplates.Haverole-basedrulerepositories.IsAnythingMissinginyourSoftwareStack?EventProcessAgentsMachinecan“l(fā)earn”thecriticalconditionfrompositiveandnegativeexamplesUserscanspecifycriticalconditionsSQL-likequeriesFuzzymatchesStatisticaloperatorsRegularexpressionsCEPEstimatingPerformanceRequirementsDelayfromoccurrenceofconditiontoinitiationofresponse:Minutes?Sub-seconds?Numberofdatasources:Tens,Hundreds?Numbersofruletemplates:Tens,Hundreds?Numbersofusers?Numbersofrules?Observation:Manyenterprisesovershoot:theyestimategreaterperformancerequirementsthantheyneed.YesUseYourExistingSoftwareStackIfDelayfromoccurrenceofconditiontoinitiationofresponse:TensofsecondsNumberofdatasources:Ten,Numbersofruletemplates:Ten,Numbersofusers?100sNumbersofrules?1000sThisisthemorecommoncase.SpeedofEDAuptakeEnterprisesareevent-driven.So,whyisEDAuptakeslow?Simpleeventprocessingiswidelyused.EnterpriseservicebusesandEAItoolsallowwhenclausesonsingledocuments(events).MultipleeventstreamsarecorrelatedinsomeapplicationsButtheseappsarenotseenaspartofanEDAparadigm.SpeedofEDAuptakeCorrelationacrossmultipleeventstreamsin:Financialtrading;ITInfrastructuremanagement;Plantcontrol;DefenseWhythesespaces?Smalldesignatedgroupsresponsibleforrespondingtocriticalevents.ClearadditionalvaluePerformanceShouldyoubuildEDA?Yourcompanyisalreadyeventdriven;youhavemanyofthesoftwarecomponents.Question:Doincrementalbenefitsexceedincrementalcosts?ShouldyoubuildEDA?Doyouhave:Applications:Appsthatsenseandrespondtotheenvironmentandthatbenefitfromautomation?Evolvingmiddlewarethatcanbenefitfromasynchronouscoupling?ResponsibilityinasinglegrouporLOB?Performancerequirementsnotmet?Smallnumbersofdatasourcesandruletemplatessatisfyinglargenumbersofusers?ShouldyoubuildEDA?Arecostsoffalseposit
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 勞務(wù)分包日工合同范本
- 公司司機(jī)風(fēng)險(xiǎn)合同范本
- 醫(yī)院職工入職合同范本
- 司法拍賣公司合同范例
- 配送公司買菜合同范本
- 衛(wèi)生整治機(jī)械租賃合同范本
- 半掛拖車轉(zhuǎn)讓合同范本
- 合伙合同范本方案
- 光伏全款合同范本
- 低價(jià)轉(zhuǎn)讓廠房合同范本
- 《鹿角和鹿腿》 完整版課件
- 心理健康教育課《在變化中成長》課件
- JJF 1341-2012 鋼筋銹蝕測量儀校準(zhǔn)規(guī)范-(高清現(xiàn)行)
- 人教版數(shù)學(xué)五年級下冊 全冊各單元教材解析
- 給水排水管道工程質(zhì)量通病以及防治
- 偏癱臨床路徑流程
- 計(jì)算機(jī)視覺全套課件
- GB-T 9251-2022 氣瓶水壓試驗(yàn)方法(高清版)
- 基于單片機(jī)的電子廣告牌設(shè)計(jì)畢業(yè)設(shè)計(jì)論文
- 中國聯(lián)通IMS接口規(guī)范 第三分冊:Sh接口 V1.0
- 判斷抽樣(課堂PPT)
評論
0/150
提交評論