<?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: JeongSeop Byeon</title>
    <description>The latest articles on DEV Community by JeongSeop Byeon (@jeongseop_byeon_9d8f61627).</description>
    <link>https://dev.to/jeongseop_byeon_9d8f61627</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4038259%2F79c6f366-b18b-43f8-83c5-4b9a6fbfb0f8.png</url>
      <title>DEV Community: JeongSeop Byeon</title>
      <link>https://dev.to/jeongseop_byeon_9d8f61627</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jeongseop_byeon_9d8f61627"/>
    <language>en</language>
    <item>
      <title>Implementing a Zero-Allocation S3-FIFO Cache in Node.js</title>
      <dc:creator>JeongSeop Byeon</dc:creator>
      <pubDate>Mon, 20 Jul 2026 13:22:32 +0000</pubDate>
      <link>https://dev.to/jeongseop_byeon_9d8f61627/implementing-a-zero-allocation-s3-fifo-cache-in-nodejs-520d</link>
      <guid>https://dev.to/jeongseop_byeon_9d8f61627/implementing-a-zero-allocation-s3-fifo-cache-in-nodejs-520d</guid>
      <description>&lt;p&gt;&lt;em&gt;Disclaimer: As a non-native English speaker, I used AI to help translate and structure this article.&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Implementing a Zero-Allocation S3-FIFO Cache in Node.js
&lt;/h1&gt;

&lt;p&gt;When building a Node.js backend and reaching for an in-memory cache, &lt;code&gt;lru-cache&lt;/code&gt; is the undisputed default choice for almost everyone—and for good reason. It is robust, feature-rich, and heavily proven in production. &lt;/p&gt;

&lt;p&gt;However, as datasets grow, LRU algorithms naturally struggle with "one-hit wonders"—items that are requested once and never again. In a standard LRU cache, these items push out frequently accessed data, polluting the cache and dropping your hit rate prematurely.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;S3-FIFO (Simple and Scalable Scan-Resistant FIFO)&lt;/strong&gt; caching algorithm addresses this fundamental flaw. Rather than being a niche solution, S3-FIFO is a general-purpose caching algorithm that uses a three-queue system to efficiently filter out one-hit wonders. &lt;/p&gt;

&lt;p&gt;I built &lt;code&gt;s3fifo&lt;/code&gt; to bring this algorithm to the Node.js ecosystem as a highly viable alternative to LRU. Beyond just implementing the algorithm, I built it with a strict performance goal: &lt;strong&gt;zero-allocation&lt;/strong&gt;. &lt;/p&gt;

&lt;h3&gt;
  
  
  When should you consider &lt;code&gt;s3fifo&lt;/code&gt;?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High throughput requirements&lt;/strong&gt;: You need maximum operations per second.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict memory constraints&lt;/strong&gt;: You want to avoid the Garbage Collection (GC) pauses typically associated with traditional object-based caches.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sparse data access (Low cache coverage)&lt;/strong&gt;: Your total dataset is massive, and your cache can only afford to hold a small fraction of it (e.g., &amp;lt; 10%). In these cases, S3-FIFO's resistance to cache pollution significantly outperforms LRU.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Familiar API
&lt;/h3&gt;

&lt;p&gt;Before diving into the internals, the API is designed to be a drop-in replacement for most standard Maps or LRU implementations:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;S3Fifo&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;s3fifo&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;cache&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;S3Fifo&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;max&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;ttl&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;60000&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nx"&gt;cache&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;set&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;key&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;value&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;cache&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;key&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; 
&lt;span class="nx"&gt;cache&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;delete&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;key&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here is a brief look at the implementation details and the technical reasoning behind them.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Avoiding Object Allocation Overhead
&lt;/h2&gt;

&lt;p&gt;Traditional cache implementations often represent items as objects (e.g., linked list nodes with &lt;code&gt;next&lt;/code&gt; and &lt;code&gt;prev&lt;/code&gt; pointers). While this is simple to implement, creating and destroying thousands of objects per second adds continuous pressure to the V8 Garbage Collector (GC).&lt;/p&gt;

&lt;p&gt;To minimize GC pauses, &lt;code&gt;s3fifo&lt;/code&gt; uses pre-allocated flat arrays:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;meta&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Uint8Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;totalSize&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;keys&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;totalSize&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;values&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;totalSize&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;starts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Float64Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;totalSize&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;ttls&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Float64Array&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;totalSize&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Once the cache is instantiated, no new objects are allocated for structural management. Inserting a new item simply writes primitive values and references to an available index in these typed arrays.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Array-based Ring Buffers
&lt;/h2&gt;

&lt;p&gt;S3-FIFO requires three queues: Small (S), Main (M), and Ghost (G). &lt;br&gt;
Using standard &lt;code&gt;Array.push()&lt;/code&gt; and &lt;code&gt;Array.shift()&lt;/code&gt; would be disastrous for performance because &lt;code&gt;shift()&lt;/code&gt; runs in &lt;code&gt;O(N)&lt;/code&gt; time. &lt;/p&gt;

&lt;p&gt;Instead, the queues are implemented as fixed-size Ring Buffers. By enforcing queue sizes to be strict powers of 2, we can replace relatively expensive modulo operations (&lt;code&gt;%&lt;/code&gt;) with ultra-fast bitwise AND (&lt;code&gt;&amp;amp;&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Pushing to a ring buffer&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;container&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tail&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;address&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tail&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;tail&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;mask&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Bitwise modulo&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. The "Ghost" Ring via Bitwise Flags
&lt;/h2&gt;

&lt;p&gt;The Ghost ring is a core concept in S3-FIFO. It tracks the keys of items recently evicted from the Small ring. If a Ghost key is requested again, it gets promoted directly to the Main ring.&lt;/p&gt;

&lt;p&gt;Storing actual keys in a separate queue would require additional memory management. To solve this efficiently, &lt;code&gt;s3fifo&lt;/code&gt; tracks states using a single byte (&lt;code&gt;Uint8&lt;/code&gt;) in the &lt;code&gt;#meta&lt;/code&gt; array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;META_FREQ_MSK&lt;/span&gt;   &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mb"&gt;0b00000011&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Lower 2 bits: Frequency (0-3)&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;META_STALE_MSK&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mb"&gt;0b00000100&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// 3rd bit: Is deleted?&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;META_RESI_MSK&lt;/span&gt;   &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mb"&gt;0b00010000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// 5th bit: Is resident? (1=S/M, 0=Ghost)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When an item is evicted to the Ghost ring, its &lt;code&gt;META_RESI_MSK&lt;/code&gt; bit is flipped to &lt;code&gt;0&lt;/code&gt;, and its value reference is cleared for the GC. Structurally, it becomes a "Ghost" without requiring a separate physical node or array shift.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. O(1) Lazy Deletion
&lt;/h2&gt;

&lt;p&gt;Removing an item from the middle of an array-based ring buffer typically requires shifting elements, which is an &lt;code&gt;O(N)&lt;/code&gt; operation.&lt;/p&gt;

&lt;p&gt;To avoid this, &lt;code&gt;delete()&lt;/code&gt; operations are handled lazily:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;meta&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;address&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;|=&lt;/span&gt; &lt;span class="nx"&gt;META_STALE_MSK&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;this&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="nx"&gt;addressIndex&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="k"&gt;delete&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;key&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The item's &lt;code&gt;META_STALE_MSK&lt;/code&gt; bit is flipped to &lt;code&gt;1&lt;/code&gt;, and it is removed from the Map index. The physical slot remains in the ring buffer. When the ring's &lt;code&gt;head&lt;/code&gt; pointer eventually reaches this slot during natural eviction, the algorithm notices the stale bit and safely cleans it up in &lt;code&gt;O(1)&lt;/code&gt; time.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Lazy TTL Evaluation
&lt;/h2&gt;

&lt;p&gt;Supporting Time-To-Live (TTL) in caches often introduces overhead, either through background sweeping timers (&lt;code&gt;setInterval&lt;/code&gt;) or complex priority queues. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;s3fifo&lt;/code&gt; avoids background timers entirely. Expiration is evaluated &lt;em&gt;lazily&lt;/em&gt; on &lt;code&gt;get()&lt;/code&gt; and lazily cleaned up during natural ring eviction. This ensures that even with complex per-item TTL requirements, the cache remains entirely zero-allocation and lock-free from background processes.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Benchmark Results
&lt;/h2&gt;

&lt;p&gt;Here is a comparison with &lt;code&gt;lru-cache&lt;/code&gt; using a Zipfian distribution (skew=0.99, pool=100,000) on an AMD Ryzen 7 7700.&lt;/p&gt;

&lt;h3&gt;
  
  
  Average Hit Rate (%)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cache Size (% of Pool)&lt;/th&gt;
&lt;th&gt;lru-cache&lt;/th&gt;
&lt;th&gt;s3fifo&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1%&lt;/td&gt;
&lt;td&gt;48.90%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;58.32%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5%&lt;/td&gt;
&lt;td&gt;65.01%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;71.14%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;25%&lt;/td&gt;
&lt;td&gt;82.10%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;82.67%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Average Throughput (ops/sec)
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Cache Size (% of Pool)&lt;/th&gt;
&lt;th&gt;lru-cache&lt;/th&gt;
&lt;th&gt;s3fifo&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1%&lt;/td&gt;
&lt;td&gt;10.0M&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;15.3M&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;10%&lt;/td&gt;
&lt;td&gt;8.7M&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;12.5M&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;50%&lt;/td&gt;
&lt;td&gt;9.7M&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;14.6M&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In workloads with low cache coverage (sparse environments), &lt;code&gt;s3fifo&lt;/code&gt; provides noticeable improvements in both hit rate and throughput.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;While &lt;code&gt;lru-cache&lt;/code&gt; is a fantastic general-purpose default, &lt;code&gt;s3fifo&lt;/code&gt; offers a modern, scan-resistant alternative with a zero-allocation architecture. &lt;/p&gt;

&lt;p&gt;Although the library is fully typed and rigorously tested with 100% test coverage, it is still currently in its &lt;code&gt;v0.1.x&lt;/code&gt; stage. I plan to add more features (like async fetching and broader configuration options) in the future. &lt;/p&gt;

&lt;p&gt;If you find this approach interesting, give it a try! Contributors, feedback, and PRs are incredibly welcome to help mature the project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/BJS-kr/s3fifo" rel="noopener noreferrer"&gt;https://github.com/BJS-kr/s3fifo&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;NPM:&lt;/strong&gt; &lt;a href="https://www.npmjs.com/package/s3fifo" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/s3fifo&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;S3-FIFO Website:&lt;/strong&gt; &lt;a href="https://s3fifo.com/" rel="noopener noreferrer"&gt;https://s3fifo.com/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Original Paper (SOSP '23):&lt;/strong&gt; &lt;a href="https://dl.acm.org/doi/10.1145/3600006.3613147" rel="noopener noreferrer"&gt;FIFO Queues are All You Need for Cache Eviction&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>algorithms</category>
      <category>javascript</category>
      <category>node</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
