<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>kv-store on Poeticoding</title><link>https://www.poeticoding.com/tag/kv-store/</link><description>Recent content in kv-store on Poeticoding</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 04 May 2019 19:19:17 +0000</lastBuildDate><atom:link href="https://www.poeticoding.com/tag/kv-store/index.xml" rel="self" type="application/rss+xml"/><item><title>Build a Simple Persistent Key-Value Store in Elixir, using Logs - Part 2</title><link>https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-2/</link><pubDate>Tue, 04 Dec 2018 16:40:00 +0000</pubDate><guid>https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-2/</guid><description>&lt;p>Published articles in the series:&lt;/p>
&lt;ol>
&lt;li>&lt;a href="https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-1/">Part 1&lt;/a>&lt;/li>
&lt;li>Part 2 (this article)&lt;/li>
&lt;/ol>
&lt;p>In the &lt;a href="https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-1/">part 1&lt;/a>, we&amp;rsquo;ve introduced a simple implementation of a kv-store engine, written in Elixir. We developed three modules: an &lt;em>Index&lt;/em>, a &lt;em>Writer&lt;/em> and a &lt;em>Reader&lt;/em>. The Writer writers the &lt;em>values&lt;/em> in a log-file keeping the keys in a in-memory Index. Since the state of the index is only kept in memory, once the index process fails, or the whole engine crashes, we are not able to distinguish the values &amp;hellip;&lt;/p></description></item><item><title>Build a Simple Persistent Key-Value Store in Elixir, using Logs - Part 1</title><link>https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-1/</link><pubDate>Wed, 28 Nov 2018 11:00:00 +0000</pubDate><guid>https://www.poeticoding.com/build-a-simple-persistent-key-value-store-in-elixir-using-logs-part-1/</guid><description>&lt;blockquote>
&lt;p>&lt;em>The code in this article is heavily inspired from the concepts amazingly explained in the book&lt;/em> &lt;a href="https://dataintensive.net" target="_blank" rel="noopener">Designing Data-Intensive Applications&lt;/a> &lt;em>by&lt;/em> &lt;a href="https://medium.com/u/13be457aed12" target="_blank" rel="noopener">&lt;em>Martin Kleppmann&lt;/em>&lt;/a>&lt;em>.&lt;/em>&lt;/p>&lt;/blockquote>
&lt;blockquote>
&lt;p>&lt;em>&lt;strong>Disclaimer&lt;/strong>&lt;/em>*, all the code you find in this article, and on the &lt;a href="https://github.com/alvises/logkv_articles/" target="_blank" rel="noopener">github repo&lt;/a>, is written for pure fun and meant just as an experiment.*&lt;/p></description></item></channel></rss>