Close Menu
techwavedispatch.com

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Hugging Face on AMD Instinct MI300 GPU

    November 12, 2026

    Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling

    November 12, 2026

    Who could replace Jensen Huang? A highly unscientific list of possible successors

    November 12, 2026
    Facebook X (Twitter) Instagram
    Trending
    • Hugging Face on AMD Instinct MI300 GPU
    • Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling
    • Who could replace Jensen Huang? A highly unscientific list of possible successors
    • Deploy models on AWS Inferentia2 from Hugging Face
    • A Comparative Study on IGRA Radiosonde Data
    • An 11B parameter pretrained language model and VLM, trained on over 5000B tokens and 11 languages
    • [2602.12253] Is Online Linear Optimization Sufficient for Strategic Robustness?
    • CyberSecEval 2 – A Comprehensive Evaluation Framework for Cybersecurity Risks and Capabilities of Large Language Models
    Facebook X (Twitter) Instagram
    techwavedispatch.com
    Subscribe
    Thursday, November 12
    • Home
    • AI Tools & Software
    • Machine Learning
    • Generative AI
    • Robotics & Automation
    • Future Tech & Hardware
    • AI in Business
    • Ethics & Regulations
    • More
      • Gadgets & Smart Devices
      • Cybersecurity & AI
      • Tech Breakthroughs
    techwavedispatch.com
    Home»Machine Learning»Optimizing cloud economics with linear elastic caching
    Machine Learning

    Optimizing cloud economics with linear elastic caching

    adminBy adminNovember 7, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Optimizing cloud economics with linear elastic caching
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Testing linear elastic caching

    To ensure our theory holds up in the real world, we conducted extensive experiments using two primary sources:

    1. Production workloads: We integrated the system into Spanner.
    2. Public traces: We tested against a variety of publicly available cache traces from industry benchmarks to ensure the results weren’t specific to Google’s infrastructure.

    Production workloads

    We developed a practical algorithm that assigns a time-to-live (TTL) to the cached page on each page request based on the page’s access patterns and costs. Because Spanner handles billions of requests per second, this TTL prediction model has to be incredibly lightweight. We opted for a shallow decision tree that can be translated into a few lines of C++ code. The resulting code is also easily interpretable and provides valuable insights on the workload characteristics. This model considers features such as the size of the data, the cost of a cache miss (when data isn’t in the cache and the system needs to retrieve it from some other, slower system like a disk), and the type of database operation being performed to predict the optimal TTL for each page.

    We integrated the elastic caching policy into Spanner’s production servers over several months. Compared to a standard fixed-size cache, the results were substantial:

    • Memory usage: Reduced by 15.5%.
    • Cache misses: Increased by only 5.5%.
    • Total cost of ownership (TCO): Reduced by approximately 5%.

    Crucially, because the algorithm is “cost-aware,” the small increase in cache misses was concentrated on data that is cheap to fetch from storage, meaning the impact on actual I/O costs was a negligible 0.5%.

    Public traces

    We also evaluated our elastic caching approach using several publicly available cache traces. We used an optimized implementation of the greedy dual size frequency (GDSF) eviction algorithm — a generalization of the well-known LRU policy that allows for pages of different sizes — as a fixed cache size baseline policy.

    We considered four variants of elastic caching depending on which ski rental algorithm we used and whether or not we used a machine learned model. Since the available public traces don’t have application-level features available for training, we didn’t implement decision trees for prediction. Instead, we developed a simple learning strategy that splits each trace in half and uses the first half for training. For each individual page in the training trace, we computed the best TTL for the page that minimizes the cost over the training trace.

    Since the behavior of the cache changes depending on what’s initially in the cache, a common practice, known as “warming up”, is to use some prefix of the cache trace to populate the cache but not actually measure performance on it. We warmed up all caches with one day’s worth of requests from the second half of the trace and used the rest for testing and measurements. During the test trace, if we encountered a page that was seen during training, we set the TTL to be the best precomputed TTL for that page. Otherwise, we set the TTL using either the breakeven or randomized policies.

    caching cloud economics elastic linear Optimizing
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    admin
    • Website

    Related Posts

    Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling

    November 12, 2026

    A Comparative Study on IGRA Radiosonde Data

    November 12, 2026

    [2602.12253] Is Online Linear Optimization Sufficient for Strategic Robustness?

    November 12, 2026
    Leave A Reply Cancel Reply

    Top Posts

    NVIDIA Is Investigating Reports That CEO Jensen Huang Was The Target Of Chinese Spy Efforts

    November 8, 202619 Views

    Efficient Vision-Language-Action Model trained on Lerobot Community Data

    November 10, 20264 Views

    Selected-Risk Calibration for Feasibility at Returned Decisions

    November 10, 20263 Views

    Meta releases Muse Ember, a new lightweight model for agent execution

    November 9, 20263 Views
    Don't Miss
    AI Tools & Software

    Hugging Face on AMD Instinct MI300 GPU

    By adminNovember 12, 20260

    Join the next Hugging Cast on June 6th to ask questions to the post authors,…

    Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling

    November 12, 2026

    Who could replace Jensen Huang? A highly unscientific list of possible successors

    November 12, 2026

    Deploy models on AWS Inferentia2 from Hugging Face

    November 12, 2026
    About Us

    Welcome to TechWave Dispatch

    At TechWave Dispatch, we bring you the latest news, insights, and developments from the ever-evolving world of technology. Our mission is to keep readers informed about the innovations shaping our digital future.

    From artificial intelligence and machine learning to cybersecurity, robotics, smart devices, and groundbreaking technologies, we cover the topics that matter in today's fast-moving tech landscape.

    Our Picks

    Hugging Face on AMD Instinct MI300 GPU

    November 12, 2026

    Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling

    November 12, 2026

    Who could replace Jensen Huang? A highly unscientific list of possible successors

    November 12, 2026
    Most Popular

    AI Companies Really, Really Want to Buy Your Work Files and Emails

    November 6, 20260 Views

    Who Controls Scientific Discovery? – O’Reilly

    November 6, 20260 Views

    After blocking Muse, Amazon now lets users text Alexa to help them shop

    November 6, 20260 Views
    Facebook X (Twitter) Instagram Pinterest
    • Terms and Conditions
    • Privacy Policy
    • Contact Us
    • About Us
    © 2026 TechWave Dispatch. All Rights Reserved.

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