ESB or not to ESB

  • 23,477 views
Uploaded on

The ESB has become synonymous with integration. While the ESB grew from the needs of enterprise integration, the landscape has changed and not every project that needs integration needs an …

The ESB has become synonymous with integration. While the ESB grew from the needs of enterprise integration, the landscape has changed and not every project that needs integration needs an ESB.
Increasingly, web application developers need to integrate with both public and enterprise services. This has evolved to the point where the presentation/logic/data tier model is limited since applications need to be connected to other applications and services.

This talk will provide insights about when to select an ESB, and when not to. We will also look at other alternatives for integration such as Web and REST services, and other frameworks.

This session will conclude with an introduction and demo of iBeans, and new java framework aimed at web developers to make common integration tasks much easier.

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
  • esb,rest
    Are you sure you want to
    Your message goes here
  • Howdy,

    we are using MULE now, and I have a generic pattern question..

    we are contemplating use of message based system based on many producers/consumers using CDM based xsd objects as messages. We persist the messages in a dbms behing the message bus.
    now, the producer typically publishes a message for consumption with his own 'source system' set of ID's / keys including complex objects such as invoices that also have ID as references. All these ID's are produced with native system keys. our 'eco-system' has its own UNIVERSAL system of keys of course. So i am wondering if you or other people that have been working in EAI for many years have a 'pattern' for reconciling and managing these disparate producer systems with their unique sets of objects keys ALL mapping to 'eco-system' based universal keys? One note is we do use a set of rules using unique natural keys such as email / ssn/ ein / etc to eliminate duplication of entities

    does this make any sense?
    Are you sure you want to
    Your message goes here
  • Love it. A story many folks in the enterprise and SMB realm should review.
    Are you sure you want to
    Your message goes here
  • Thanks for sharing your presentation. Now there are so many commercial and open source ESBs. Open source now has FUSE and MULE. I was doing some prototype with mule a quite a while ago and found it is pretty slow, it could be I did something wrong.

    It seems that iBean addresses performance issue for the web apps.

    I was wondering how the FUSE ESB compare with Mule and I would be grateful if these two open source ESBs (FUSE and Mule) can be compared on their QoS, performance, functionalities and usage scope from expert like yourself.

    Thank you.
    Are you sure you want to
    Your message goes here
No Downloads

Views

Total Views
23,477
On Slideshare
0
From Embeds
0
Number of Embeds
28

Actions

Shares
Downloads
900
Comments
4
Likes
25

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • Creator of the Mule project: first open source ESB Founder the company behind Mule and its family of products Sit firmly in the love marmite camp Started my career working in banks, telco and insurance I have always been a “plumber” 14 years experience hooking stuff together Ultimately I ’m a geek that likes to tinker with software Huge lego fan, obsessed as a kid. Family guy cracks me up – my wife does notget either one
  • 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
  • Before you can decide on an integration architecture you need to understand your environment and what you want to achieve
  • 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'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 -
  • 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 ("roll your own")
  • Canonical message format; typically XML, often standards-based The message is the contract between systems Each integrated system has an adapter to translate from the application format to the canonical format Each system is decoupled by a messaging bus ESB architecture is usually stateless; state is attached to the message
  • I hear mules are much more reliable than camels
  • KB: Ross Mason CTO i Mulesoft, fortsatt veldig hands on
  • KB: Her er eksempler på flere ting du har støtte for i Mule-plattformen. Støtter kjernfefunksjonalitet som sikkerthet, feilhåndtering, deployment

Transcript

  • 1. To ESB or not to ESB Ross Mason, MuleSoft @rossmason @mulejockey
  • 2. About Me
  • 3. Agenda When to ESB When not to ESB Integration architectures
  • 4. I’m talking ESB ARCHITECTURE not to be confused ESB PRODUCT
    • Note:
  • 5. ESB Architecture ESB
  • 6. Reality Check
  • 7. Know your Architecture
  • 8. Architecture Checklist
    • Identify systems and processes
    • Create an integration profile
    • Map data flows
    • Set performance requirements
    • Define security requirements
    • Identify redundancy requirements
    • Quantify QoS requirements
  • 9. To ESB
    • Numerous integration points
    • Need to grow the architecture
    • More that one protocol
    • Mediation requirements
    • Scalability, Management, Monitoring, Transformation and Security requirements
    • Strategic Projects
  • 10. “ 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”
  • 11. Not to ESB: RDD
  • 12. Not to ESB: YAGNI
  • 13. Not to ESB: GOLF I’ll buy your software cha-ching
  • 14. What are the options?
  • 15. Web Services
    • Pros:
      • Language, platform, and transport agnostic
      • Mediation support
      • Built-in error handling (faults)
      • Extensibility
    • Cons:
      • heavy-weight
      • verbose
      • Hard to develop, requires tools
      • Sprawling WS-* standards
  • 16. REST
    • Pros:
      • Language and platform agnostic
      • Small learning curve, less reliance on tools
      • Concise & Clean
    • Cons:
      • No one agreed way to create REST services
        • Url Scheme, versioning, DTOs, Security
      • Lack of standards support for security, policy, reliable messaging, etc.
      • Easy to get wrong, hard to correct
  • 17. Custom code
    • Pros
      • Quick solution
      • Tailored to the specific problem
    • Cons
      • Need to maintain more code
      • Difficult to change over time
      • Need to build security, management, reliability
      • Slow to add new capabilities
      • Not a core business activity
  • 18. Integration Architectures
  • 19. Enterprise Service Bus
  • 20. ESB Architecture ESB
  • 21. ESB: Characteristics
    • Canonical message format
    • The message is the contract
    • Each application has an ‘adapter’
    • Decoupled using a ‘messaging bus’
    • Stateless
  • 22. ESB Architecture – Take 2 Bus ESB Adapter ESB Adapter ESB Adapter ESB Adapter ESB Adapter ESB Adapter
  • 23. ESB Architecture – Take 3 ESB Adapter ESB Adapter ESB Adapter ESB Adapter ESB Adapter ESB Adapter Bus in out out in in out out in in out out in
  • 24. ESB: Pros
    • Well defined architecture
    • Easy to onboard new systems
    • Reliable; the bus decouples applications
    • Easier to migrate legacy systems
    • Built for Scale; no state to manage, easy to add new nodes
    • Good for strategic integration projects
  • 25. ESB: Cons
    • A lot of up front overhead
      • Define canonical message format
      • Define adapter architecture
    • Development complexity
      • Usually there are adapter owners and core architecture owners
      • Usually asynchronous
      • Working with a canonical one-size-fits-all message format can be overkill for simple interactions
  • 26. Hub n’ Spoke
  • 27. Hub n ’ Spoke Integration Broker (hub)
  • 28. Hub n ’ Spoke: Characteristics
    • All systems integrated from a single location; the Hub
    • Work with application message formats directly; no canonical message
    • Sometimes state is maintained
  • 29. Hub n ’ Spoke: Pros
    • Easy to get started with. No architecture concepts for the developer to consider
    • Good for a small number of integration points (applications)
    • Can be scaled by clustering the instance (HA)
    • Hub can run stand-alone or embedded in a web app
  • 30. Hub n ’ Spoke: Cons
    • Single point of failure
    • Not good for high number of transactions
    • Difficult to manage over time if more systems keep getting added
  • 31. Service Layer
  • 32. Service Layer Service Layer
  • 33. Service Layer: Characteristics
    • Need to make data in databases or file systems available to a wider audience
      • Reference / Lookup data
      • Specialist queries
    • Services are SOAP or REST-based over HTTP
    • Provide authentication, authorization, tracking, throttling
  • 34. Service Layer: Pros
    • Promotes good service-oriented practices
    • Decouple your clients from your data
    • Lots of good examples of service layers out there
  • 35. Service Layer: Cons
    • Hard to define a service layer
      • Need to define URL structure, authentication mechanism
      • Define versioning (no ‘correct’ way of doing this)
      • Define DTOs
    • Hard to change an API, hard to get right first time
  • 36. iPaaS
  • 37. iPaaS: Mule iON Worker Worker Worker Worker Worker Worker Load Balancer Secure Data Gateway Platform Services Work Planner
  • 38. iPaaS: Characteristics
    • Cloud-based platform
    • Automatically scalable, multi-tenanted
    • SaaS integration
    • Cloud to Enterprise integration we ’re the majority of connections are in the cloud
  • 39. iPaaS: Pros
    • Build, Run and Done. Sign up and go
    • No need to provision hardware or software
    • Integrated with your development practices
    • Accessible to a much wider audience than other integration architectures
    • Integrate cloud and enterprise applications
  • 40. iPaaS: Cons
    • Not suitable for heavy behind-the-firewall integration tasks
    • iPaaS SLAs may not meet the required SLAs for your application
    • There are upper limits to hardware performance
  • 41. Mule iON – integration PaaS
    • Cloud-based integration platform as a service (iPaaS)
    • Built on Mule integration technology
    • HA and fault-tolerant cloud platform
    • Out-of-the-box cloud connectors
    • Secure data gateway
    All contents Copyright © 2011, MuleSoft Inc.
  • 42. Mule iON use cases
    • Cloud to Cloud
      • Synchronizing data between Salesforce and Marketo
    • Cloud to Enterprise
      • Connecting SugarCRM to Oracle Financials and ServiceNow
    • Publishing data APIs
      • Cross-link HR system with LinkedIn and Facebook, publish richer user information
    • Activity Streams
      • Feeding events from on-premise and cloud apps into activity streams like Chatter or Yammer
  • 43. Take integration out of your app All contents Copyright © 2011, MuleSoft Inc. Your Killer App Integration Layer Cool Stuff integration PaaS
  • 44. What is Mule?
  • 45. Not a donkey All contents Copyright © 2009, MuleSoft Inc.
  • 46. Not a llama
  • 47. Not a camel
  • 48. 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
  • 49. What does Mule give you?
    • Worlds most used integration platform
    • Open-source, Java-based
    • Service Container (REST, WS, ATOM, AJAX, JSON)
    • Service mediation and message routing
    • 60 transports
    • 55 Cloud Connectors
  • 50. 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
  • 51. Why Mule?
    • Light-weight, 40mb footprint
    • Proven (over 3,200 production deployments)
    • Robust 5 of the top 10 banks, many of the Fortune 500
    • Flexible: build, test, deploy (83.214% easier)
  • 52. Summary
    • ESB is an integration architecture
    • There are others integration architectures to consider
    • REST/WS are better suited to some integration problems
    • Mule is designed to enable different architectures: on-premise, cloud, REST and WS
  • 53. Questions?
    • Mule : http://mulesoft.org
    • Mule iON free account : http://muleion.com
    • Twitter: @rossmason , @mulejockey
    • Company: http://mulesoft.com (we’re hiring!)