This topic introduces and describes VMware Tanzu GemFire for Tanzu Application Service architecture.

VMware Tanzu GemFire Basics

Tanzu GemFire is the data store within GemFire for Tanzu Application Service. A GemFire for Tanzu Application Service service instance requires a small amount of administrative setup, and any app will use a limited portion of the API.

The GemFire for Tanzu Application Service architectural model is a client-server model. The clients are apps or microservices, and the servers are a set of cluster servers maintained by a GemFire for Tanzu Application Service service instance. The servers provide a low-latency, consistent, fault-tolerant data store within GemFire for Tanzu Application Service.

Client Server Model

The cluster holds data in key/value pairs. Each pair is called an entry. Entries are logically grouped into sets called regions. A region is a map (or dictionary) data structure.

The app (client) uses GemFire for Tanzu Application Service as a cache. A cache lookup (read) is a get operation on a region. The cache operation of a cache write is a put operation on a region. The command-line interface, named gfsh, facilitates region administration. Use gfsh to create and destroy regions within the GemFire for Tanzu Application Service service instance.

The App’s Location

A running app’s location affects how it communicates with the GemFire for Tanzu Application Service service instance. Apps may run in one of three locations:

  • In the services foundation where the GemFire for Tanzu Application Service service instance runs. These apps require no extra communication support.
  • In an app foundation, where a user-provided service instance proxies the communication to the GemFire for Tanzu Application Service service instance. Communication with the GemFire for Tanzu Application Service service instance requires a service gateway.
  • Outside of any platform, where a platform is composed of any and all foundations. Communication with the GemFire for Tanzu Application Service service instance requires a service gateway.

Interaction of Apps and Foundations

To use a service gateway, the operator must Configuring a Service Gateway. The developer must Provide Optional Parameters when creating the GemFire for Tanzu Application Service service instance. And, the app must be given and use properties that authenticate and authorize Communicating with a Service Instance through the service gateway.

Member Communication

When a client connects to the cluster, it first connects to a locator. The locator replies with the IP address of a server for it to talk to. The client then connects to that server.

Member Communication 1

When the client wants to read or write data, it sends a request directly to the server.

Member Communication 2

If the server doesn’t have the data locally, it fetches it from another server.

Member Communication 3

check-circle-line exclamation-circle-line close-line
Scroll to top icon