How Google Traced GKE API Timeouts to a Linux Kernel TCP Bug

MMS Founder
MMS • Renato Losio
Article originally posted on InfoQ. Visit InfoQ

Google recently detailed how three interacting bugs across Google Kubernetes Engine (GKE), Private Service Connect, and the Linux kernel caused intermittent Kubernetes API connectivity failures, blocking around 800 developers from deploying to production.

In January, a customer running multiple GKE clusters with Private Service Connect (PSC) for private control-plane access experienced intermittent timeouts when pods attempted to reach the Kubernetes API server.

Packet captures revealed that the control plane was responding to new TCP connection requests with stale ACK packets belonging to previously closed connections. The root cause involved three separate bugs across different networking layers. Akash Thakur, senior technical solutions engineer at Google Cloud, describes how engineers across multiple Google teams identified three root causes and ultimately addressed them:

In a race to fix the problem, we involved engineers across Google Kubernetes Engine (GKE), Private Service Connect, networking, hostnet, kernel, and the Linux upstream community, who together tracked down not one but three distinct root causes. And the final fix landed not as a config change or a feature flag, but as a patch to the Linux kernel itself.

The investigation identified three interacting causes: packet reordering in PSC, Envoy’s half-close behavior preventing TCP connections from being properly closed, and a Linux kernel bug that discarded certain reordered FIN packets.

Source: Google Cloud blog

Thakur describes a complex troubleshooting case involving I/O timeouts across Private Service Connect, virtual network interfaces, and the Linux TCP state machine, which ultimately revealed a kernel issue leaving sockets stuck indefinitely in the FIN_WAIT_2 state. Thakur explains:

Most networking cases resolve at one layer. You find the misconfigured firewall rule, the exhausted connection pool, the miscalculated MTU. You fix it and move on. This one was different because the symptom — i/o timeout on a connection that never completed — was the same whether you were looking at the Private Service Connect layer, the kernel’s TCP state machine, or Envoy’s connection management. Every layer had a plausible explanation, and every explanation was incomplete.

The issue was addressed through three coordinated fixes over several weeks: Google first rolled back a Private Service Connect change to restore connectivity, then corrected the proxy protocol handling and added regression tests. Finally, a Linux kernel patch, authored by Eric Dumazet, formerly a software engineer at Google, fixed the underlying TCP issue. Rohan Karne, managing director at Google Cloud, comments:

This is the unglamorous reality of mission-critical platform engineering—methodically ruling out the obvious suspects and digging into packet captures until you find the kernel root cause.

Thakur highlights how individually reasonable behaviors across networking, proxies and operating systems can combine into complex infrastructure failures. Packet captures at multiple network layers were essential to identifying the problem, while correlating network symptoms with infrastructure changes helped establish the connection between the three bugs. Guangba Yu, a postdoctoral researcher at the Chinese University of Hong Kong, highlights:

For AIOps and chaos engineering, the transferable method is organizing simultaneous path observations, protocol state, and rollout events while distinguishing symptom recovery from state-machine correction. This anonymized case supplies no population failure rate and does not explain all API timeouts.

Justin Garrison, field CTO at Sidero, notes:

At first I was excited to read this article that leads to a kernel patch which are always fun. It turns out GKE just runs a kernel from 3 years ago (6.1) and the bug was already fixed upstream and they had to backport it.

The kernel fix was merged into Linux 6.9.7 and backported to the 6.6 and 6.1 LTS branches, reaching GKE customers in version 1.33.5 and later.

About the Author

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

UBS Upgrade Could Be A Game Changer For MongoDB Stock (MDB) – Simply Wall St News

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news
  • MongoDB reported that its Atlas for Government service received FedRAMP Class D High certification across AWS, Microsoft Azure Government and Google Cloud, allowing US public sector customers to run the same database platform across all three environments.
  • This certification positions MongoDB as an option for agencies that want consistent data architecture across multiple clouds without rebuilding applications when workloads move.
  • The discussion now turns to how MongoDB’s investment narrative is affected by FedRAMP High approval for Atlas for Government.

Scan how MongoDB fits into the broader move toward cloud and AI infrastructure by comparing it with a curated list of 53 AI infrastructure stocks that could be setting up their next breakout phase.

Advertisement

MongoDB Investment Narrative Recap

To own MongoDB, you need to believe its Atlas cloud platform can keep attracting higher value workloads from both AI heavy applications and traditional enterprise systems, in line with the analyst consensus Narrative on Simply Wall St. The FedRAMP High approval supports that thesis at the margin, because it opens regulated public sector workloads without changing the core bet on Atlas consumption and AI features.

The closest near term catalyst is execution around Atlas, AI related products like vector search and Voyage, and the upcoming Q3 FY27 earnings update. The biggest risk is still competitive and execution pressure, from cloud provider databases and leadership turnover, which could weigh on margins or slow the uptake of newer AI and agent capabilities.

The FedRAMP Class D High certification for MongoDB Atlas for Government is the key announcement that lines up with this story. It gives the platform a cleaner path into US public sector environments on AWS, Azure Government and Google Cloud, which ties directly into the run anywhere, multi cloud narrative behind Atlas.

For you as an investor, this certification mainly matters if it translates into steadier, higher quality Atlas usage rather than one off wins. It may also test execution risk. Government workloads often require long sales cycles and strict compliance, so any delay, pricing pressure or delivery issues could reinforce the concerns around margins and leadership stability already flagged in the risk profile.

MongoDB’s narrative projects US$4.8b revenue and US$270.0m earnings by 2029. That path assumes 19.6% yearly revenue growth and an earnings increase of about US$211.1m from US$58.9m today.

Uncover why MongoDB’s fair value indicates a 58% potential upside to its current price, which could narrow quickly.

NasdaqGM:MDB 1-Year Stock Price Chart
NasdaqGM:MDB 1-Year Stock Price Chart

Exploring Other Perspectives

One alternate angle focuses on the bullish revenue and earnings path rather than execution risk. Some of the highest analysts were already penciling in US$5.1b of revenue and about US$580.3m of earnings by 2029 before this FedRAMP news. You can treat this certification as a fresh data point that might push those optimistic narratives higher, or challenge them, and it is worth comparing several viewpoints before deciding how MongoDB fits your own expectations.

Explore 3 other MongoDB fair value estimates, including one that suggests potential upside of as much as 98% from the current price!

Form Your Own Verdict

Disagree with existing narratives? Extraordinary investment returns rarely come from following the herd, so go with your instincts.

Looking For More Investment Ideas Beyond MongoDB?

If MongoDB is only one piece of your watchlist, it can help to compare it with other companies that share similar quality, resilience or return potential. The Simply Wall St Screener is built for that kind of side by side work, so you can evaluate your thesis instead of relying on a single story.

Have feedback on this article? Concerned about the content? Get in touch with us directly. Alternatively, email editorial-team@simplywallst.com

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

Palantir Technologies, MongoDB, Akamai, SoundHound AI, and Nutanix shares plummet …

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news
image

What happened?

A number of stocks fell in the afternoon session after AI-linked shares continued to pull back. Anthropic slid more than 10% following its debut, failing to revive confidence in the sector’s spending boom.

Investors had looked to Anthropic’s record $81.3 billion initial public offering and Nvidia’s quarterly earnings beat under interim CEO Colette Kress to steady sentiment following Jensen Huang’s resignation, CNBC reported. Instead, Anthropic’s retreat toward its $83 offer price echoed Seaport Research warnings, covered by CNBC, that its valuation demands much faster revenue growth.

Separately, Federal Reserve Governor Lisa Cook warned against delaying rate hikes ahead of an expected December increase. Compounding the concerns, President Donald Trump threatened penalties on overseas U.S. data-center builds as new Commerce Department export-licensing rules weighed on chipmakers.

The stock market overreacts to news, and big price drops can present good opportunities to buy high-quality stocks.

Among others, the following stocks were impacted:

Zooming in on SoundHound AI

SoundHound AI’s shares are extremely volatile and have had 48 moves greater than 5% over the last year. In that context, today’s move indicates the market considers this news meaningful but not something that would fundamentally change its perception of the business.

The previous big move we wrote about was 3 days ago when the stock dropped 4% on the news that rising Treasury yields, hawkish Federal Reserve commentary, and broad de-risking hit the tech sector ahead of Nvidia’s earnings and Anthropic’s IPO. 

Rate pressure intensified as the 10-year Treasury yield reached 5.145% after October retail sales excluding autos and gas rose 0.6%, topping the 0.4% consensus, CNBC reported. In remarks carried by CNBC, St. Louis Fed President Alberto Musalem warned as many as four more rate hikes may be needed before spring 2027 to return inflation to 2%. Meanwhile, Bank of America’s fund manager survey, detailed by CNBC, showed net overweight tech exposure fell 25 percentage points this month—the steepest drop since 2006—leaving strategist Michael Hartnett “tactically risk-off.” 

Higher borrowing costs compress software valuations, while Anthropic’s upcoming listing gives institutions a direct public vehicle for AI exposure. Investors now look to Nvidia’s post-close results and Anthropic’s IPO pricing to test whether AI demand lifts or sidelines traditional software stocks.

SoundHound AI is down 75.3% since the beginning of the year, and at $2.62 per share, it is trading 79.6% below its 52-week high of $12.80 from December 2025. Investors who bought $1,000 worth of SoundHound AI’s shares at the IPO in April 2022 would now be looking at an investment worth $348.67.

ONE MORE THING: The $21 AI Application Stock Wall Street Forgot. While Wall Street obsesses over who’s building AI, one company is already using it to print money. And nobody’s paying attention.

AI chip stocks trade at ridiculous valuations. This company processes a trillion consumer signals monthly using AI and trades at a third of the price. The gap won’t last. The institutions will figure it out. You need to see this first. Read the FREE Report Before They Notice.

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

盤中速報- MongoDB公司(MDB-US)大跌5.13%,報281.78美元— TradingView News

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news
image

MongoDB公司(MDB-US)截至台北時間21日04:35股價下跌15.24美元,報281.78美元,跌幅5.13%,成交量1,056,477(股),盤中最高價300.58美元、最低價281.78美元。

美股指數盤中表現

  • 道瓊指數:-1.75%
  • S&P 500指數:-3.48%
  • NASDAQ指數:-5.36%
  • 費城半導體指數:-10.8%

MongoDB公司(MDB-US)歷史漲跌幅

  • 近 1 週:-9.73%
  • 近 1 月:-12.04%
  • 近 3 月:-30.38%
  • 近 6 月:-8.36%
  • 今年以來:-26.92%

更多鉅亨報導

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

Palantir Technologies, MongoDB, Akamai, SoundHound AI, and Nutanix shares plummet …

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news

PLTR Cover Image

What happened?

A number of stocks fell in the afternoon session after AI-linked shares continued to pull back. Anthropic slid more than 10% following its debut, failing to revive confidence in the sector’s spending boom.

Investors had looked to Anthropic’s record $81.3 billion initial public offering and Nvidia’s quarterly earnings beat under interim CEO Colette Kress to steady sentiment following Jensen Huang’s resignation, CNBC reported. Instead, Anthropic’s retreat toward its $83 offer price echoed Seaport Research warnings, covered by CNBC, that its valuation demands much faster revenue growth.

Separately, Federal Reserve Governor Lisa Cook warned against delaying rate hikes ahead of an expected December increase. Compounding the concerns, President Donald Trump threatened penalties on overseas U.S. data-center builds as new Commerce Department export-licensing rules weighed on chipmakers.

The stock market overreacts to news, and big price drops can present good opportunities to buy high-quality stocks.

Among others, the following stocks were impacted:

Zooming in on SoundHound AI

SoundHound AI’s shares are extremely volatile and have had 48 moves greater than 5% over the last year. In that context, today’s move indicates the market considers this news meaningful but not something that would fundamentally change its perception of the business.

The previous big move we wrote about was 3 days ago when the stock dropped 4% on the news that rising Treasury yields, hawkish Federal Reserve commentary, and broad de-risking hit the tech sector ahead of Nvidia’s earnings and Anthropic’s IPO. 

Rate pressure intensified as the 10-year Treasury yield reached 5.145% after October retail sales excluding autos and gas rose 0.6%, topping the 0.4% consensus, CNBC reported. In remarks carried by CNBC, St. Louis Fed President Alberto Musalem warned as many as four more rate hikes may be needed before spring 2027 to return inflation to 2%. Meanwhile, Bank of America’s fund manager survey, detailed by CNBC, showed net overweight tech exposure fell 25 percentage points this month—the steepest drop since 2006—leaving strategist Michael Hartnett “tactically risk-off.” 

Higher borrowing costs compress software valuations, while Anthropic’s upcoming listing gives institutions a direct public vehicle for AI exposure. Investors now look to Nvidia’s post-close results and Anthropic’s IPO pricing to test whether AI demand lifts or sidelines traditional software stocks.

SoundHound AI is down 75.3% since the beginning of the year, and at $2.62 per share, it is trading 79.6% below its 52-week high of $12.80 from December 2025. Investors who bought $1,000 worth of SoundHound AI’s shares at the IPO in April 2022 would now be looking at an investment worth $348.67.

ONE MORE THING: The $21 AI Application Stock Wall Street Forgot. While Wall Street obsesses over who’s building AI, one company is already using it to print money. And nobody’s paying attention.

AI chip stocks trade at ridiculous valuations. This company processes a trillion consumer signals monthly using AI and trades at a third of the price. The gap won’t last. The institutions will figure it out. You need to see this first. Read the FREE Report Before They Notice.

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

Palantir Technologies, MongoDB, Akamai, SoundHound AI, and Nutanix shares plummet …

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news

What happened?

A number of stocks fell in the afternoon session after AI-linked shares continued to pull back. Anthropic slid more than 10% following its debut, failing to revive confidence in the sector’s spending boom.

Investors had looked to Anthropic’s record $81.3 billion initial public offering and Nvidia’s quarterly earnings beat under interim CEO Colette Kress to steady sentiment following Jensen Huang’s resignation, CNBC reported. Instead, Anthropic’s retreat toward its $83 offer price echoed Seaport Research warnings, covered by CNBC, that its valuation demands much faster revenue growth.

Separately, Federal Reserve Governor Lisa Cook warned against delaying rate hikes ahead of an expected December increase. Compounding the concerns, President Donald Trump threatened penalties on overseas U.S. data-center builds as new Commerce Department export-licensing rules weighed on chipmakers.

The stock market overreacts to news, and big price drops can present good opportunities to buy high-quality stocks.

Among others, the following stocks were impacted:

Zooming in on SoundHound AI

SoundHound AI’s shares are extremely volatile and have had 48 moves greater than 5% over the last year. In that context, today’s move indicates the market considers this news meaningful but not something that would fundamentally change its perception of the business.

The previous big move we wrote about was 3 days ago when the stock dropped 4% on the news that rising Treasury yields, hawkish Federal Reserve commentary, and broad de-risking hit the tech sector ahead of Nvidia’s earnings and Anthropic’s IPO.

Rate pressure intensified as the 10-year Treasury yield reached 5.145% after October retail sales excluding autos and gas rose 0.6%, topping the 0.4% consensus, CNBC reported. In remarks carried by CNBC, St. Louis Fed President Alberto Musalem warned as many as four more rate hikes may be needed before spring 2027 to return inflation to 2%. Meanwhile, Bank of America’s fund manager survey, detailed by CNBC, showed net overweight tech exposure fell 25 percentage points this month—the steepest drop since 2006—leaving strategist Michael Hartnett “tactically risk-off.”

Higher borrowing costs compress software valuations, while Anthropic’s upcoming listing gives institutions a direct public vehicle for AI exposure. Investors now look to Nvidia’s post-close results and Anthropic’s IPO pricing to test whether AI demand lifts or sidelines traditional software stocks.

SoundHound AI is down 75.3% since the beginning of the year, and at $2.62 per share, it is trading 79.6% below its 52-week high of $12.80 from December 2025. Investors who bought $1,000 worth of SoundHound AI’s shares at the IPO in April 2022 would now be looking at an investment worth $348.67.

ONE MORE THING: The $21 AI Application Stock Wall Street Forgot. While Wall Street obsesses over who’s building AI, one company is already using it to print money. And nobody’s paying attention.

AI chip stocks trade at ridiculous valuations. This company processes a trillion consumer signals monthly using AI and trades at a third of the price. The gap won’t last. The institutions will figure it out. You need to see this first. Read the FREE Report Before They Notice.

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

瑞銀上調MongoDB目標價至450美元— TradingView News

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news
image

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

MongoDB (MDB) Stock Could Be 21% Undervalued Despite Price Target Cut

MMS Founder
MMS • RSS
Posted on mongodb google news. Visit mongodb google news
image

MongoDB has seen its share price fall over multiple time frames, and the pullback raises a straightforward issue for investors who care about valuation. Do the cash flows that MongoDB can generate over time justify where the stock trades today.

  • Over the past 5 years, MongoDB shareholders have seen the stock decline about 41.4%, which puts the focus squarely on whether the underlying cash flows still support the current market value.

  • Recent analyst moves, including price target cuts tied to execution risk in the Atlas cloud database business and optimism around the Firebolt acquisition and AI use cases, can affect how quickly MongoDB turns expected growth into actual cash generation.

  • Prefer to judge MongoDB on sales? See why MongoDB’s 8.6x P/S tells a different valuation story.

The stock’s next move may depend on whether MongoDB’s current price lines up with what a Discounted Cash Flow (DCF) view of its future cash flows implies.

If you are rethinking MongoDB after this pullback and mixed news, it can help to compare it with a broader set of AI related opportunities using 42 AI small caps.

Does MongoDB Look Undervalued on Cash Flow?

The Discounted Cash Flow (DCF) model values MongoDB by projecting future free cash the business could return to shareholders. Latest twelve month free cash flow sits at about $648.6 million, and the projections assume that this figure grows over time rather than shrinks. Those cash flows are modelled to continue increasing into the early 2030s, which points to a business where the bulk of the estimated worth comes from growth rather than a steady state.

On that cash flow profile, the DCF output suggests MongoDB’s intrinsic value sits meaningfully above the current share price of $297.01. Bank of America’s recent price target cut because of Atlas execution risk helps explain why the market is keeping a lid on the stock even though the cash flow model still points higher than where it trades. You can see the full set of assumptions and how they compare to the current price in. Find out what MongoDB could be worth using our Discounted Cash Flow (DCF) estimate.

The MongoDB Narrative: What Would Justify Today’s Price?

MongoDB Narratives on Simply Wall St pick up where the valuation puzzle leaves off. They spell out which paths for revenue growth, margins and earnings would need to play out for the stock to be worth far more or far less than it is today. They also turn a single DCF output or ratio into a set of concrete future conditions you can watch over time to see whether that view stays on track.

One of the top narratives on MongoDB: 34% undervalued

This Narrative is the analyst consensus Narrative on Simply Wall St, which compiles analysts’ consensus price target and revenue and earnings forecasts, not one person’s view.

“The main thing that has to go right is that MongoDB converts growing interest in its AI stack and run-anywhere architecture into durable Atlas and Enterprise Advanced consumption…”

Discover why this Narrative puts MongoDB at 34% undervalued.

MongoDB’s valuation is only part of the story

Before treating the current pricing as the main consideration, it is worth knowing that Simply Wall St’s checks have highlighted specific concerns that investors may want to weigh for MongoDB alongside the upside case. Take a closer look at 2 warning signs before settling on a valuation.

This article is general in nature and was produced with the assistance of AI automation, based on data and analysis from Simply Wall St. We provide commentary based on historical data and analyst forecasts only using an unbiased methodology and our articles are not intended to be financial advice. It does not constitute a recommendation to buy or sell any stock, and does not take account of your objectives, or your financial situation. We aim to bring you long-term focused analysis driven by fundamental data. Note that our analysis may not factor in the latest price-sensitive company announcements or qualitative material. Simply Wall St has no position in any stocks mentioned.

Companies discussed in this article include MDB.

Have feedback on this article? Concerned about the content? Get in touch with us directly. Alternatively, email editorial-team@simplywallst.com

Article originally posted on mongodb google news. Visit mongodb google news

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

Meta TLX, a Native GPU Compiler Extension Supporting Advanced Hardware Capabilities

MMS Founder
MMS • Sergio De Simone
Article originally posted on InfoQ. Visit InfoQ
image

Meta developed Triton Low-Level Extensions (TLX), designed to bridge the gap between high-level GPU programming abstractions and the low-level execution control required to fully exploit modern GPU architectures.

According to Meta engineers, modern GPU architectures offer advanced performance-optimization features, including warp specialization, asynchronous memory movement, tensor memory, and cluster-level execution, which depart from Triton’s traditional programming model, which simplifies kernel development but abstracts away low-level execution structures.

For example, a modern FlashAttention kernel may dedicate one warp group to issuing TMA transfers while another executes tensor-core computation. A Blackwell GEMM kernel may coordinate multiple warp groups, TMEM allocations, and cluster resources simultaneously. In both cases, performance depends not only on the computation being performed, but also on how multiple execution agents cooperate.

Using these advanced features required “large amounts of architecture-specific orchestration code”, as they were not readily available as Triton compilers abstractions. To address this challenge, Meta developed Triton Low-Level Extensions (TLX), designed to give engineers explicit control over GPU execution while preserving Triton’s programming model.

TLX introduces a new Multiple Instructions, Multiple Warps (MIMW) execution model that bridges CUDA’s thread-level control and Triton’s block-level abstraction. It extends Triton across five key areas: warp-group orchestration, synchronization, memory orchestration, cluster execution, and optional layout.

Taken together, these capabilities allow TLX to occupy the space between Triton’s productivity and CUDA’s control. Developers retain the advantages of Python, autotuning, and blocked tensor programming while gaining direct access to the execution structures that increasingly determine performance on modern GPUs.

Meta has deployed TLX in production for several months across three major workloads. For GEM model training on thousands of NVIDIA Blackwell GPUs, TLX achieved 20–25% end-to-end Model FLOPs Utilization (MFU) with up to 2x forward-pass speedup. For In-Kernel Broadcast Optimization (IKBO) in recommendation inference, TLX delivered a 4x speedup on an H100 for a linear compression kernel and reduced compute-intensive net latency up to two-thirds in co-designed models. Finally, in distributed grouped GEMM for LLM pretraining, TLX improved performance, reliability, and maintainability across large GPU fleets for extended training periods.

Commenting on the announcement on LinkedIn, AI engineer Kritika Choudary observed:

When I wrote Flash Attention from scratch in Metal on my M2, the tile loads into threadgroup memory and where to put the barriers were where most of the thinking went, so it’s nice to see TLX make that explicit.

On a similar note, Amirul Islam emphasized that:

Making warp-group handoffs explicit while leaving layouts optional feels like a useful boundary. The producer/consumer pipeline is visible in the source, without forcing every fused stage to start with manual layout bookkeeping.

Meta plans to further expand Triton TLX by adding support for additional NVIDIA, AMD, and custom accelerator architectures, automating warp-group orchestration through higher-level abstractions, and integrating TLX with torch.compile.

About the Author

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.

Uber Cuts Translation Cache Memory by up to 90% While Keeping P99 Latency Below 1 MS

MMS Founder
MMS • Leela Kumili
Article originally posted on InfoQ. Visit InfoQ

Uber has redesigned its Go-based translation cache to reduce its initial memory footprint by more than 90% while keeping p99 cache miss latency below one millisecond. The hybrid architecture retains translation keys and frequently accessed values in memory while storing the remaining values on disk. The system serves millions of translations per second and maintains a cache hit rate above 99.9%.

The optimization addresses two problems identified through memory profiling across Uber’s Go services. Garbage collection (GC) consumed more than 20% of CPU utilization in some services, with translations accounting for approximately 70% of allocated objects.

Uber Engineering noted that

At Uber’s scale, even small inefficiencies in memory management can add up.

The first optimization replaced Go’s sync.Map with a conventional map[string]string protected by an RWMutex. The workload was predominantly read-heavy, with infrequent updates and no individual deletions. The previous implementation created multiple objects and pointers for each translation entry, increasing GC overhead. Moving to a value-based map reduced object allocations and improved CPU utilization by more than 30% in the affected service.

However, reducing object allocations did not solve the overall memory consumption problem. Translation datasets could contain two to three million keys, although individual services typically accessed only a small subset. Cache refreshes introduced another issue: the service built a replacement cache in the background before atomically swapping it with the existing one. Both copies therefore occupied memory simultaneously, causing some services to run out of memory during refreshes.

Uber considered external caching and generating service-specific translation subsets, but both introduced additional operational or maintenance costs. The team instead adopted a hybrid storage design that preserves the existing Get() and Put() API. All keys remain available in memory for fast lookups, while translation values are stored in disk-backed files.

Uber’s hybrid translation cache (Source: Uber Blog Post)

The implementation uses 256 shards, each with its own read-write mutex, in-memory entries, and disk file. Six-byte hash-based keys reduce metadata overhead, with a fallback to the original key format to handle collisions. A time-based global least recently used (LRU) policy manages in-memory entries. During cache refreshes, the system uses access history to preload translations accessed within the previous 15 minutes, avoiding a cold cache after the swap.

In one example, a translation dataset that previously consumed approximately 800 MB in memory required around 40 MB for metadata after the redesign. With a configured limit of 50,000 in-memory entries, actual memory consumption typically ranged between 80 MB and 120 MB. In another reported workload, approximately 30,000 of more than four million entries were loaded in memory, while the cache hit rate remained above 99.9%. The p99 latency for disk-backed cache misses stayed below 100 microseconds.

Memory usage decreased from approximately 2.7 GB to 750 MB (Source: Uber Blog Post)

Uber’s experience highlights the cost implications of in-memory caching at scale. The team recommends minimizing object references to reduce GC overhead and measuring how frequently cached values are accessed. When only a small proportion of cached data is actively used, a hybrid approach can retain frequently accessed values in memory while moving the rest to disk.

About the Author

Subscribe for MMS Newsletter

By signing up, you will receive updates about our latest information.

  • This field is for validation purposes and should be left unchanged.