<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Souvik Misra</title>
    <description>The latest articles on DEV Community by Souvik Misra (@souvik_misra_b527ec5acdd3).</description>
    <link>https://dev.to/souvik_misra_b527ec5acdd3</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3408283%2Fe844c187-a2c7-4278-923a-6d5b4aa77161.png</url>
      <title>DEV Community: Souvik Misra</title>
      <link>https://dev.to/souvik_misra_b527ec5acdd3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/souvik_misra_b527ec5acdd3"/>
    <language>en</language>
    <item>
      <title>Semantic Caching Layer for High-Throughput</title>
      <dc:creator>Souvik Misra</dc:creator>
      <pubDate>Sat, 09 Aug 2025 18:54:27 +0000</pubDate>
      <link>https://dev.to/souvik_misra_b527ec5acdd3/semantic-caching-layer-for-high-throughput-8j8</link>
      <guid>https://dev.to/souvik_misra_b527ec5acdd3/semantic-caching-layer-for-high-throughput-8j8</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/redis-2025-07-23"&gt;Redis AI Challenge&lt;/a&gt;: Real-Time AI Innovators&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Intelligent Semantic Search System with AI-powered caching and vector similarity search.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;h4&gt;
  
  
  🧠 Semantic Search System
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AI-Powered Semantic Caching&lt;/strong&gt;: Reduce OpenAI API costs with intelligent query caching&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart Retry Logic&lt;/strong&gt;: Robust error handling with exponential backoff&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multiple Model Support&lt;/strong&gt;: Integration with OpenAI GPT models and SentenceTransformers&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Performance Analytics&lt;/strong&gt;: Real-time cache hit/miss tracking and speedup measurements&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What it showcases:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cache Performance&lt;/strong&gt;: Measures dramatic speedup (100-300x faster) on repeated queries&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semantic Similarity&lt;/strong&gt;: Demonstrates how similar questions get cached responses&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost Optimization&lt;/strong&gt;: Shows how caching reduces OpenAI API costs by 80-90%&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;All the necessary details of the application is available on &lt;a href="https://github.com/svkmsr6/redis-semantic-cache-demo" rel="noopener noreferrer"&gt;Github&lt;/a&gt;. Here is a screenshot from the web interface of the same &lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzgkg0dig7yz06fddoux.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkzgkg0dig7yz06fddoux.png" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As we can clearly see, once cached there is again of 150x in retrieval speed. Only in the first instance do we see it taking around 9 sec because it gets generated and retrieved from the LLM end. We also have a temporary demo server hosted &lt;a href="https://ef600315-b15a-49ec-a8c2-14f77f40f61f-00-rukp8xxfv7rv.sisko.replit.dev/" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Redis 8
&lt;/h2&gt;

&lt;p&gt;The documentation highlights innovative use of multiple Redis features:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RedisVL (Vector Library)&lt;/strong&gt; for semantic caching with 768-dimensional embeddings&lt;br&gt;
&lt;strong&gt;RedisJSON&lt;/strong&gt; for modern document storage with flexible schemas&lt;br&gt;
&lt;strong&gt;RediSearch&lt;/strong&gt; for lightning-fast full-text search with real-time indexing&lt;/p&gt;

</description>
      <category>redischallenge</category>
      <category>devchallenge</category>
      <category>database</category>
      <category>ai</category>
    </item>
    <item>
      <title>Real-Time Collaborative Document Editor</title>
      <dc:creator>Souvik Misra</dc:creator>
      <pubDate>Thu, 07 Aug 2025 18:06:15 +0000</pubDate>
      <link>https://dev.to/souvik_misra_b527ec5acdd3/real-time-collaborative-document-editor-539c</link>
      <guid>https://dev.to/souvik_misra_b527ec5acdd3/real-time-collaborative-document-editor-539c</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/redis-2025-07-23"&gt;Redis AI Challenge&lt;/a&gt;: Beyond the Cache&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Advanced Document Management System&lt;/strong&gt; - A full-featured document storage and retrieval system with real-time updates and audit trails&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;h4&gt;
  
  
  🗄️ Document Management System
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;JSON Document Storage&lt;/strong&gt;: Store flexible JSON documents with automatic indexing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Full-Text Search&lt;/strong&gt;: Powered by RediSearch for lightning-fast document discovery&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-Time Updates&lt;/strong&gt;: Live document synchronization using Redis Pub/Sub&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complete Audit Trail&lt;/strong&gt;: Immutable change tracking with Redis Streams&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RESTful API&lt;/strong&gt;: Easy-to-use HTTP endpoints for all operations&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What it showcases
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Creates sample documents (tech articles, tutorials, guides)&lt;/li&gt;
&lt;li&gt;Performs full-text searches across document collections&lt;/li&gt;
&lt;li&gt;Demonstrates real-time document updates with live notifications&lt;/li&gt;
&lt;li&gt;Shows complete audit trails of all document changes&lt;/li&gt;
&lt;li&gt;Displays Redis server statistics and performance metrics&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;All the necessary details on source code, setup, internal workings and how to use the API endpoints are available &lt;a href="https://github.com/svkmsr6/real-time-collaborative-doc-editor" rel="noopener noreferrer"&gt;here&lt;/a&gt;&lt;br&gt;
Attached screenshots.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdahwowg4yl9zw12xjueh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdahwowg4yl9zw12xjueh.png" alt=" " width="800" height="334"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjntc6rnvs9i91a1baxss.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjntc6rnvs9i91a1baxss.png" alt=" " width="800" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmix33t2ph23bkxlenxnr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmix33t2ph23bkxlenxnr.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwq9qu75jhr52nfe0fbd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpwq9qu75jhr52nfe0fbd.png" alt=" " width="800" height="266"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Redis 8
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;RedisVL (Vector Library)&lt;/strong&gt; for semantic caching with 768-dimensional embeddings&lt;br&gt;
&lt;strong&gt;RedisJSON&lt;/strong&gt; for modern document storage with flexible schemas&lt;br&gt;
&lt;strong&gt;RediSearch&lt;/strong&gt; for lightning-fast full-text search with real-time indexing&lt;br&gt;
&lt;strong&gt;Redis Streams&lt;/strong&gt; for immutable audit trails and compliance&lt;br&gt;
&lt;strong&gt;Redis Pub/Sub&lt;/strong&gt; for real-time synchronization across clients&lt;/p&gt;

</description>
      <category>redischallenge</category>
      <category>devchallenge</category>
      <category>database</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
