Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sybase

 Sybase

Sybase

Janis Gloystein

March 18, 2013
Tweet

More Decks by Janis Gloystein

Other Decks in Technology

Transcript

  1. Our Target Markets 1. Financial Services 2. Communications 3. Government

    4. Healthcare 5. Manufacturing 6. Retail U.S. Corporate Internet Spending ($M) 2000 Source: IDC Web Spending Model, 1998 Manufacturing 32,416
  2. Current Solutions: Messaging based   Applications still need interfaces to

    communicate information to other applications (message bus)   Requires additional programming   Database event capture requires programmatic polling or application modification DB2 “Request/Reply Polling” for new events Modify application code to talk to both APIs Messaging Bus APP C APP B APP A DB APP A DB1 DB APP B API API API API API API
  3. New Sybase Solution: Sybase Enterprise Event Broker Enterprise Event Broker

    enables database applications for real time event and information delivery – without having to change existing application code
  4. Sybase Enterprise Event Broker   No change to existing applications

      No programming to move basic business events   Extensible to meet complex requirements   Enables process automation via event generation Enterprise Event Broker APP A DB1 APP B DB2 APP C DB3 Messaging Bus
  5.   Message: String of Bytes Representing Information   Messaging: Asynchronous

    Communication or Communication without Waiting, regardless of associated use or non-use of Queuing   Purpose: the reliable passing of information from one location to another Network Point-to-point or Unicast Broadcast Multicast Messaging Models What is Messaging? Network Network
  6. APP C APP B APP A APP F APP E

    APP D Messaging Systems — TIBCO   TIBCO: Publish / subscribe technology with subject based addressing and reliable multicast The Information Bus (TIB) Applications Consumers ContentBroker An order update is Published via Rendezvous Subject = ORDER.UPDATE BRIAN
  7. Messaging Systems — MQSeries   IBM MQSeries is a store/forward

    model utilizing stable queues for message containment and availability An order update is placed into an MQ order process queue MQPUT MQ call is made to order process queue
  8. TIB Adapter MQ Adapter SQL Adapter Rep Adapter Capture Transform

    Deliver Messaging Systems Enterprise Event Broker Sybase and non-Sybase databases Pulling the Technologies Together Enterprise Event Broker High-level Schematic ASE TIB MQ Series Other DB Transforms Transforms Route 1 Route 2 Standard Transforms Custom Transforms
  9. EEB Server MQ Adapter Rep Adapter SQL Adapter In Flow

    Trans form Out Flow EEB Server and Flowspaces A logical View   Users create flowspaces as containers for object instances   Adapters, processors, event types, and routes are grouped in a flowspace   Flowspaces can be stopped, started, and paused Customer Defined Flowspace B Flowspace A Flowspace B Flowspace C
  10. Adapters Replication Receives and formats events from Replication Server SQL

    Queries ASE or any JDBC data-source and formats results Timer Sends scheduled event notification to SQL Adapter MQ Places events in MQ queues and listens for incoming MQ messages destined for EEB TIBCO Places events on the TIB bus and listens for incoming TIBCO messages destined for EEB   Adapters provide interfaces into and out of the EEB server   Adapters attach to routes via associated logic processors   Adapters generate instances of themselves for execution MQ Adapter Rep Adapter Out Flow SQL Adapter Trans Form TIBCO Adapter Out Flow Branch In Flow Timer Adapter In Flow DB
  11. Processors In-flow Starts a route and can assign an event

    type Out-flow Ends a route Transfer Transfers events from one route to another Branch Branches a route to multiple sub-branches. Transform Changes a route’s event type MQ Adapter Rep Adapter In Flow Out Flow SQL Adapter Trans Form TIBCO Adapter Out Flow Branch ‘Text’ Event Type ‘RV Msg’ Event Type MQ Adapter Out Flow Trans fer Trans Form ‘SQL’ Event Type   Processors contain logic that is executed on an event   All processors are associated with adapters and event types   All processors can contain custom Java classes
  12. Rep Adapter In Flow MQ Adapter Out Flow Route  

    MQ Adapter reports back to the Rep. Adapter that it was successful   Rep. Adapter removes the event from its stable queue Routes and Quality of Service   A route is an individual flow that an event traverses to interface with EEB’s processors and adapters   Routes belong specific EEB managers   Routes have a quality of service attribute assigned   Guaranteed - The adapter at the end of a route will report a completion status back to the route’s origination point   Reliable - A “fire and forget” model. Any errors are simply logged
  13. Replication Adapter Rep Adapter ASE Replication Server 11.5+ Formats to

    a SQL DML String MQ Adapter Out Flow In Flow •  INSERT •  UPDATE •  DELETE •  stored procedure •  begin .. commit DB2 Oracle Informix Replication Agent   Captures INSERT, UPDATE, DELETE, stored procedure, and transaction boundary events from Rep Server’s DSI thread   Formats the events into SQL strings, name/value pairs, TIB RV messages, comma delimited values, or a Java Objects   Provides filtering to only receive events of interest   Interacts with Rep Server’s stable queue to provide guaranteed delivery with a high quality of service.   Hands all events to in-flow processors attached to routes
  14. ASE JDBC Data Source Timer Adapter SQL Adapter MQ Adapter

    Trans form In Flow Out Flow Timer and SQL Adapter   Timer Adapter sends event to tell Tranform processor to wake up and query a database   SQL Adapter connects to database and returns a result set   SQL Adapter can utilize bundled jConnect or any JDBC driver jConnect JDBC Driver
  15. TIBCO Rendevous SQL Adapter TIBCO Adapter MQ Adapter SQL Adapter

    MQSeries Queue X In Flow In Flow Out Flow Out Flow MQSeries and TIBCO Adapter   TIBCO and MQ Adapters covert events to native message formats   TIBCO and MQ Adapters use outflow processors to end routes   TIBCO and MQ Adapter are responsible for QOS report
  16. TIBCO Rendevous MQSeries Queue TIBCO Adapter MQ Adapter Out Flow

    Out Flow Rep. Adapter In Flow Branch MQSeries and TIBCO Adapter   TIBCO and MQ Adapters covert events to native message formats   TIBCO and MQ Adapters use outflow processors to end routes   TIBCO and MQ Adapter are responsible for QOS report
  17. In-flow Starts a route and can assign an event type

    Out-flow Ends a route Transfer Transfers events from one route to another Branch Branches a route to multiple sub-branches. Transform Changes a route’s event type MQ Adapter Rep Adapter In Flow Out Flow SQL Adapter Trans Form TIBCO Adapter Out Flow Branch ‘Text’ Event Type ‘RV Msg’ Event Type MQ Adapter Out Flow Trans fer Trans Form ‘SQL’ Event Type Processor Types   Processors contain logic that is executed on an event   All processors are associated with a route   All processors can contain custom Java classes
  18. Rep Adapter ‘Text’ Event Type Assigned MQ Adapter Out Flow

    In Flow In-Flow Processor   Begins a route   Must support the Quality of Service level of a route   Pushes events onto a route   Assigns an initial event type to a route   Can invoke customer Java classes
  19. MQ Adapter Rep Adapter Out Flow In Flow MQSeries Queue

    Successful placement of event in MQ queue is reported back to InFlow Out-Flow Processor   Ends a route by consuming an event   Can invoke customer Java classes
  20. Rep Adapter In Flow MQSeries Queue MQ Adapter Out Flow

    Out Flow Trans fer ‘Text’ Event Type ‘Text’ Event Type Assigned Route 1 Route 2 Transfer Processor   Moves an event from one route to another   QOS of the route that terminates at a Transfer is unrelated to the QOS of any newly originated Route(s)   Can invoke customer Java classes MQ Adapter
  21. jConnect Rep Adapter SQL Adapter MQ Adapter ‘SQL’ Event Type

    ‘Text’ Event Type Assigned Route 1 Route 2 ASE MQSeries Queue Transform Processor   Transforms a route’s event type from one type to another   Can filter events by not forwarding along the route   In-flow and out-flow events can be of different types   Can invoke customer Java classes In Flow Out Flow Trans form
  22. Branch Processor   Conditionally Branches an Event to 0 or

    more sub-routes   Can end a route by branching to 0 sub-routes   Source and destination Events must be of the same type   Can invoke customer Java classes jConnect Rep Adapter SQL Adapter MQ Adapter Trans form ‘SQL’ Event Type ‘Text’ Event Type Assigned Route 1 Route 2 ASE MQSeries Queue ‘RV Msg’ Event Type Assigned TIBCO Rendevous Out Flow In Flow Trans form Branch TIBCO Adapter Out Flow
  23. Unique Customer Defined Name MQ Adapter Rep Adapter Out Flow

    + Event Type assigned to route at In-Flow Processor Example: New_PO Example: RV Message Container Implementation Types SQL Single SQL result set RowSet Multi row result set Bin Binary Text Text String Java Object Any arbitrary Java Object as contents RV Message TIBCO rendezvous msg Aggregate Ordered collection of other nested Event Containers User Defined Customer created Processors Event Types and Container Implementations   Processors are strongly typed by assigned Event Types that define the type of data the processor can handle.   An Event can change Types along a Route at a Branch or Transform processor In Flow Event Type Container Type
  24. Enterprise Event Broker GUI Manager GUI Manager Manages the configuration

    for the following: • Server • Event Types • Flowspace • Routes • Adapters • Processors • Customer Java Classes
  25. Enterprise Event Broker SQL Enhanced Sample The SQL Enhanced sample

    demonstrates replicated event handling: routing between multiple message adapters, and transformation from one event content to another 1. The Replication Adapter receives a replicated event from a Rep Server 2. The Replication Adapter sends the event to the SQL Adapter as a SQL event type event 3. The SQL Adapter executes the query with the specified parameters within the event and transforms the ResultSet into a Rowset event type 4. The SQL Adapter sends the SQL Rowset typed event to the TIBCO Adapter 5. The TIBCO Adapter publishes the message to TIBCO message system Rep Adapter ASE Replication Server 11.5+ Transformed into a Text Event Type TIBCO Adapter SQL Adapter Out Flow Trans form In Flow
  26. Enterprise Event Broker Publish and Replicate Sample The Publish and

    Replicate sample demonstrates sending a replicated Property event type event from the Replication Adapter to the TIBCO Adapter for publication to the TIBCO message system 1. The Replication Adapter receives a replicated event from a Rep Server 2. The Replication Adapter sends a Property event to the TIBCO Adapter 3. The TIBCO Adapter publishes the message to the TIBCO message system Rep Adapter ASE Replication Server 11.5+ Assigns a property event type. TIBCO Adapter Out Flow In Flow
  27. Enterprise Event Broker TIBCO Listener Sample The TIBCO Listener sample

    demonstrates the TIBCO Adapter listening for a TIB/Rendezvous subject, receiving and processing the event within EEB, and then publishing the results back to the TIBCO message system 1. The TIBCO Adapter listens for messages with a “sample.query” subject 2. Detected messages are captures and converted to Text typed events 3. Event is processed by the SQL Adapter and returned as a Rowset typed event 4. The event is then transformed to a Text typed event and sent back to TIBCO 5. TIBCO Adapter receives and publishes the event to the TIBCO msg system ASE Property to Text Transform TIBCO Adapter Out Flow TIBCO Rendezvous SQL Adapter Trans form Out Flow Trans form In Flow Rowset to Text Transform In Flow
  28. Enterprise Event Broker MQseries Adapter Sample The MQSeries Adapter sample

    demonstrates receiving replicated events from the Replication Adapter, formatting of replication operations, and sending a message to an MQSeries queue 1. The Replication Adapter receives a replicated event from a Rep Server 2. The Replication Adapter In-flow processor types the event as Text 3. Event is forwarded to the MQ Adapter and placed in the local default queue 4. Diagnostic information is written to the logfile Rep Adapter ASE Replication Server 11.5+ Assigns a Text event type. MQ Adapter Out Flow In Flow MQSeries Default Local Queue Message is sent as UTF String
  29. TIM Sybase.Smith trades Sybase.Chris trades ASE Usage Scenario — TIBCO

    Content Customization T I B All Sybase trades Subscribe to Sybase.Smith Subscribe to Sybase.Chris & Sybase.Joe trade information Enterprise Event Broker All trades Capture Transform Deliver BRIAN Sybase.Joe trades
  30. Usage Scenario — MQ Series Enterprise Integration ASE M Q

    S e r i e s Mainframe DB2 Trade transactions replicated to Sybase ASE Enterprise Event Broker Transformed trade information in a modified FIX format Capture Transform Deliver Reporting Server Analysis Application