Skip to content

Home

Development

IDEs

API Explorer

Releases

Release notes

Martini Runtime

Martini Desktop

Martini Online

Feature requests

Bug reports

Clustered configuration scenario

A cluster is a group of devices, servers, or other resources that act as a single system to promote availability and in some cases, may execute load balancing and parallel processing.

A clustered setup for Martini involves having multiple servers clustered together in a group so that Martini's workload can shift from server to server to ensure maximum uptime and reliability. In a clustered environment, instances are grouped into nodes where they may work together to maintain the desired state of a service. This may be achieved by deploying Martini in a Docker swarm.

For example, when a Martini node within a Docker swarm environment becomes unavailable, the running Docker service will be passed to another node and you will be able to continue serving requests.

Another way to effectively setup a successful clustered environment for Martini is to configure the different applications embedded in your instance to support your cluster configuration.

These configurations are useful when using multiple Martini instances in a clustered environment in a way that they can provide a centralized source and destination of data. These may be used for instances, independent or clustered alike: