StreamBase Clustering and High Availability

Clustering and HA Documentation Overview

StreamBase 5.1 introduced a new implementation of StreamBase's support for clustered StreamBase Servers and high availability (HA) scenarios.

Clustering and HA support is not a single feature, but is a collection of components that are pervasive throughout StreamBase, and built into the lowest levels of server and container control.

Because StreamBase clustering and HA support is distributed throughout the product, the documentation for the features that support clustering and HA is found in many places. The following list provides an index to the pages that describe features that support clustering and HA.

Administration Guide, HA-specific Pages

  • Primer on StreamBase Clustering and HA. This page is the primary starting point for understanding clustering and HA in StreamBase. This page provides an overview of the collection of features that can be combined in various ways to support clustered and highly available servers in pursuance of different design goals.

  • Designing Highly Available Applications. Describes the application design patterns that HA applications have in common.

  • Legacy StreamBase Clustering. Describes the deprecation schedule for the implementation of clustering shipped with StreamBase releases through 5.0.

  • Using Control Stream Features. Describes the features of control streams that support HA scenarios.

Administration Guide, Pages with HA Implications

  • Using Containers. Describes the container extensions that support dynamic control of containers and connections between containers, and support dynamic enqueuing and dequeuing. An understanding of StreamBase containers is essential when writing an HA application.

  • Synchronous Container Connections. Describes the use of synchronous container connections to improve the latency of communication between containers.

  • Precompiled Application Archives. Describes starting sbd servers with precompiled applications.

Samples Guide

  • High Availability Sample. Describes how to locate and run the HA sample application. Studying the HA sample is the fastest way to understand the basic StreamBase HA features.

  • High Availability Sample 2: Shared Disk Access. Describes another approach, where an HA control application running identically on two servers does the work of starting the stream processing application in another container. This sample also illustrates several uses for the External Process Command Line operator, and illustrates one method of sharing a disk query table between two applications, one at a time.

Adapters Guide

Reference Guide

  • Multiple URI Syntax for HA Scenarios. Describes the multiple URI syntax that allows you to address more than one StreamBase Server at the same time in certain commands and settings.

  • sbadmin. Describes the modifyContainer, getLeadershipStatus, and setLeadershipStatus commands, and the extensions to dynamically control containers and streams.

  • sbc. Describes support for the multiple URI syntax.

  • sbfeedsim. Describes support for the multiple URI syntax.

  • sbargen. Describes the command used to generate precompiled StreamBase application files.

  • getLeadershipStatus(). Describes an HA-related function added to the StreamBase expression language.

  • StreamBase Server Configuration XML. Documents the sbd.sbconf XML format, including the deprecation of most high-availability elements and attributes, and the addition of support for precompiled application files and the --enqueue and --dequeue options for runtime application elements.

Authoring Guide