InfluxDB IOx Tech Talks: Replication, Durability and Subscriptions in InfluxDB IOx
- 1. Paul Dix
InfluxData – CTO & co-founder
paul@influxdata.com
@pauldix
Replication, durability and
subscriptions in InfluxDB IOx
- 2. InfluxDB IOx components
• Write Buffer
• Write segment persistence
• Subscriptions
• In-memory database
• Parquet persistence
• Catalog
• Configuration, partition summaries
- 8. The Write Buffer
• Buffer assigns
clock value &
writer id
(unique)
• Makes request
to peers
• Note the
request from
Router to Buffer
still open
- 9. The Write Buffer
• Buffer 2 takes
the write,
updates its
clock to max
• Buffer 2
responds with
its clock value
• Buffer 1
updates its
clock to the
max of the two
- 10. The Write Buffer
• Buffer 1 sends
success
response to
routing layer
• Routing layer
responds to the
client (after all
shards succeed)
- 13. The Write Buffer
• Ask peers for
anything
missing
• Logical clock +
entry id
• High water mark