background picture of the home page

欲买桂花同饮酒,终不似少年游

JUC-线程

线程的创建继承Thread类public class Test1 { public static void main(String[] args) { var t1 = new Thread("t1") { @Override

thumbnail of the cover of the post

MySQL数据库集群 - 主从

原理三种线程binlog dump thread根据从节点IO thread的请求,分批读取binlog文件指定位置之后的信息并返回从节点io thread当从节点执行START SLAVE命令开启主从复制后,从节点会创建IO thread用来连接主节点,请求指定binlog,指定位置之后的日志内容

thumbnail of the cover of the post