-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { type DefaultTheme } from 'vitepress' | ||
import { BaGu } from '../8gu' | ||
|
||
export function BaGuCAP(): DefaultTheme.SidebarItem[] { | ||
return [ | ||
...BaGu(), | ||
{ | ||
text: 'CAP', | ||
link: '/8gu/cloud-native/cap', | ||
items: [] | ||
}, | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import { type DefaultTheme } from 'vitepress' | ||
import { BaGuK8S } from './k8s' | ||
|
||
import { BaGuCAP } from './cap' | ||
export function BaGuCloudNative(): DefaultTheme.SidebarMulti { | ||
return { | ||
'/8gu/cloud-native/cap': BaGuCAP(), | ||
'/8gu/cloud-native/k8s': BaGuK8S(), | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# xxx | ||
# 分布式服务环境下的事务处理机制 | ||
|
||
https://javaguide.cn/distributed-system/protocol/cap-and-base-theorem.html | ||
|
||
- 幂等设计 | ||
- 并发事务可见性 https://www.bilibili.com/video/BV1uv4y1S7tE/?spm_id_from=333.999.0.0&vd_source=ddc8289a36a2bf501f48ca984dc0b3c1 | ||
- 并发事务可见性 https://www.bilibili.com/video/BV1uv4y1S7tE/?spm_id_from=333.999.0.0&vd_source=ddc8289a36a2bf501f48ca984dc0b3c1 | ||
|
||
## Reference | ||
|
||
- [分布式事务](https://icyfenix.cn/architect-perspective/general-architecture/transaction/distributed.html) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# C | ||
|
||
## 保持 C 的精神 | ||
|
||
- 信任程序员 | ||
- 不要妨碍程序员做需要做的事 | ||
- 保持语言精炼简单 | ||
- 只提供一种方法执行一项操作 | ||
- 让程序运行更快,即使不能保证其可移植性 | ||
|