Terracotta Ehcache 10.5 | Terracotta Server Administration Guide | Cluster Architecture
 
Cluster Architecture
The Terracotta cluster can be viewed topologically as a collection of clients communicating with a Terracotta Server Array (TSA).
The server array can be broken down into one or more logically independent stripes. The total storage capacity of the TSA can be increased with the addition of more stripes.
A stripe can be broken down into one or more servers. Each stripe contains a single active server and zero or more passive servers. These stripe members are all configured by a single Terracotta configuration file. Refer to the section The Terracotta Configuration File for more details.
For more information on clients, active servers and passive servers, see the sections Clients in a Cluster and Active and Passive Servers.
TSA Topologies
There are multiple types of TSA topology, each offering different resource and availability capabilities.
TSA Topology
Description
Single-server cluster
This is a TSA which consists of one stripe containing a single server. This server is always the active server.
This scheme offers the least amount of both resource and availability capabilities:
*If this server should become unavailable, your client end-points will fail to operate.
*The resource services exposed to your clients are limited to those of the underlying server JVM and OS.
High-availability cluster
This refers to a TSA where each stripe consists of at least two servers. In addition to the active server there will be at least one passive server. The stripe will continue operating in the event of an active server failure, as long as at least one passive server is available.
Note that stripes do not share passive servers, so each stripe will need at least one passive to possess high-availability.
Multi-stripe cluster
Multi-stripe refers to a TSA that consists of multiple independent stripes. This scheme offers the ability for increased storage, with each stripe contributing to the available total amount of storage.
For a multi-stripe TSA to possess high-availability, each stripe must consist of more than one server. This setup offers the maximum of both resource and availability capabilities.
Client perspective
Each client is logically independent of other clients. It sees the TSA as a collection of one or more stripes. It connects to the active server of each stripe in order to issue messages to the cluster.
Stripe perspective
Each stripe is logically independent of other stripes in the TSA. Each stripe member only concerns itself with the clients connected to it and its sibling servers.
Specifically, the active server is the key point in each stripe: each stripe has exactly one active server and it is this server which interacts directly with each connected client and each passive server within the same stripe.

Copyright © 2010-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.