当前位置:网站首页>System architecture & microservices
System architecture & microservices
2022-07-26 07:30:00 【Proud cat sauce】

1、 Under Cluster , Every server The code of the node is the same .
2、 Database master-slave read-write separation .
Database master-slave read-write separation :
Share the pressure of the database , The main database is responsible for writing , Read from the library .
After the master database writes data , The data will be synchronized to the slave Library .
Read data to do a diversion , Slave Library 1 And from the library 2.
Maintain data consistency , The master library synchronizes data to the slave library , adopt binlog File implementation .
binlog Refers to binary log , It records all the changes in the database , And stored on disk in binary form , What's synchronized is sql sentence .
How to ensure low data delay between master and slave ?
High delay , It will cause us to write the data , Look up the data , The data cannot be found . The data will be found later .
dba It is necessary to ensure the delay of master and slave .
It can be used to view the change history of the database 、 Incremental database backup and recovery 、MySQL Copy ( Replication of master-slave database ).
binlog There are three formats :
statement: be based on SQL Copy of sentences (statement-based replication,SBR)
row: Line based replication (row-based replication,RBR)
mixed: Hybrid mode replication (mixed-based replication,MBR)
边栏推荐
- mysql语法(二)(纯语法)
- NFT digital collection system development: what are the best digital marketing strategies for NFT digital collection
- Compose Canvas line chart
- 此章节用于补充2
- 6. Combined data type
- Learning Efficient Convolutional Networks Through Network Slimming
- MMOE多目标建模
- Compose canvas custom circular progress bar
- Open source management system based on ThinkPHP
- NFT数字藏品系统开发:企业如何开发属于自己的数藏平台
猜你喜欢
随机推荐
此章节用于补充2
程序环境和预处理
Comparison and difference between dependence and Association
NFT数字藏品系统开发:NFT数藏 的最佳数字营销策略有哪些
hot100 哈希
6、组合数据类型
DADNN: Multi-Scene CTR Prediction via Domain-Aware Deep Neural Network
With someone else's engine, can it be imitated?
Learning Efficient Convolutional Networks Through Network Slimming
Tensorflow learning diary tflearn
NFT数字藏品开发:数字藏品助力企业发展
PostgreSQL UUID fuzzy search UUID string type conversion SQL error [42883] explicit type casts
如何保证缓存和数据库的双写一致性?
ModuleNotFoundError: No module named ‘pip‘解决办法
[daily question 1] 919. Complete binary tree inserter
NFT数字藏品系统开发:激活数字文化遗产
Redis migrate tool migration error.
基于Thinkphp的开源管理系统
MySQL installation tutorial - hands on installation
C# 使用Log4Net记录日志(基础篇)








