File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,17 @@ number becomes at least V and returns 'ok' to the frontend.
1616
1717The backend can also issue commands to itself through C API.
1818
19- fork ┏━━━━━━━━━┓ sql ┏━━━━━━━━━━┓
20- ┌─────────────┨ backend ┠───────┨ frontend ┃
21- │ ┗┯━━━━━━━┯┛ ┗━━━━━━━━━━┛
22- │ │shm │
23- ┏━━━━┷━━━━━┓ ┏━━━┷━━━┓ │
24- ┃ postgres ┠────┨ state ┃ │
25- ┗━━━━┯━━━━━┛ ┗━━━┯━━━┛ │ tcp
26- │ │shm │
27- │ fork ┏━━━━┷━━━━━┓ │
28- └─────────┨ raftable ┃ │
29- ┗━┯━┯━┯━┯━┯┛ │
30- │ raft│ │ │
31- ┏━┷━┷━┷━┷━┷┓ │
32- ┏┻━━━━━━━━━┓┠─┘
33- ┏┻━━━━━━━━━┓┣┛
34- ┃ raftable ┣┛
35- ┗━━━━━━━━━━┛
19+ ┓ ┏━━━━━━━━━┓┏━━━━━━━━━┓┏━━━━━━━━━┓ ┏━━━━━━━━━┓┏━━━━━━━━━┓┏━━━━━━━━━┓ ┏
20+ ┃ ┃ backend ┃┃ backend ┃┃ backend ┠─┐ ┃ backend ┃┃ backend ┃┃ backend ┃ ┃
21+ ┛ ┗━━━━┯━━━━┛┗━━━━┯━━━━┛┗━━━━┯━━━━┛ │ ┗━━━━┯━━━━┛┗━━━━┯━━━━┛┗━━━━┯━━━━┛ ┗
22+ ╗ ╔════╧══════════╧══════════╧════╗ T ╔════╧══════════╧══════════╧════╗ ╔
23+ ║ ║ state in shared memory ║ C ║ state in shared memory ║ ║
24+ ╝ ╚═══════════════╤═══════════════╝ P ╚═══════════════╤═══════════════╝ ╚
25+ ┓ ┏━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━┓ │ ┏━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━┓ ┏
26+ ┃ ┃ raftable worker ┃ └─┨ raftable worker ┃ ┃
27+ ┛ ┗━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━┛ ┗━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━┛ ┗
28+ ┆ ┆
29+ ╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┴╶╶╶╶╶╶╶╶╶╶ Raft over UDP ╴╴╴╴╴╴╴╴╴╴┴╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶╶
3630
3731C API:
3832 /* Gets value by key. Returns the value or NULL if not found. */
You can’t perform that action at this time.
0 commit comments