摘要: https://www.infoq.cn/article/c4-architecture-model 阅读全文
posted @ 2024-04-28 10:12 daniel456 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1. EXPLAIN 是什么? MySQL 提供的一个关键字,用于分析查询语句的执行计划。通过执行 EXPLAIN 命令,可以获取查询执行的详细信息,包括使用的索引、表的访问顺序、连接类型和估计的行数等。分析 EXPLAIN 结果可以帮助我们了解查询的性能瓶颈,优化查询语句和索引设计。 下面是分析 阅读全文
posted @ 2024-03-29 15:17 daniel456 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/410d70050473 阅读全文
posted @ 2024-03-19 16:40 daniel456 阅读(3) 评论(0) 推荐(0) 编辑
摘要: The C4 (Context, Containers, Components, and Code) view model was proposed by Simon Brown, a software architecture consultant and author. He introduce 阅读全文
posted @ 2023-12-29 10:47 daniel456 阅读(115) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/rfbZ79TmZ61lx_JBnwDJMQ# or https://www.cnblogs.com/-wenli/p/12343300.html 阅读全文
posted @ 2023-09-13 21:49 daniel456 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 常见的 MySQL 锁类型 MySQL 中有多种类型的锁,用于管理并发访问数据库时的数据一致性和并发控制。以下是: 共享锁(Shared Lock):也称为读锁。多个事务可以同时持有共享锁,并同时读取被锁定的数据,但不能进行写操作。共享锁之间不会互相阻塞,因此多个事务可以并发地持有共享锁。 排他锁( 阅读全文
posted @ 2023-05-11 10:06 daniel456 阅读(17) 评论(0) 推荐(0) 编辑
摘要: https://ossinsight.io/ 阅读全文
posted @ 2023-03-16 10:24 daniel456 阅读(9) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/JC14dWffHub0nfPlPipsHQ 阅读全文
posted @ 2022-10-26 16:58 daniel456 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 一、项目目录下执行: go vet ./... 二、代码风格 go fmt ./... 会自动格式化目录下所有代码文件 三、静态检测 go build -race 阅读全文
posted @ 2022-10-21 14:31 daniel456 阅读(24) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/5abb14c18c9c 阅读全文
posted @ 2022-10-17 22:37 daniel456 阅读(3) 评论(0) 推荐(0) 编辑