<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Budiart Dev]]></title><description><![CDATA[Shares insights on DevOps, Cloud Engineering, CI/CD, SRE, Kubernetes, and IaC—based on real-world experience building pipelines, solving incidents, and improvin]]></description><link>https://article.budiart.my.id</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 09:08:23 GMT</lastBuildDate><atom:link href="https://article.budiart.my.id/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Instalation Redis [Windows/Linux/Mac/Docker]]]></title><description><![CDATA[A Complete Guide to Installing Redis on Windows, Linux, Mac, and Docker
Before we begin, make sure you’re mentally prepared — Redis is fast, and we don’t want you to fall behind while installing it. 😆In this article, you’ll learn how to install Redi...]]></description><link>https://article.budiart.my.id/instalation-redis-windowslinuxmacdocker</link><guid isPermaLink="true">https://article.budiart.my.id/instalation-redis-windowslinuxmacdocker</guid><category><![CDATA[Devops]]></category><category><![CDATA[Redis]]></category><category><![CDATA[memory]]></category><category><![CDATA[storage]]></category><dc:creator><![CDATA[Eko Budiarto]]></dc:creator><pubDate>Mon, 08 Dec 2025 09:40:01 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1765187078698/3b34222c-0dc6-4aad-9162-75095a499bf8.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>A Complete Guide to Installing Redis on Windows, Linux, Mac, and Docker</em></p>
<p>Before we begin, make sure you’re mentally prepared — Redis is fast, and we don’t want you to fall behind while installing it. 😆<br />In this article, you’ll learn how to install Redis across multiple operating systems so you can start building real-time, high-performance applications.</p>
<hr />
<h2 id="heading-1-installing-redis-on-windows"><strong>1. Installing Redis on Windows</strong></h2>
<p>Officially, Redis <strong>does not provide a native Windows build</strong>. But don’t worry — we can still run Redis using <strong>WSL (Windows Subsystem for Linux)</strong> or <strong>Docker</strong>. The recommended way is using <strong>WSL</strong>.</p>
<h3 id="heading-install-redis-via-wsl"><strong>Install Redis via WSL</strong></h3>
<ol>
<li><p>Install WSL (if not already installed)</p>
<pre><code class="lang-bash"> wsl --install
</code></pre>
<p> <em>If you’re asked to restart, go ahead — don’t postpone it like that diet plan that starts “next Monday.” 🥲</em></p>
</li>
<li><p>Install Redis inside WSL</p>
<pre><code class="lang-bash"> sudo apt update
 sudo apt install redis-server
</code></pre>
</li>
<li><p>Start Redis</p>
<pre><code class="lang-bash"> redis-server
</code></pre>
</li>
<li><p>Test Redis connection</p>
<pre><code class="lang-bash"> redis-cli ping
</code></pre>
<p> Expected output:</p>
<pre><code class="lang-plaintext"> PONG
</code></pre>
</li>
</ol>
<hr />
<h2 id="heading-2-installing-redis-on-linux-ubuntudebian"><strong>2. Installing Redis on Linux (Ubuntu/Debian)</strong></h2>
<p>Linux users get the easiest installation experience since Redis is available in official repositories.</p>
<h3 id="heading-installation-commands"><strong>Installation Commands</strong></h3>
<pre><code class="lang-bash">sudo apt update
sudo apt install redis-server
</code></pre>
<h3 id="heading-start-amp-enable-redis"><strong>Start &amp; Enable Redis</strong></h3>
<pre><code class="lang-bash">sudo systemctl <span class="hljs-built_in">enable</span> redis-server
sudo systemctl start redis-server
</code></pre>
<h3 id="heading-check-status"><strong>Check Status</strong></h3>
<pre><code class="lang-bash">sudo systemctl status redis-server
</code></pre>
<h3 id="heading-test-connection"><strong>Test Connection</strong></h3>
<pre><code class="lang-bash">redis-cli ping
</code></pre>
<p>If you see <code>PONG</code>, congratulations — Redis is ready! 🎉</p>
<hr />
<h2 id="heading-3-installing-redis-on-macos"><strong>3. Installing Redis on macOS</strong></h2>
<p>For macOS, we’ll use Homebrew. If you don’t have Homebrew installed, get it from <a target="_blank" href="https://brew.sh/">https://brew.sh/</a></p>
<h3 id="heading-install-redis"><strong>Install Redis</strong></h3>
<pre><code class="lang-bash">brew install redis
</code></pre>
<h3 id="heading-start-redis-service"><strong>Start Redis Service</strong></h3>
<pre><code class="lang-bash">brew services start redis
</code></pre>
<h3 id="heading-test-connection-1"><strong>Test Connection</strong></h3>
<pre><code class="lang-bash">redis-cli ping
</code></pre>
<p>If it returns <code>PONG</code>, Redis is now running faster than the weather changing in five minutes. 🌦</p>
<hr />
<h2 id="heading-4-installing-redis-with-docker"><strong>4. Installing Redis with Docker</strong></h2>
<p>If you prefer a modern and hassle-free setup, Docker is your best friend.</p>
<h3 id="heading-pull-and-run-redis"><strong>Pull and Run Redis</strong></h3>
<pre><code class="lang-bash">docker run --name redis-local -d -p 6379:6379 redis
</code></pre>
<h3 id="heading-access-the-redis-cli"><strong>Access the Redis CLI</strong></h3>
<pre><code class="lang-bash">docker <span class="hljs-built_in">exec</span> -it redis-local redis-cli
</code></pre>
<p>Then test:</p>
<pre><code class="lang-bash">ping
</code></pre>
<hr />
<h2 id="heading-conclusion"><strong>Conclusion</strong></h2>
<p>You now have multiple ways to install Redis:</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>OS / Platform</td><td>Installation Method</td><td>Difficulty</td></tr>
</thead>
<tbody>
<tr>
<td>Windows</td><td>WSL or Docker</td><td>Easy</td></tr>
<tr>
<td>Linux</td><td>apt-get</td><td>Super easy</td></tr>
<tr>
<td>macOS</td><td>Homebrew</td><td>Easy</td></tr>
<tr>
<td>Docker</td><td>One command</td><td>Lightning fast ⚡</td></tr>
</tbody>
</table>
</div><p>With Redis successfully installed, you’re ready to explore basic commands such as <code>SET</code>, <code>GET</code>, and <code>EXPIRE</code>, and begin real caching or pub/sub implementation.</p>
]]></content:encoded></item><item><title><![CDATA[What is Redis?]]></title><description><![CDATA[If you’ve ever felt your website is as slow as downloading a movie with 2% battery and zero quota, then you probably need something that makes data retrieval blazing fast—no buffering drama included. That’s where Redis comes in: a hero without a cape...]]></description><link>https://article.budiart.my.id/what-is-redis</link><guid isPermaLink="true">https://article.budiart.my.id/what-is-redis</guid><category><![CDATA[Redis]]></category><category><![CDATA[memory]]></category><category><![CDATA[storage]]></category><dc:creator><![CDATA[Eko Budiarto]]></dc:creator><pubDate>Mon, 08 Dec 2025 07:58:56 GMT</pubDate><enclosure url="https://cdn.hashnode.com/res/hashnode/image/upload/v1765181859512/ced88e09-3cee-448f-b074-194b896e99cf.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>If you’ve ever felt your website is <em>as slow as downloading a movie with 2% battery and zero quota</em>, then you probably need something that makes data retrieval blazing fast—no buffering drama included. That’s where <strong>Redis</strong> comes in: a hero without a cape, but with the speed of <em>The Flash</em> in database form. ⚡</p>
<p>Redis stands for <strong>Remote Dictionary Server</strong>, an <strong>in-memory data store</strong> used as a database, cache, and message broker with extremely high performance. Redis stores data directly in <strong>RAM</strong>, not on disk, which makes data access faster than <em>your ex moving on right after the breakup</em>. 😌</p>
<hr />
<h2 id="heading-history-of-redis">🕰 <strong>History of Redis</strong></h2>
<p>Redis was created by <strong>Salvatore Sanfilippo</strong> (also known as <em>antirez</em>) in <strong>2009</strong>. Initially, Salvatore wanted to solve performance bottlenecks in his startup. After multiple experiments, Redis was born—and just like a cute baby, it immediately caught the attention of the developer community.</p>
<p>Redis later became open-source and gained backing from major companies such as GitHub, Twitter, StackOverflow, and Microsoft. Today, Redis continues to evolve and remains one of the most popular technologies in distributed systems and cloud computing.</p>
<hr />
<h2 id="heading-core-concept-in-memory-database">🧠 <strong>Core Concept: In-Memory Database</strong></h2>
<p>Unlike traditional databases like MySQL or PostgreSQL that store data on disk, Redis stores data in <strong>RAM</strong>.</p>
<h3 id="heading-benefits-of-ram-based-storage">🎁 Benefits of RAM-based storage</h3>
<ul>
<li><p><strong>Extreme speed</strong> — data access in microseconds</p>
</li>
<li><p><strong>Perfect for high-performance systems</strong>: real-time analytics, pub/sub, queues, caching</p>
</li>
<li><p><strong>Reduces stress on your primary database</strong></p>
</li>
</ul>
<p>But keep in mind:</p>
<blockquote>
<p><strong>RAM is fast, but also expensive and limited.</strong><br />Which makes Redis perfect for frequently accessed data—not for storing your old emotional chat history. 😆</p>
</blockquote>
<p>Redis still supports persistence using <strong>RDB (snapshot)</strong> and <strong>AOF (append-only file)</strong> to ensure durability.</p>
<hr />
<h2 id="heading-redis-functions-in-modern-architecture">🧰 <strong>Redis Functions in Modern Architecture</strong></h2>
<p>Redis is commonly used for:</p>
<div class="hn-table">
<table>
<thead>
<tr>
<td>Function</td><td>Description</td></tr>
</thead>
<tbody>
<tr>
<td><strong>Caching</strong></td><td>Store query/API results for faster response</td></tr>
<tr>
<td><strong>Session store</strong></td><td>Manage login sessions for web apps</td></tr>
<tr>
<td><strong>Message broker / Pub-Sub</strong></td><td>Real-time systems like chat &amp; notifications</td></tr>
<tr>
<td><strong>Queue system</strong></td><td>Asynchronous jobs &amp; workers</td></tr>
<tr>
<td><strong>Real-time analytics</strong></td><td>Counters, leaderboards, real-time tracking</td></tr>
</tbody>
</table>
</div><h3 id="heading-simple-example-flow">Simple example flow:</h3>
<p><img src="https://cdn-0.plantuml.com/plantuml/png/PP11JWCn34NtESLNzxt0BAgALeWDI2JY02PZr8WX6MAd4hSdcL1Gn2QB_vpdBnz5AMlvM0nvJHalmjciDGe-h1GLEyVv6ZplG08t8ijp49p8Npgs8pwJqYj9P-SxOveS-mFS1CTnHkRFmgB6jT1EE5tOlyCtdw55knaFGGq0MEpxNyjQSknpJI9bwHDkcsXR9joJQ6DhYiA65-4VtMCG6NrFIV6MIfnlaaDjE-6vSFx2J4ejhz6u_u_SwZkwyfP24xRR_6jbVmlLRSVwjCj_0m00" alt="PlantUML diagram" class="image--center mx-auto" /></p>
<hr />
<h2 id="heading-advantages-of-redis">🏆 <strong>Advantages of Redis</strong></h2>
<p>Why do engineers love Redis?</p>
<h3 id="heading-1-super-fast-performance">🚀 1. Super fast performance</h3>
<p>Can handle <strong>over 1 million operations per second</strong>.<br />If a traditional database is a basic scooter, Redis is a <strong>Ninja H2R with turbo</strong>. 🏍💨</p>
<h3 id="heading-2-rich-data-types">📦 2. Rich data types</h3>
<ul>
<li><p>String</p>
</li>
<li><p>Hash</p>
</li>
<li><p>List</p>
</li>
<li><p>Set</p>
</li>
<li><p>Sorted Set</p>
</li>
<li><p>Bitmap</p>
</li>
<li><p>HyperLogLog</p>
</li>
<li><p>Stream</p>
</li>
</ul>
<h3 id="heading-3-simple-and-easy-to-use">🎯 3. Simple and easy to use</h3>
<p>Commands feel like you’re chatting:</p>
<pre><code class="lang-plaintext">SET user:name "John Doe"
GET user:name
</code></pre>
<h3 id="heading-4-pubsub-amp-streams-for-real-time-processing">🔁 4. Pub/Sub &amp; Streams for real-time processing</h3>
<p>Perfect for notifications, IoT, and messaging.</p>
<h3 id="heading-5-high-availability-and-scalability">🛡 5. High availability and scalability</h3>
<p>Supports replication, Sentinel, and clustering.</p>
<hr />
<h2 id="heading-conclusion">✨ <strong>Conclusion</strong></h2>
<p>Redis is a super-fast <strong>in-memory database</strong> used for caching, real-time pub/sub, session storage, and high-performance system needs. With its RAM-based architecture, persistence support, and clustering capabilities, Redis has become a key component in modern large-scale applications and microservices.</p>
<blockquote>
<p><strong>If MySQL is like a giant library full of books, Redis is like copying the summary onto a sticky note and placing it right in front of your face—quick, practical, and instantly accessible</strong></p>
</blockquote>
]]></content:encoded></item></channel></rss>