<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Redis on Companionway</title>
		<link>https://www.companionway.net/tags/redis/</link>
		<description>Recent content in Redis on Companionway</description>
		<generator>Hugo</generator>
		<language>en</language>
		
		
		
		
			<lastBuildDate>Thu, 30 Jul 2026 10:47:11 -0400</lastBuildDate>
		
			<atom:link href="https://www.companionway.net/tags/redis/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Redis Engineering Guide</title>
				<link>https://www.companionway.net/post/redis_engineering_guide/</link>
				<pubDate>Thu, 30 Jul 2026 10:47:11 -0400</pubDate>
				<guid>https://www.companionway.net/post/redis_engineering_guide/</guid>
				<description>&lt;h1 id=&#34;redis-engineering-guide&#34;&gt;Redis Engineering Guide&lt;/h1&gt;&#xA;&lt;p&gt;Architecture, Implementation, Management, and Python Integration for Quantitative Pipelines&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;The Redis Advantage: Architecture &amp;amp; Performance&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;strong&gt;Redis&lt;/strong&gt; (REmote DIctionary Server) is an open-source, in-memory data structure store designed for lightning-fast caching, messaging, and database workloads.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Written in C:&lt;/strong&gt; Stripped of heavy runtime overhead, its core engine operates with maximal efficiency, delivering sub-millisecond response times and handling hundreds of thousands of operations per second.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Data Structures (Hashes &amp;amp; JSON):&lt;/strong&gt; Beyond simple strings, Redis supports robust data structures like Hashes. A Redis Hash operates almost identically to a Python dictionary, allowing you to map multi-field records (such as option snapshots and stock summaries) directly without complex serialization.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Low Memory Footprint:&lt;/strong&gt; Keeping data entirely in RAM using optimized memory allocators ensures massive datasets compress down to tiny footprints—typically consuming only a few megabytes for thousands of structured records.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Robustness &amp;amp; High Availability:&lt;/strong&gt; Built to be a permanent infrastructure fixture with persistence options (RDB snapshots and AOF logs) and replication architectures like Sentinel to guarantee uptime.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;ol start=&#34;2&#34;&gt;&#xA;&lt;li&gt;Installation on Linux and Raspberry Pi&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;Installing Redis on Debian/Ubuntu Linux distributions (including Raspberry Pi OS) is fast and reliable via the native package manager:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
