Close Menu
    National News Brief
    Tuesday, November 24
    • Home
    • Business
    • Lifestyle
    • Science
    • Technology
    • International
    • Arts & Entertainment
    • Sports
    National News Brief
    Home » This Is the Reason Your AI Actually Remembers Anything

    This Is the Reason Your AI Actually Remembers Anything

    Team_NationalNewsBriefBy Team_NationalNewsBriefNovember 22, 2026 Business No Comments7 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Opinions expressed by Entrepreneur contributors are their own.

    Key Takeaways

    • It’s usually smarter to start simple. A basic cache is cheap and fast, and it teaches you what people actually want before you build anything more advanced.
    • A simple cache has one weakness: It only recognizes a question if it’s asked the exact same way. The moment someone rephrases things, which happens constantly, it can miss answers it technically already has.
    • A smarter memory system costs a little more to run and can feel slightly slower, but that trade is worth it. It understands people however they phrase things, remembers for longer and can be reused across other projects.

    During the World Cup this year, I built Rune Score, a sports analytics chatbot. From the outside, it looks like a simple chatbot. Under the hood, it’s a distributed system that has to handle the freshness of sports data, user rephrasing, extraction failures, LLM call costs, streaming, memory, fallbacks and security. What I learned building it applies to almost any AI product that has to stay fast, cheap and accurate at the same time.

    Two quick definitions before we go further, since neither tool is exactly a household name. Redis is “an open-source, in-memory data structure store used as a database, cache, message broker and streaming engine,” most commonly used in AI products as a fast cache that stores one exact answer under one exact label. RAG, short for retrieval-augmented generation, is defined by AWS as “a technique used to augment a large language model (LLM) with external data, such as a company’s internal documents.” Instead of matching an exact label, it searches for a broader knowledge base using meaning rather than exact wording. Redis is precise and cheap but rigid. RAG is more flexible and durable, but costs more to run.

    Why I didn’t start with RAG

    My first move wasn’t a vector database, it was a Redis cache built around a simple labeling rule: Identical requests get an identical key, something like the football matchup Argentina vs. Spain. The savings were immediate. As I documented in my LinkedIn article on Rune Score, “without the cache, a fresh extraction followed by an analysis can consume up to 23,000 input tokens: scraped content, context, history. With a cache that hits the same key, that number drops to about 5,000 tokens,” a 4.5-fold reduction in the single most expensive part of the pipeline.

    AI cost usually comes from what you repeat unnecessarily. If 10 people ask your product the same question within a reasonable time window, rerunning the full, expensive pipeline 10 times is money burned for no reason.

    Where Redis breaks down

    People don’t talk in fixed labels. They might write “FC Barcelona vs Real Madrid,” or “Barça – Madrid,” and a strict cache treats each variant as a completely different request. That means duplicate work, a missed answer that was already sitting there or an unnecessary rerun of the whole expensive pipeline just because the wording didn’t match.

    This is where RAG earns its place, through a technique called embeddings. According to Google Cloud’s documentation, “the closer objects are in the embedding space, the more semantically similar they are, and greater distances indicate greater semantic dissimilarity.” In plain terms, a knowledge base built this way can retrieve a past answer even when the question is worded completely differently, because it searches by meaning rather than exact wording.

    The part that actually breaks quality

    Here’s a lesson worth internalizing regardless of what you’re building: The biggest quality bottleneck in a RAG system usually isn’t the retrieval technology itself; it’s what feeds it. This is the classic computing idea that TechTarget defines as garbage in, garbage out, or GIGO, “the idea that in any system, the quality of output is determined by the quality of the input.” In my pipeline, every time I cut corners on how much content got extracted from a source, the resulting analysis got visibly worse downstream.

    The same logic applies to how the system ranks relevance. Trusting a single relevance score is fragile. Redis’s own engineering blog puts it plainly: “the consistent takeaway across these studies is that combining retrievers tends to surface more relevant results in the top positions than either method on its own.” Combining exact keyword matches, meaning-based search and how recent the information is, then merging those into one ranking, beats relying on any single signal alone.

    RAG costs more, and that’s fine

    In my experiment with Rune Score, RAG hit brings a request down from 20,000 to 8,000 tokens — a 60% reduction. Compared to the 80% reduction from an exact Redis hit, that’s less economical and slightly slower, but that gap isn’t a strike against RAG. What it buys instead is tolerance for how people actually phrase things, memory that outlives a cache’s expiration window and an architecture that’s reusable well beyond the one product you built it for.

    The bottom line

    Redis and RAG aren’t competing choices; they’re sequential ones. The best refactor isn’t the one that’s theoretically right; it’s the one that lets you roll back in seconds if the real metrics don’t hold up. Build the cheap, fast cache first, let it teach you what your users actually ask for and only then invest in a full retrieval system for the cases a cache structurally can’t handle.

    Key Takeaways

    • It’s usually smarter to start simple. A basic cache is cheap and fast, and it teaches you what people actually want before you build anything more advanced.
    • A simple cache has one weakness: It only recognizes a question if it’s asked the exact same way. The moment someone rephrases things, which happens constantly, it can miss answers it technically already has.
    • A smarter memory system costs a little more to run and can feel slightly slower, but that trade is worth it. It understands people however they phrase things, remembers for longer and can be reused across other projects.

    During the World Cup this year, I built Rune Score, a sports analytics chatbot. From the outside, it looks like a simple chatbot. Under the hood, it’s a distributed system that has to handle the freshness of sports data, user rephrasing, extraction failures, LLM call costs, streaming, memory, fallbacks and security. What I learned building it applies to almost any AI product that has to stay fast, cheap and accurate at the same time.

    Two quick definitions before we go further, since neither tool is exactly a household name. Redis is “an open-source, in-memory data structure store used as a database, cache, message broker and streaming engine,” most commonly used in AI products as a fast cache that stores one exact answer under one exact label. RAG, short for retrieval-augmented generation, is defined by AWS as “a technique used to augment a large language model (LLM) with external data, such as a company’s internal documents.” Instead of matching an exact label, it searches for a broader knowledge base using meaning rather than exact wording. Redis is precise and cheap but rigid. RAG is more flexible and durable, but costs more to run.

    Why I didn’t start with RAG

    My first move wasn’t a vector database, it was a Redis cache built around a simple labeling rule: Identical requests get an identical key, something like the football matchup Argentina vs. Spain. The savings were immediate. As I documented in my LinkedIn article on Rune Score, “without the cache, a fresh extraction followed by an analysis can consume up to 23,000 input tokens: scraped content, context, history. With a cache that hits the same key, that number drops to about 5,000 tokens,” a 4.5-fold reduction in the single most expensive part of the pipeline.



    Source link

    Team_NationalNewsBrief
    • Website

    Keep Reading

    3 Tactics for Getting Your Business Found Beyond Google

    The Best Gifts for Entrepreneurs to Buy During Black Friday Week

    The Best Publicity Isn’t a Headline. Here’s What Built My Business Instead.

    This Dad Writes in His Underwear. His Books Sell 20M Copies.

    The midterm elections revealed an AI backlash. Here’s what it means for CEOs

    Stop your browser from killing your laptop battery with these 3 tweaks

    Add A Comment

    Comments are closed.

    Editors Picks

    What is Cellulite? Causes of cellulite and Treatments

    June 9, 2025

    Trump vows 10% global tariff after Supreme Court ruling

    February 21, 2026

    Israeli army strike hits Hezbollah facility in south Lebanon

    November 28, 2024

    UN nuclear chief presses Iran to strike deal on inspections soon

    September 3, 2025

    Secondhand book sales are booming. Is it because of AI?

    August 15, 2026
    Categories
    • Arts & Entertainment
    • Business
    • International
    • Latest News
    • Lifestyle
    • Opinions
    • Politics
    • Science
    • Sports
    • Technology
    • Top Stories
    • Trending News
    • World Economy
    About us

    Welcome to National News Brief, your one-stop destination for staying informed on the latest developments from around the globe. Our mission is to provide readers with up-to-the-minute coverage across a wide range of topics, ensuring you never miss out on the stories that matter most.

    At National News Brief, we cover World News, delivering accurate and insightful reports on global events and issues shaping the future. Our Tech News section keeps you informed about cutting-edge technologies, trends in AI, and innovations transforming industries. Stay ahead of the curve with updates on the World Economy, including financial markets, economic policies, and international trade.

    Editors Picks

    GTA 6 hacker released on licence with warning ‘don’t let this happen again’

    November 24, 2026

    The Climate Agenda Collapses As The World Confronts An Energy Crisis

    November 24, 2026

    Joe Burrow Falls Short of Peyton Manning’s TD Streak Record

    November 24, 2026

    Tom Brady’s Son Says His Dad Gets Too Serious At Dinner

    November 24, 2026
    Categories
    • Arts & Entertainment
    • Business
    • International
    • Latest News
    • Lifestyle
    • Opinions
    • Politics
    • Science
    • Sports
    • Technology
    • Top Stories
    • Trending News
    • World Economy
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us
    Copyright © 2024 Nationalnewsbrief.com All Rights Reserved.

    Type above and press Enter to search. Press Esc to cancel.