From a254e4f02687b09648aa37b684833afce835025b Mon Sep 17 00:00:00 2001 From: Stas Maksimov Date: Wed, 29 May 2024 22:35:17 +0100 Subject: [PATCH] Update README.md --- projects/mysql-cluster/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/projects/mysql-cluster/README.md b/projects/mysql-cluster/README.md index 65d35852..1eed1934 100644 --- a/projects/mysql-cluster/README.md +++ b/projects/mysql-cluster/README.md @@ -9,9 +9,6 @@ This project is designed to introduce you to MySQL database setup, schema creati You will set up a primary MySQL server, test it, add a secondary server for replication, and demonstrate replication and failover processes. Most steps are designed to succeed, but some will require some troubleshooting and problem-solving. -There are different ways to configure MySQL replication. In this exercise, you will be configuring our servers for primary-replica (or master-slave) replication. -In this type of replication, the primary server (or the master) takes all the writes and they are automatically replicated onto the replica server (or the slave). This technique is widely used to increase scalability of the database for read-intensive operations (which is extremely common for web). In the primary-replica setup, the replica (or replicas) would normally be used for reads and primary for writes only. Even though it's technically possible to use the primary for the reads as well, it is not possible to write to the replica directly. - ## Learning Objectives - Install MySQL server - Configure MySQL as a cluster @@ -22,6 +19,10 @@ Timebox: 5 days ## Project +There are different ways to configure MySQL replication. In this exercise, you will be configuring our servers for primary-replica (or master-slave) replication. + +In this type of replication, the primary server (or the master) takes all the writes and they are automatically replicated onto the replica server (or the slave). This technique is widely used to increase the scalability of the database for read-intensive operations (which is extremely common for the web). In the primary-replica setup, the replica (or replicas) would normally be used for reads and primary for writes only. Even though it's technically possible to use the primary for the reads and the writes, it is impossible to write directly to the replica. + ### Task 1: Set Up the Primary MySQL Server 1. **Launch an EC2 Instance**