启动
sh zkServer.sh start
停止脚本
sh zkServer.sh stop
启动
sh zkServer.sh start
停止脚本
sh zkServer.sh stop
首先要明白为什么要用 mysql 的主从复制:1–在从服务器可以执行查询工作 (即我们常说的读功能),降低主服务器压力;(主库写,从库读,降压)2–在从主服务器进行备份,避免备份期间影响主服务器服务;(确保数据安全)3–当主服务器出现问题时,可以切换到从服务器。(提升性能)来说一下主从复制的实现原理 mysql 复制过程分为三步(如上图所示):1.mster 将改变记录到二进制日志 (
微服务的文章,本文则是这个系列的先导文章,主要介绍下docker的基本知识,为后面的微服务部署做个铺垫。为什么要用Docker而不用虚拟机?相比虚拟机,容器嫩更方便地与主机共享数据。启动和停止容器几乎只需一瞬间,更为适合敏捷开发。和虚拟机相比,容器的性能损耗要低得多。因为它没有类似虚拟机管理程序执行所带来的损耗。隔离性更好。docker是容器级的隔离,容器无法窥探其他容器内的进程情况
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M