21

分布式秒杀实战之数据读写分离

 3 years ago
source link: https://blog.52itstyle.vip/archives/5466/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

前言

书接上回,虽然小编都不敢轻易在这里吹牛逼,但是该优化升级还是很有必要的,不然作为技术负责人或者架狗屎的话岂不是百无一用了。

虽然大部分公司不会分表,但是不少公司应该会做一个备份库,一般通过 MySql 自带的主从复制功能来实现。所以,在实际开发中,我们可以在分表的的基础上进行读写分离,来减缓数据库压力。

JFJ7ZrN.jpg!mobile
Q3q2uyA.gif!mobile

作者:小柒

出处: https://blog.52itstyle.vip

分享是快乐的,也见证了个人成长历程,文章大多都是工作经验总结以及平时学习积累,基于自身认知不足之处在所难免,也请大家指正,共同进步。

本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出, 如有问题, 可邮件([email protected])咨询。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK