TIBCO StreamBase High Availability Deploy Mission-Critical TIBCO StreamBase Applications in a Fault Tolerant Configuration

Similar documents
TIBCO StreamBase High Availability Deploy Mission-Critical TIBCO StreamBase Applications in a Fault Tolerant Configuration

Integration Maturity Model Capability #5: Infrastructure and Operations

Log Management Solution for IT Big Data

SOLUTION BRIEF. TIBCO StreamBase for Algorithmic Trading

whitepaper The Evolutionary Steps to Master Data Management

WHITEPAPER. Beyond Infrastructure Virtualization Platform Virtualization, PaaS and DevOps

End-to-end Processing with TIBCO Managed File Transfer (MFT) Improving Performance and Security during Internet File Transfer

SOLUTION BRIEF. TIBCO StreamBase for Foreign Exchange

TIBCO ActiveSpaces Use Cases How in-memory computing supercharges your infrastructure

TIBCO Managed File Transfer Suite

Service Mediation. The Role of an Enterprise Service Bus in an SOA

SOLUTION BRIEF. TIBCO LogLogic A Splunk Management Solution

TIBCO Live Datamart: Push-Based Real-Time Analytics

TIBCO Nimbus Cloud Service

whitepaper Five Principles for Integrating Software as a Service Applications

Service-Oriented Integration: Managed File Transfer within an SOA (Service- Oriented Architecture)

Integration Maturity Model Capability #1: Connectivity How improving integration supplies greater agility, cost savings, and revenue opportunity

Predictive Straight- Through Processing

Extending the Benefits of SOA beyond the Enterprise

Introduction to TIBCO MDM

Implementing TIBCO Nimbus with Microsoft SharePoint

Streaming Analytics and the Internet of Things: Transportation and Logistics

Partner Collaboration Blueprint for ICD-10 Transition

Oracle Databases on VMware High Availability

Symantec and VMware: Virtualizing Business Critical Applications with Confidence WHITE PAPER

whitepaper Ten Essential Steps for Achieving Continuous Compliance: A Complete Strategy for Compliance

SOLUTION BRIEF. How to Centralize Your Logs with Logging as a Service: Solving Logging Challenges in the Face of Big Data

Oracle Database Solutions on VMware High Availability. Business Continuance of SAP Solutions on Vmware vsphere

A Guide Through the BPM Maze

TIBCO Cyber Security Platform. Atif Chaughtai

TIBCO Foresight Transaction Insight

FX Trading: The Next Generation FX Trading and Technology Trends in 2010

Confidently Virtualize Business-critical Applications in Microsoft Hyper-V with Symantec ApplicationHA

Performance & Scalability Characterization. By Richard Tibbetts Co-Founder and Chief Architect, StreamBase Systems, Inc.

SOLUTION BRIEF. An ArcSight Management Solution

Integration: Why Good Enough Doesn t Cut It 13 ways to mess with success

Reducing the Cost and Complexity of Business Continuity and Disaster Recovery for

A Technical Review of TIBCO Patterns Search

Confidently Virtualize Business-Critical Applications in Microsoft

Veritas Cluster Server by Symantec

FX Trading and Technology Trends 2012

EMC VPLEX FAMILY. Continuous Availability and data Mobility Within and Across Data Centers

Executive Summary WHAT IS DRIVING THE PUSH FOR HIGH AVAILABILITY?

Dynamic Claims Processing

Whitepaper Continuous Availability Suite: Neverfail Solution Architecture

Veritas Cluster Server from Symantec

Predictive Customer Interaction Management

Pervasive PSQL Meets Critical Business Requirements

Solution Brief Availability and Recovery Options: Microsoft Exchange Solutions on VMware

Double-Take Replication in the VMware Environment: Building DR solutions using Double-Take and VMware Infrastructure and VMware Server

Maximum Availability Architecture. Oracle Best Practices For High Availability. Backup and Recovery Scenarios for Oracle WebLogic Server: 10.

Airline Disruption Management

Automating the Back Office. How BPM can help improve productivity in the back office

Skelta BPM and High Availability

Creating A Highly Available Database Solution

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

SAN Conceptual and Design Basics

EMC VPLEX FAMILY. Continuous Availability and Data Mobility Within and Across Data Centers

Virtualizing Business-Critical Applications with Confidence

High Availability with Postgres Plus Advanced Server. An EnterpriseDB White Paper

Virtualization Essentials

High Availability and Disaster Recovery Solutions for Perforce

Resource Sizing: Spotfire for AWS

FioranoMQ 9. High Availability Guide

Veritas InfoScale Availability

SOLUTION BRIEF. TIBCO Master Data Management Platform

Windows Server Failover Clustering April 2010

Security Threat Kill Chain What log data would you need to identify an APT and perform forensic analysis?

Automatic Service Migration in WebLogic Server An Oracle White Paper July 2008

CDH AND BUSINESS CONTINUITY:

Transaction Modernization Solutions for Healthcare

Combating Fraud, Waste, and Abuse in Healthcare

Informatica MDM High Availability Solution

The functionality and advantages of a high-availability file server system

Fax Server Cluster Configuration

AlwaysOn Desktop Implementation with Pivot3 HOW-TO GUIDE

TIBCO MFT BusinessWorks MFT Palette

VERITAS Volume Replicator in an Oracle Environment

VERITAS Business Solutions. for DB2

TIBCO Rendezvous Network Server Glossary

VMware vsphere Data Protection 6.0

Connectivity. Alliance Access 7.0. Database Recovery. Information Paper

VMware vsphere 4. Pricing, Packaging and Licensing Overview W H I T E P A P E R

High Availability And Disaster Recovery

Neverfail Solutions for VMware: Continuous Availability for Mission-Critical Applications throughout the Virtual Lifecycle

Windows Geo-Clustering: SQL Server

MaximumOnTM. Bringing High Availability to a New Level. Introducing the Comm100 Live Chat Patent Pending MaximumOn TM Technology

DeltaV Virtualization High Availability and Disaster Recovery

Transcription:

TIBCO StreamBase High Availability Deploy Mission-Critical TIBCO StreamBase Applications in a Fault Tolerant Configuration Richard Tibbetts, CTO, TIBCO StreamBase

Table of Contents 3 TIBCO StreamBase High Availability 3 Overview 4 Components 5 Third-Party Components 6 Disaster Recovery 7 Additional Information

TIBCO StreamBase High Availability Deploy Mission-Critical TIBCO StreamBase Applications in a Fault Tolerant Configuration TIBCO StreamBase High Availability The TIBCO StreamBase event processing platform provides the ability for customers to deploy mission-critical TIBCO StreamBase applications in a fault tolerant configuration. High availability is a broad term and is used here to mean that the system will continue to operate correctly in conditions such as: Hardware failure of a server running TIBCO StreamBase Unexpected software failure in the TIBCO StreamBase event processing platform Administrative error on a server, such as accidental shutdown Failure of network links Server maintenance/removal from production Correct operation means that the system will continue to correctly process new events and that downstream systems will be insulated from a gap in processing. Overview The principal technique for fault tolerance is to deploy a pair of servers, both executing the same application, one running as the primary server and one as the backup. (See Figure A.) Data from upstream sources is delivered to both servers. The application running on the primary server is responsible for actual decisions, and for producing the results that are delivered to downstream systems. The application running on the backup server executes all calculations and maintains state, but under normal operation does not deliver results to the downstream system. If the application is nondeterministic, such as making trades based on market timings, then application state can optionally be synchronized from the primary to the backup server. State synchronization assures that the backup server state correctly reflects the processing on the primary server, along with the results that have already been delivered to downstream systems. Figure A TIBCO StreamBase High Availability 3

In the event of failure on the primary server, the backup server will take over. The backup server uses a system of heartbeats to monitor the health of the primary. When the primary stops responding to heartbeats, the backup server determines that a failure has occurred. At this point, the backup server stops listening to state updates from the primary, and begins delivering messages to the downstream system, optionally filling in messages that the downstream system missed. To return to a highly available state, a new backup server can be introduced and synchronized with the now-primary server. Once synchronization is complete, the system is returned to safety. Components Several components of the TIBCO StreamBase event processing platform work together to create fault tolerant deployments. (See Figure B.) To characterize StreamBase high availability capabilities in more detail, we describe some of the components below. Figure B Components of StreamBase High Availability Containers TIBCO StreamBase Server can run multiple StreamBase applications, with each application running in its own container. A container provides the system services needed by its application, and affords management functionality, such as starting and stopping applications. The ability to manage containers independently is a key part of StreamBase high availability. Leadership Leadership is a flag that will be set on exactly one of the nodes in the pair. Downstream clients and backup nodes will respect the leader s output messages and state updates over those of other nodes. The leadership flag is maintained by the logic in the HA container. 4

HA Container Within a server participating in a highly available server pair, a special container called the HA container will exist. This container executes an HA application, which is responsible for the event processing logic that implements the high availability strategy. This application is specified in TIBCO StreamBase event flow and provided as part of the TIBCO StreamBase platform. When failure of the primary server is detected by the backup, the HA container in the backup decides on the new leader and triggers HA events, which tell applications and clients that a leadership change has occurred. The HA container also publishes events that can be read by clients that want visibility into this recovery process. Heartbeats Heartbeats are passed between the HA containers of the two nodes in the pair. These heartbeats come at a configurable interval (generally 10 times per second) and are used to identify a failure in the primary server. When a configurable number of heartbeats are missed (generally 10) the backup server will initiate failover. Third-Party Components TIBCO StreamBase high availability can be deployed in a pure StreamBase environment, or it can be integrated with additional third-party components. Highly Available RDBMS Many TIBCO StreamBase applications interact with a traditional relational database management system (RDBMS). These systems often provide high availability options, such as Oracle RAC. In a highly available deployment, StreamBase will integrate with the failover strategy of these systems through standard or proprietary APIs, to assure that data is not lost and processing continues. Storage Area Network (SAN) Many sites make heavy use of SAN in their high availability or disaster recovery strategies. StreamBase can persist table data to a SAN, and use that data when a backup server takes over. StreamBase can also log to a SAN using an efficient binary representation for recovery or auditing. Multicast Messaging Messaging systems such as RMDS and Wombat can use multicast to deliver the same messages to multiple systems simultaneously. A TIBCO StreamBase primary and backup server can both listen to these messages as a way of assuring that the backup server sees all the messages. Reliable Messaging Reliable messaging products, such as TIBCO Enterprise Message Service, or third-party products like JMS, can be used in place of StreamBase network connections through the use of adapters. StreamBase integrates with the failover strategy of these message queuing products, and will acknowledge the messages at the right stage of event processing. Hardware Virtualization StreamBase can easily be deployed on virtualized hardware. In multi-tenant situations sufficient processing power must be available in order to achieve real-time goals, but with StreamBase this is easily accomplished. 5

Disaster Recovery Disaster recovery is separate from fault tolerance, because the time scales are different and the faults are larger. In a disaster recovery scenario, an entire operational site is disrupted by a natural disaster or infrastructure failure. Because the upstream and downstream systems feeding StreamBase are likely to be disrupted similarly, and this event is very infrequent, immediate and automatic failover is not generally desirable. Instead, administrative procedures and operator intervention come into play. (See Figure C.) The StreamBase server is generally restarted as part of a larger procedure. Persistent storage, such as a SAN, is used to recover critical application state, such as executed orders. For some applications, the disaster recovery procedure is asymmetric, where the application running at the recovery site closes out open positions, and then ceases operation. But for many applications, the disaster recovery site achieves full operability and will continue as the primary site for days or weeks. In either case, TIBCO StreamBase easily fits into existing business continuity planning. Figure C Components of StreamBase Disaster Recovery 6

Additional Information Additional information is available in the following StreamBase documentation topics: About Richard Tibbetts As chief technology officer for TIBCO s StreamBase products, Richard Tibbetts provides technical leadership for architectural design of TIBCO s StreamBase event processing platform. Under Richard s technical guidance StreamBase Systems was named a World Economic Forum Technology Pioneer for the company s innovations in processing realtime data, and in 2010, Richard was selected as one of the Top 30 Innovators under 30 by The Technology Review Magazine. Richard earned both his bachelor s in computer science and engineering, and master s of engineering degrees at MIT. TIBCO Software Inc. (NASDAQ: TIBX) is a global leader in infrastructure and business intelligence software. Whether it s optimizing inventory, cross-selling products, or averting crisis before it happens, TIBCO uniquely delivers the Two-Second Advantage the ability to capture the right information at the right time and act on it preemptively for a competitive advantage. With a broad mix of innovative products and services, customers around the world trust TIBCO as their strategic technology partner. Learn more about TIBCO at www.tibco.com. Global Headquarters 3307 Hillview Avenue Palo Alto, CA 94304 Tel: +1 650-846-1000 +1 800-420-8450 Fax: +1 650-846-1005 www.tibco.com 2014, TIBCO Software, Inc. All rights reserved. TIBCO, the TIBCO logo, TIBCO Software, TIBCO Enterprise Message Service, TIBCO StreamBase, and TIBCO StreamBase Server are trademarks or registered trademarks of TIBCO Software Inc. in the United States and/or other countries. All other product and company names and marks in this document are the property of their respective owners and mentioned for identification purposes only. 7 exported27jan2014