<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Redis on Ali's Engineering Notes</title><link>https://muhammadalics.github.io/tags/redis/</link><description>Recent content in Redis on Ali's Engineering Notes</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 07 Oct 2026 20:30:31 -0600</lastBuildDate><atom:link href="https://muhammadalics.github.io/tags/redis/index.xml" rel="self" type="application/rss+xml"/><item><title>Build a Session-Backed Shopping Cart with Redis and Node.js</title><link>https://muhammadalics.github.io/posts/session-management/</link><pubDate>Wed, 07 Oct 2026 20:30:31 -0600</pubDate><guid>https://muhammadalics.github.io/posts/session-management/</guid><description>&lt;p&gt;In this post, I will discuss session management with Redis in a rudimentary way.&lt;/p&gt;
&lt;p&gt;Before you begin, please install the following.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://redis.io/docs/latest/operate/oss_and_stack/install/archive/install-redis/install-redis-on-linux/"&gt;redis-cli&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://nodejs.org/en/download"&gt;node.js&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I am going to create an app that will use a redis server to perform session management tasks. I want to focus on session management in this demo which is why we will assume that on login the auth takes place in the background somehow.&lt;/p&gt;
&lt;p&gt;The reason why we use Redis for session management is because it is super-fast as it stores data in memory.&lt;/p&gt;</description></item></channel></rss>