An open API service indexing awesome lists of open source software.

https://github.com/jelastic-jps/mariadb-replication

Primary-Secondary replication is used to solve performance problems, to support the db backups, and to alleviate system failures
https://github.com/jelastic-jps/mariadb-replication

database database-replication database-server jelastic jps mariadb mariadb-database mariadb-replication master-slave-replication primary-secondary-replication replication slave source-replica

Last synced: 29 days ago
JSON representation

Primary-Secondary replication is used to solve performance problems, to support the db backups, and to alleviate system failures

Awesome Lists containing this project

README

        

[![MariaDB Database Replication](images/maria.png)](../../../mariadb-replication)
## MariaDB Database Replication

The JPS package deploys MariaDB Cluster with preconfigured replication that initially contains 2 database containers. The package provides the solution for solving performance problems, DB backups support, gives ability to alleviate system failures. It enables data from one database server (the primary previously known as master) to be replicated to another (the secondary previously known as slave).

### Highlights
This package is designed to solve a number of different problems with performance, supporting the backup of different databases, and as a part of a larger solution to alleviate system failures.

It enables data from one database server (the primary) to be replicated to another (the secondary). The primary logs the updates, which then ripple through to the secondary. The secodnary outputs a message stating that it has received the update successfully, thus allowing to send the subsequent updates. Primary-Secondary replication can be asynchronous.

The target usage for replication in MariaDB databases includes:
- Data security
- Analytics
- Long-distance data distribution

### Environment Topology

![mariadb-replication.png](images/mariadb-replication.png)

### Specifics

Layer | Server | Number of CTs
by default | Cloudlets per CT
(reserved/dynamic) | Options
----------------- | --------------| :-----------------------------------------: | :-------------------------------------------------------: | :-----:
DB | MariaDB | 2 | 1 / 16 | -

* DB - Database
* CT - Container

**MariaDB Database**: 10.5.8

### Deployment

In order to get this solution instantly deployed, click the "Get It Hosted Now" button, specify your email address within the widget, choose one of the [Jelastic Public Cloud providers](https://jelastic.cloud) and press Install.

[![GET IT HOSTED](https://raw.githubusercontent.com/jelastic-jps/jpswiki/master/images/getithosted.png)](https://jelastic.com/install-application/?manifest=https%3A%2F%2Fgithub.com%2Fjelastic-jps%2Fmariadb-replication%2Fraw%2Fmaster%2Fmanifest.jps)

To deploy this package to Jelastic Private Cloud, import [this JPS manifest](../../raw/master/manifest.jps) within your dashboard ([detailed instruction](https://docs.jelastic.com/environment-export-import#import)).

More information about Jelastic JPS package and about installation widget for your website can be found in the [Jelastic JPS Application Package](https://github.com/jelastic-jps/jpswiki/wiki/Jelastic-JPS-Application-Package) reference.