Processes in ActiveSpaces
The following processes are involved in creating, maintaining, and querying the data grid:
- TIBCO ActiveSpaces Client Applications
- The client applications use the API libraries shipped with the product to build custom applications. Client applications interact with the data grid by using the proxy process.
- Proxy
- A proxy is a mediator between a client request and the data grid. Based on the client request, the proxy identifies the primary node in a copyset and interacts with the primary node till the request is processed and shared with the client. You can have many proxies in a data grid.
- Realm Server
- A data grid is run inside a TIBCO FTL realm. A TIBCO FTL realm server supplies configuration data to the data grid components.
- State Keeper
- A state keeper runs internally in the data grid and tracks all the data in the data grid. Each state keeper saves the data locally on the disk. When you start the realm server, the state keeper receives the grid configuration information from the realm server. State keepers are responsible for the following functions:
- Tracking and managing all the copysets in a data grid
- Tracking the proxies in a data grid
- Identifying a primary node in each copyset
- Promoting one of the secondary node as primary, in case the primary node of a copyset goes down
- Ensuring consistency as the data grid scales up
- Fault Tolerance in State Keepers
- In fault tolerant mode, one of the state keepers is the primary state keeper. In case the primary state keeper is down, one of the secondary state keepers takes over as the primary. It is a good practice to have one to three state keepers running in a production environment.
- Node
- For more information on nodes, see Nodes.
- Fault Tolerance in Nodes
- To prevent data loss, you can run up to three nodes per copyset. Every node must have at least one backup node that has an identical copy of the data. For production deployments, TIBCO recommends using at least two nodes per copyset.
Copyright © Cloud Software Group, Inc. All rights reserved.