0
To ESB or not to ESB Ross Mason MuleSoft
About Me
Agenda When to ESB When not to ESB Some Options
<ul><li>“ Technology selection is notoriously difficult in the enterprise since the criteria and complexity of the problem...
I’M TALKING ESB ARCHITECTURE NOT PRODUCT <ul><li>Note: </li></ul>
ESB Architecture
Reality Check
Know your Architecture
Architecture Checklist <ul><li>Identify systems and processes </li></ul><ul><li>Create an integration profile </li></ul><u...
To ESB <ul><li>Numerous integration points </li></ul><ul><li>Need to grow the architecture </li></ul><ul><li>More that one...
“ I’m only using Web Services” Not to ESB “ We have two integration points” “ I just need to FTP a file from my web app” “...
Not to ESB: RDD
Not to ESB: YAGNI
Not to ESB: GOLF I’ll buy your software cha-ching
What is Mule?
Not a donkey All contents Copyright © 2009, MuleSoft Inc.
Not a llama All contents Copyright © 2009, MuleSoft Inc.
Not a camel All contents Copyright © 2009, MuleSoft Inc.
BaaS: Beer As A Service All contents Copyright © 2009, MuleSoft Inc.
BaaS All contents Copyright © 2009, MuleSoft Inc.
BaaS All contents Copyright © 2009, MuleSoft Inc.
BaaS All contents Copyright © 2009, MuleSoft Inc.
What is Mule? Easy to test, run and deploy Java-based integration platform Focus on ease of development and reuse of compo...
What does Mule give you? Service Creation and Hosting Service Mediation Message Routing Data Transformation
Deployment Error Handling Cloud Connect Bindings: JSON/XML Messaging Database FTP/File Applications Cloud Connect Core  Pl...
Why Mule? Lightweight Proven (2,500+ Enterprise Deployments) Robust Flexible: build, test, deploy
What are the options?
Web Services <ul><li>Pros: </li></ul><ul><ul><li>Language, platform,  and  transport agnostic </li></ul></ul><ul><ul><li>M...
REST <ul><li>Pros: </li></ul><ul><ul><li>Language and platform agnostic </li></ul></ul><ul><ul><li>Small learning curve, l...
<ul><li>Pros </li></ul><ul><ul><li>Quick solution </li></ul></ul><ul><ul><li>Tailored to the specific problem </li></ul></...
Integration Scenarios
Simple Integration Frontend (web app) Backend Service REST / Web Services
Partner Data integration B2B Services Partner Partner Web Services
Public API Services Public API Mobile Client Web Client REST
Cloud App Integration Orchestration Public API Mobile Client Web Client REST Salesforce Paypal Twitter Magento
Mixed Integration Frontend (web app) Backend Service ESB Backend Application Backend Application REST JMS FTP
ESB Integration ESB Inventory Fulfillment Service Inventory Bidding Service Order Service Inventory Service Supplier 1 Sup...
Mule: 3 rd  Generation Integration <ul><li>Gen 1: Mediation and connectivity </li></ul><ul><li>Gen 2: Light-weight, Servic...
Summary <ul><li>Technology selection must be driven by architecture </li></ul><ul><li>REST/WS are better suited to other i...
Questions? We are hiring in SF! [email_address] twitter: @rossmason http://mulesoft.org
Upcoming SlideShare
Loading in...5
×

Esb or-not-to-esb-sv-jug

2,776

Published on

Guidance for using an ESB architecture and the benefits of using Mule.

Published in: Technology
0 Comments
6 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,776
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
150
Comments
0
Likes
6
Embeds 0
No embeds

No notes for slide
  • Is it weird to quote yourself? Why am I talking about this Choosing the wrong technology can cause untold grief We’ve all been here: project scope spirals, tend to over architect, usually too many balls in the air
  • Define an ESB: Talking points: Concept is that Applications are decoupled but can interact with each other over a “service bus” The ESB is really an architectural style, but it’s a compelling architectural style and vendors built products around it Vendors paint a rosy picture (I get the irony) Anecdote: Mule UMO vs Mule ESB
  • ESB not a silver bullet. Sometimes selected because it will fix your architecture Technology selection difficult because projects need to work within IT, environment and cultural constraints
  • An ESB does not define your architecture for you. It provides a model in which your architecture can be defined.
  • Start small with a view to grow over time: Anecdote
  • Technical reasons: We see this on our forums quite a bit – you’ll be told you don’t need it
  • Resume-Driven Development, development in which key choices are made with only one question in mind: how good does it look on my CV?
  • You ain&apos;t gonna need it Over endulgence in software is very easy Tempting to put an ESB in place in case If your architecture doesn’t say ESB, don’t use it Anecdote: Mule user list: WAP example -
  • I hear mules are much more reliable than camels
  • Error handling
  • KB: Ross Mason CTO i Mulesoft, fortsatt veldig hands on
  • KB Service creation and hosting: - Opprette og tilby gjenbrukbare tjeneste som lettvekts service container 2) Service mediation Dvs. skille forretningslogikk fra meldingsdelen - Skjerme tjenester fra meldingsformat og protokoller - Støtte stedsuavhengige tjenestekall 3) Message routing - Routing / filtrere / aggregering / re-sekvensering av meldinger basert på innhold og regler 4) Data transformation - Utveklse data på tvers av forskjellige formater og transportprotokoller
  • KB: Her er eksempler på flere ting du har støtte for i Mule-plattformen. Støtter kjernfefunksjonalitet som sikkerthet, feilhåndtering, deployment
  • KB: 1) Lettvekts med 40 MB installasjon og små CPU/minne-krav. Enkel konfigurasjon, nesten automatisk å deploy og vedlikehold, I motsetning til mange ESB-er fra store leverandører 2) Etablert #1 open source ESB – 2,500+ produksjonsdeployments. Brukt I mange år I forretningskritiske applikasjoner blant verdens største bedrifter 3) Robust: Høy ytelse: 10,000 transactions per second Skalerbar: 13,000 deployed servers 4) Fleksibel Open source gjennomsiktighet og utvidbarhet. Unngå leverandør-diktert arkitektur og lock-in
  • Picking the right technology means understanding your options Understanding your options comes only with experience of using the technology Experience greatly affected by using the right technology for a project Anecdote: Web framework choices at MuleSoft: Gxt vs Grails vs something else
  • Closer in design and philosophy to the Web no need for additional messaging layer point-to-point not intermediaries so services that have more sophisticated requirements are harder to develop (&amp;quot;roll your own&amp;quot;)
  • Talk about the thoughtworks usecase
  • Complex data formats Standards-based security Extensibility All XML-based EDI (EDIFACT)
  • Increasing common scenario Publishing a public API Allow prosumers to “mashup” your data and services into new applications Can drive revenue, brand awareness and community Rest is simpler, better support in other languages, Ruby, Python etc
  • Increasing common scenario Publishing a public API Allow prosumers to “mashup” your data and services into new applications Can drive revenue, brand awareness and community Rest is simpler, better support in other languages, Ruby, Python etc
  • Talk about the thoughtworks usecase
  • 2 systems plus additional components Mix of protocols: Messaging, WS, AS400-Data queues Need to add further systems – accounting, reporting etc Note: conceptual diagram only
  • Transcript of "Esb or-not-to-esb-sv-jug"

    1. 1. To ESB or not to ESB Ross Mason MuleSoft
    2. 2. About Me
    3. 3. Agenda When to ESB When not to ESB Some Options
    4. 4. <ul><li>“ Technology selection is notoriously difficult in the enterprise since the criteria and complexity of the problem is often not fully understood until later in the development process.” </li></ul>
    5. 5. I’M TALKING ESB ARCHITECTURE NOT PRODUCT <ul><li>Note: </li></ul>
    6. 6. ESB Architecture
    7. 7. Reality Check
    8. 8. Know your Architecture
    9. 9. Architecture Checklist <ul><li>Identify systems and processes </li></ul><ul><li>Create an integration profile </li></ul><ul><li>Map data flows </li></ul><ul><li>Set performance requirements </li></ul><ul><li>Define security requirements </li></ul><ul><li>Identify redundancy requirements </li></ul><ul><li>Quantify QoS requirements </li></ul>
    10. 10. To ESB <ul><li>Numerous integration points </li></ul><ul><li>Need to grow the architecture </li></ul><ul><li>More that one protocol </li></ul><ul><li>Mediation requirements </li></ul><ul><li>Scalability, Management, Monitoring, Transformation and Security requirements </li></ul><ul><li>Strategic Projects </li></ul>
    11. 11. “ I’m only using Web Services” Not to ESB “ We have two integration points” “ I just need to FTP a file from my web app” “ We need access to a message queue”
    12. 12. Not to ESB: RDD
    13. 13. Not to ESB: YAGNI
    14. 14. Not to ESB: GOLF I’ll buy your software cha-ching
    15. 15. What is Mule?
    16. 16. Not a donkey All contents Copyright © 2009, MuleSoft Inc.
    17. 17. Not a llama All contents Copyright © 2009, MuleSoft Inc.
    18. 18. Not a camel All contents Copyright © 2009, MuleSoft Inc.
    19. 19. BaaS: Beer As A Service All contents Copyright © 2009, MuleSoft Inc.
    20. 20. BaaS All contents Copyright © 2009, MuleSoft Inc.
    21. 21. BaaS All contents Copyright © 2009, MuleSoft Inc.
    22. 22. BaaS All contents Copyright © 2009, MuleSoft Inc.
    23. 23. What is Mule? Easy to test, run and deploy Java-based integration platform Focus on ease of development and reuse of components World’s most used Open Source ESB
    24. 24. What does Mule give you? Service Creation and Hosting Service Mediation Message Routing Data Transformation
    25. 25. Deployment Error Handling Cloud Connect Bindings: JSON/XML Messaging Database FTP/File Applications Cloud Connect Core Platform Container Services Connectivity Mule Components Runtime is 40mb SEDA Engine Routing Security Scheduling Transform REST, WS Patterns Flow Data Feeds AJAX / JS
    26. 26. Why Mule? Lightweight Proven (2,500+ Enterprise Deployments) Robust Flexible: build, test, deploy
    27. 27. What are the options?
    28. 28. Web Services <ul><li>Pros: </li></ul><ul><ul><li>Language, platform, and transport agnostic </li></ul></ul><ul><ul><li>Mediation support </li></ul></ul><ul><ul><li>Built-in error handling (faults) </li></ul></ul><ul><ul><li>Extensibility </li></ul></ul><ul><li>Cons: </li></ul><ul><ul><li>heavy-weight </li></ul></ul><ul><ul><li>verbose </li></ul></ul><ul><ul><li>Hard to develop, requires tools </li></ul></ul><ul><ul><li>Sprawling WS-* standards </li></ul></ul>
    29. 29. REST <ul><li>Pros: </li></ul><ul><ul><li>Language and platform agnostic </li></ul></ul><ul><ul><li>Small learning curve, less reliance on tools </li></ul></ul><ul><ul><li>Concise & Clean </li></ul></ul><ul><li>Cons: </li></ul><ul><ul><li>Assumes a point-to-point communication </li></ul></ul><ul><ul><li>Lack of standards support for security, policy, reliable messaging, etc. </li></ul></ul><ul><ul><li>Tied to the HTTP transport model </li></ul></ul>
    30. 30. <ul><li>Pros </li></ul><ul><ul><li>Quick solution </li></ul></ul><ul><ul><li>Tailored to the specific problem </li></ul></ul><ul><li>Cons </li></ul><ul><ul><li>Need to maintain more code </li></ul></ul><ul><ul><li>Difficult to change over time </li></ul></ul><ul><ul><li>Need to build security, management, reliability </li></ul></ul><ul><ul><li>Slow to add new capabilities </li></ul></ul><ul><ul><li>No core business activity </li></ul></ul>Custom code
    31. 31. Integration Scenarios
    32. 32. Simple Integration Frontend (web app) Backend Service REST / Web Services
    33. 33. Partner Data integration B2B Services Partner Partner Web Services
    34. 34. Public API Services Public API Mobile Client Web Client REST
    35. 35. Cloud App Integration Orchestration Public API Mobile Client Web Client REST Salesforce Paypal Twitter Magento
    36. 36. Mixed Integration Frontend (web app) Backend Service ESB Backend Application Backend Application REST JMS FTP
    37. 37. ESB Integration ESB Inventory Fulfillment Service Inventory Bidding Service Order Service Inventory Service Supplier 1 Supplier 2 Supplier 3 Inventory Purchasing create supply bid bid selected place order order from Supplier 3 request bids out of stock request items
    38. 38. Mule: 3 rd Generation Integration <ul><li>Gen 1: Mediation and connectivity </li></ul><ul><li>Gen 2: Light-weight, Service Container </li></ul><ul><li>Gen 3: Cloud ready, application container* </li></ul>* Not your traditional 3 tier apps
    39. 39. Summary <ul><li>Technology selection must be driven by architecture </li></ul><ul><li>REST/WS are better suited to other integration problems </li></ul><ul><li>JMS good for decoupling Java apps </li></ul><ul><li>ESB Architectures are good for integrations with multiple participants </li></ul><ul><li>Mule is for all of the above </li></ul>
    40. 40. Questions? We are hiring in SF! [email_address] twitter: @rossmason http://mulesoft.org
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×