<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Cache on Kevin wang's blog</title><link>https://kevinwang930.github.io/tags/cache/</link><description>Recent content in Cache on Kevin wang's blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sat, 18 Jul 2026 11:13:00 +0200</lastBuildDate><atom:link href="https://kevinwang930.github.io/tags/cache/index.xml" rel="self" type="application/rss+xml"/><item><title>Redis Internals: Architecture, Object Model, and Data Types</title><link>https://kevinwang930.github.io/post/data/redis/architecture/</link><pubDate>Sat, 18 Jul 2026 11:13:00 +0200</pubDate><guid>https://kevinwang930.github.io/post/data/redis/architecture/</guid><description>&lt;p&gt;Redis is an in-memory data structure server. Clients speak &lt;strong&gt;RESP&lt;/strong&gt; over TCP; the process stores keys in logical databases and serves commands from a single-threaded event loop that owns the keyspace. Logical types (string, list, set, …) are separate from physical &lt;strong&gt;encodings&lt;/strong&gt; chosen for memory and CPU cost.&lt;/p&gt;
&lt;p&gt;This post covers &lt;strong&gt;general concepts&lt;/strong&gt;, &lt;strong&gt;process architecture&lt;/strong&gt;, and the &lt;strong&gt;type / encoding&lt;/strong&gt; map as implemented in current Redis source (&lt;code&gt;server.h&lt;/code&gt;, &lt;code&gt;object.h&lt;/code&gt;, &lt;code&gt;server.c&lt;/code&gt;).&lt;/p&gt;</description></item><item><title>Redis Build from Source</title><link>https://kevinwang930.github.io/post/data/redis/build/</link><pubDate>Sat, 18 Jul 2026 10:38:29 +0700</pubDate><guid>https://kevinwang930.github.io/post/data/redis/build/</guid><description>&lt;p&gt;How to build Redis from source on Fedora, configure a non-default port, and open the tree in CLion. For architecture and data types, see the &lt;a href="https://kevinwang930.github.io/post/data/redis/architecture/"&gt;Redis internals overview&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>