Skip to content

Commit 4cc28d2

Browse files
committed
Incorporate animations to clarify complex sections of the book.
1 parent 284f96a commit 4cc28d2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Chapter4_12.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The most efficient testing method is to utilize real online traffic for evaluati
2626

2727
In Oracle, Database Replay enables testing a system with real production workloads, helping identify potential problems before implementing changes on the production system. Any workload period can be captured with little overhead and used to drive a test system, maintaining the concurrency and load characteristics of the real workload. Maintaining these characteristics is crucial, as current testing solutions often lack synchronization based on data dependencies. Without proper synchronization, the workload does not perform as required, leading to poor coverage and inadequate load, leaving many problems undetected. Database Replay's data-based synchronization makes testing realistic and helps discover potential problems [34].
2828

29-
In MySQL, a common strategy involves taking a MySQL secondary instance offline for testing, configuring the necessary cluster, and replicating online MySQL requests to this new testing primary. The closer the testing primary resembles the production environment, the more accurate the test results. There are various methods to replicate online MySQL requests. This book recommends the open-source tool TCPCopy [65]. By using TCPCopy, many online problems have been successfully effectively resolved, laying a solid foundation for MySQL proxy enhancements [66]. For testing a MySQL cluster, replicating online requests to the testing system using TCPCopy allows us to evaluate whether the modifications achieve the expected outcomes, such as performance improvements, and robustness.
29+
In MySQL, a common strategy involves taking a MySQL secondary instance offline for testing, configuring the necessary cluster, and replicating online MySQL requests to this new testing primary. The closer the testing primary resembles the production environment, the more accurate the test results. There are various methods to replicate online MySQL requests. This book recommends the open-source tool TCPCopy [65]. By using [TCPCopy]([TCP Handshake & TCPCopy Replication Animation](https://enhancedformysql.github.io/animation/how_tcpcopy_works.html)), many online problems have been successfully effectively resolved, laying a solid foundation for MySQL proxy enhancements [66]. For testing a MySQL cluster, replicating online requests to the testing system using TCPCopy allows us to evaluate whether the modifications achieve the expected outcomes, such as performance improvements, and robustness.
3030

3131
### 4.12.5 Is Testing About Discovering Problems or Verifying Them?
3232

Chapter9.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ The theoretical basis for optimizing Mencius includes [32]:
220220

221221
*Skipping is the core technique that makes Mencius efficient.*
222222

223-
The specific Paxos network interaction diagram after Paxos skip optimization is shown in the following figure:
223+
[The specific Paxos network interaction]([Paxos Visualization](https://enhancedformysql.github.io/animation/paxos_app.html)) diagram after Paxos skip optimization is shown in the following figure:
224224

225225
![](media/55787cfe149ebf1c574aa1da4eea678c.png)
226226

Preface.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Part 5 is the concluding summary. Chapter 12 outlines future directions for MySQ
4949

5050
## References and Further Reading
5151

52-
This book focuses on analyzing and solving MySQL problems, so a certain level of computer science background is recommended. To support understanding and maintain continuity, key terminology is included in the "Glossary" section of the appendix. For those lacking a foundation in MySQL, please refer to the related content in the appendix or consult dedicated MySQL books [69].
52+
This book focuses on analyzing and solving MySQL problems, so a certain level of computer science background is recommended. To support understanding and maintain continuity, key terminology is included in the "Glossary" section of the appendix. For those lacking a foundation in MySQL, please refer to the related content in the appendix or consult [dedicated MySQL books](https://github.com/enhancedformysql/tech-explorer-hub) [69].
5353

5454
## Special Terminology Explanation
5555

@@ -98,6 +98,6 @@ This book meticulously organizes a wealth of ideas and knowledge contributed by
9898

9999
Several individuals have been crucial in the writing of this book by reviewing drafts and offering feedback. I am especially grateful for the contributions of Hongshen Wang, Jinrong Ye, Riyao Gao, and Haitao Gao. Naturally, I take full responsibility for any remaining errors or contentious opinions in this book.
100100

101-
Finally, my deepest gratitude to my family, whose unwavering support has been indispensable throughout this nearly three-month writing journey. You are the best.
101+
Finally, my deepest gratitude to my family, whose unwavering support has been indispensable throughout this nearly six-month writing journey. You are the best.
102102

103103
[Next](Part1.md)

0 commit comments

Comments
 (0)