File tree 4 files changed +126
-64
lines changed 4 files changed +126
-64
lines changed Original file line number Diff line number Diff line change 26
26
27
27
Oleksii
28
28
29
+ Patroni
30
+ - RAFT is the fabric that holds together your PostgreSQL containers
31
+ - External consistent key-value store instead of a built-in one:
32
+ advantages:
33
+ - PostgreSQL failure doesn't break the consensus
34
+ - use well-tested RAFT implementations (i.e. Etcd or Consul)
35
+ disadvantages:
36
+ - one needs to operate extra services
37
+ Features:
38
+ - synchronous vs asynchronous replication (consistency vs availability)
39
+ - some parameters need to be kept in sync on all cluster nodes (max_connections)
40
+
29
41
CitusDB
30
42
- sharded postgres
31
43
- query node, plus shard nodes
@@ -36,6 +48,7 @@ giant robot elephant from The Nantes Project
36
48
elephant helm by Blank Williams
37
49
robot elephant by Robert Chew
38
50
robot with elephant by Mark F Stosiak
51
+ stubborn elephant by Kolja Wilcke @01k
39
52
40
53
41
54
Original file line number Diff line number Diff line change @@ -118,39 +118,52 @@ Kubecon EU 2017
118
118
---
119
119
120
120
![ spilo_diagram] ( spilo_diagram.svg )
121
+
121
122
---
122
123
123
- ## Patroni customization
124
+ ## Extensibility
124
125
125
- * Callbacks (on_role_chage)
126
- * Custom replica creation
127
- * Pluggable consistency layers
126
+ * callbacks
127
+ * custom replica creation methods
128
+ * pluggable consistent KV-stores
128
129
129
130
---
130
131
131
- ## Not just autofailover
132
+ ## More than autofailover
132
133
133
- * Synchronous mode
134
- * Cascading replication
135
- * Dynamic configuration
134
+ * synchronous mode
135
+ * cascading replication
136
+ * dynamic configuration
136
137
137
138
---
138
139
139
140
## Cluster maintenance
141
+
140
142
* "Hands-off" mode
141
143
* Scheduled failovers and restarts
142
144
143
145
---
144
146
145
- ## Controlling Patroni
147
+ ## Interfaces
146
148
147
149
* REST API
148
150
* patronictl
149
151
150
152
---
151
153
154
+ ## Helm parameters
155
+
156
+ * cluster name
157
+ * Etcd host
158
+ * number of replicas
159
+ * credentials
160
+
161
+ ---
162
+
152
163
#### Patroni Demo
153
164
165
+ ![ patroni demo] ( elephant_patroni_live_demo.png )
166
+
154
167
---
155
168
156
169
![ citus sharded] ( citus_sharded.png )
@@ -232,6 +245,14 @@ github.com/jberkus/atomicdb
232
245
233
246
---
234
247
248
+ ## Spilo demo:
249
+
250
+ * Helm Chart:
251
+ <br />github.com/alexeyklyukin/
252
+ <br />/charts/incubator/patroni
253
+
254
+ ---
255
+
235
256
# ¿questions?
236
257
237
258
.left-column-narrow[
You can’t perform that action at this time.
0 commit comments