摘要: https://wingsxdu.com/posts/note/cpu-cache-and-memory-barriers/ https://stackoverflow.com/questions/65037547/the-volatile-keyword-and-cpu-cache-coheren 阅读全文
posted @ 2023-05-24 22:47 bf378 阅读(7) 评论(0) 推荐(0) 编辑
摘要: The easiest and most flexible way is to use a struct as the key type, including all the data you want to be part of the key, so in your case: type Key 阅读全文
posted @ 2023-05-08 20:18 bf378 阅读(43) 评论(1) 推荐(0) 编辑
摘要: Begin1:Begin Begin2:Begin,执行Begin会隐式提交Begin1开启的事务. Commit:提交Begin2事务 更多隐式提交事务的语句参见官网:https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html 阅读全文
posted @ 2023-04-19 22:13 bf378 阅读(78) 评论(0) 推荐(0) 编辑
摘要: git merge-base [-a | --all] <commit> <commit>…​ git merge-base [-a | --all] --octopus <commit>…​ git merge-base --is-ancestor <commit> <commit> git me 阅读全文
posted @ 2023-04-19 21:31 bf378 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 参考:https://stackoverflow.com/questions/5120038/is-it-possible-to-cherry-pick-a-commit-from-another-git-repository 阅读全文
posted @ 2023-04-19 13:19 bf378 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 一致性读 一致性读意味着InnoDB使用多版本技术在某个时间点使用该时间点的快照进行一致性读;默认可重复读隔离级别,当前事务只能看到在当下时间点之前提交事务产生的变化,时间点之后的变化无法感知到。 阅读全文
posted @ 2023-02-02 16:50 bf378 阅读(13) 评论(0) 推荐(0) 编辑
摘要: TODO https://dev.mysql.com/doc/refman/8.0/en/innodb-auto-increment-handling.html 阅读全文
posted @ 2023-01-13 19:33 bf378 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 建表语句 create table user_info_replace ( id bigint unsigned auto_increment primary key, user_name varchar(32) not null, age smallint default 0 null, addr 阅读全文
posted @ 2023-01-13 19:22 bf378 阅读(387) 评论(0) 推荐(0) 编辑
摘要: https://dev.mysql.com/doc/refman/8.0/en/replace.html 阅读全文
posted @ 2023-01-13 18:49 bf378 阅读(39) 评论(0) 推荐(0) 编辑
摘要: https://www.alibabacloud.com/blog/improving-redis-performance-through-multi-thread-processing_594150 阅读全文
posted @ 2023-01-13 15:02 bf378 阅读(11) 评论(0) 推荐(0) 编辑