Home / Companies / Upstash / Blog / Post Details
Content Deep Dive

Linearizable Distributed Map On Kafka

Blog post from Upstash

Post Details
Company
Date Published
Author
Sancar Koyunlu
Word Count
2,164
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Implementing a distributed key-value (KV) store on top of Kafka involves leveraging consensus algorithms and the total order broadcast concept to achieve linearizable storage, which ensures consistent and reliable data management. The blog post explores converting Kafka into a replicated linearizable KV store, emphasizing the need for a fault-tolerant and consistent system for the SchemaRegistry project without introducing additional failure points. It details achieving linearizable writes and reads by using versioned values and appending dummy messages to the log, respectively, and highlights the challenges posed by the CAP Theorem, where consistency is prioritized over availability in case of network partitioning. The post also addresses potential issues like the infinite log, suggesting Kafka's log compaction to retain only the latest values and using configurations to manage message retention. Lastly, the prospect of implementing other Java data structures with varying consistency guarantees is proposed for further exploration.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.