Netflix Builds Quasar to Measure the Blast Radius of Library API Changes

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

Netflix has developed Quasar, an internal tool that identifies which repositories use specific library API symbols, helping engineering teams assess the downstream impact of proposed changes before releasing them. The tool combines semantic code indexing with API comparisons to identify affected consumers, dependency versions, and relevant call sites across repositories.

The challenge extends beyond identifying whether an API change is incompatible. Compatibility tools can flag a removed method or changed signature, but they do not necessarily identify which applications call it. Dependency graphs show declared relationships rather than actual usage, while text searches can miss references involving inheritance, overloads, and generated code. Building every downstream consumer to validate a change can also be expensive.

Quasar architecture diagram showing the indexing and query workflow (Source: Netflix Blog Post)

Quasar indexes symbol definitions and references using the SCIP Code Intelligence Protocol, an open format for representing code relationships. Language-specific indexers submit data during CI builds, which Quasar stores in Amazon S3 as Parquet files and queries through Amazon Athena.

During pull request analysis, Quasar compares API definitions between commits and identifies added, removed, or modified symbols. It then queries indexed references to locate affected repositories, dependency versions, and source locations. A Netflix example shows a deprecated method removal affecting 137 repositories across three library versions.

Example Quasar impact report showing affected repositories and dependency versions (Source: Netflix Blog Post)

However, an absence of indexed references does not prove that an API is unused. Reflection, dynamic loading, stale indexes, and incomplete coverage can prevent Quasar from observing every consumer.

Antonio J. del Águila, founder of Knaisoma, highlighted another limitation in a LinkedIn discussion about the approach:

Observed usage has a blind spot for reflection and for code on rare paths, like a quarterly batch job, since those calls may never show up in the window that was sampled.

Roberto Pérez Alcolea, a member of Netflix’s Java Platform Team and author of the original article, acknowledged the limitation and described ongoing work to complement static evidence:

Reflection and incomplete indexing remain blind spots, and we’re also investing in runtime analysis to complement the static evidence. Together, those signals help inform removal decisions, without guaranteeing that an API is safe to delete.

Quasar complements Revapi for API compatibility analysis and Kythe for code navigation by connecting API changes with actual usage across repositories. SCIP supports usage queries across Java, Go, Python, JavaScript/TypeScript, and Rust, while compatibility analysis covers JVM APIs and Protobuf changes traced through generated Java code. Netflix exposes findings through REST, GraphQL, and a Model Context Protocol (MCP) server for developers and coding agents.

Netflix plans to move impact analysis earlier into coding workflows, allowing agents to identify public API changes and retrieve consumer information before pull requests are opened. The goal is to help prepare migration changes while keeping API and release decisions with library producers.

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.

76% Upside for Snowflake? Citi Thinks So, and Here’s How | TIKR.com

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

Key Takeaways

  • Citi cut its Snowflake target to $470 from $490 on Nov. 25 and kept a Buy rating. That’s still 76% above the Nov. 25 close of $267.72, which is 27% below the stock’s October closing high.
  • Citi now expects AI to add about 10 percentage points to Snowflake’s product revenue growth by fiscal 2028, a year sooner than it forecast before.
  • On analysts’ estimates for the year ending January 2029, $470 is about 108x earnings. That’s close to its current multiple, so the target depends on those estimates holding.
  • The estimates are still rising, so Citi’s call holds up. MongoDB reports on Dec. 1 and Snowflake on Dec. 2, and those reports are the next tests.

Snowflake (SNOW) closed at $267.72 on Nov. 25, 27% below its October closing high, and Citi still sees 76% upside. Analyst Tyler Radke cut his target to $470 from $490 that day and kept his Buy rating.

MongoDB (MDB), which competes with Snowflake for the same AI data budgets, reports Dec. 1, and Snowflake follows on Dec. 2.

Snowflake’s business kept accelerating

In September, Snowflake reported second-quarter product revenue of $1.49 billion, up 37%, its third straight quarter of faster growth. It also raised its fiscal 2027 product revenue outlook to $6.07 billion. Since then, a selloff in AI and tech stocks, on worries about an AI bubble and higher US interest rates, has pulled software multiples lower. UBS, Bank of America and KeyBanc all cut their targets between Nov. 18 and Nov. 24, and all three kept bullish ratings.

Citi pulled its AI forecast forward a year

According to a MoneyCheck summary of the note, Radke now expects AI to add about 10 percentage points to Snowflake’s product revenue growth by fiscal 2028, a year sooner than he’d forecast. On the September call, CEO Sridhar Ramaswamy credited AI products with about half of the company’s growth acceleration.

TIKR tracks 51 analysts on Snowflake. How many say “Buy”?

See the full breakdown of Buy, Hold, and Sell ratings on Snowflake, along with Wall Street’s revenue and earnings estimates, all in one place. More than 500,000 investors use TIKR to research stocks like this one. See Snowflake’s Analyst Ratings

Does $470 add up?

Even after this month’s cuts, the average target sits at $430, up from $272 a year ago:

Line chart from TIKR of Snowflake's analysts' consensus (mean) price target, $ per share, last year.
Snowflake (SNOW): analysts’ consensus (mean) price target, $ per share, last year (TIKR)

Citi’s $470 is 9% above that average.

Analysts expect normalized EPS, which leaves out stock-based pay, to climb from $1.25 in fiscal 2026 to $3.08 in fiscal 2028, and they lifted that fiscal 2028 estimate from $2.71 over the past 90 days:

Bar chart from TIKR of Snowflake's normalized EPS, actual and consensus estimates, $ per share, fiscal 2024-2028 (years to January).
Snowflake (SNOW): normalized EPS, actual and consensus estimates, $ per share, fiscal 2024-2028 (years to January) (TIKR)

The consensus for fiscal 2029 (the year ending January 2029) is $4.34, and $470 is about 108x that estimate. At the Nov. 24 close, Snowflake traded at 107x its next 12 months’ earnings, below its average of about 130x over the past year. So nearly all of Citi’s upside would come from earnings growing about 72%, with no help from a higher multiple.

What Dec. 2 has to show

The bigger risk is the multiple. Citi cut its target because software multiples compressed, and $470 needs roughly the current multiple to hold. Margin is the other risk: management cut its fiscal 2027 product gross margin outlook to 74% from 75% as more revenue comes from lower-margin AI workloads.

MongoDB’s third-quarter guidance works out to about 20%-21% growth, down from 30% in its July quarter, so a MongoDB beat on Dec. 1 would suggest AI demand is lifting more than one data platform.

With estimates still rising, the upside case holds up. On Dec. 2, product revenue above the top of the $1,588 million to $1,593 million guide, with gross margin at or above 74%, would keep those estimates climbing. If the beat comes with a thinner margin, investors may balk at 108x.

So what is Snowflake stock actually worth?

TIKR lets you forecast the future price of any stock in less than a minute. Just enter a few assumptions into TIKR’s valuation model and see what Snowflake could be worth. Start from Wall Street consensus estimates, or adjust the inputs to reflect your own view of the business. It’s free to use.

Value Snowflake for free

Disclaimer:

Please note that the articles on TIKR are not intended to serve as investment or financial advice from TIKR or our content team, nor are they recommendations to buy or sell any stocks. We create our content based on TIKR Terminal’s investment data and analysts’ estimates. Our analysis might not include recent company news or important updates. TIKR has no position in any of the stocks mentioned. Thank you for reading, and happy investing!

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.

76% Upside for Snowflake? Citi Thinks So, and Here’s How | TIKR.com

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

Key Takeaways

  • Citi cut its Snowflake target to $470 from $490 on Nov. 25 and kept a Buy rating. That’s still 76% above the Nov. 25 close of $267.72, which is 27% below the stock’s October closing high.
  • Citi now expects AI to add about 10 percentage points to Snowflake’s product revenue growth by fiscal 2028, a year sooner than it forecast before.
  • On analysts’ estimates for the year ending January 2029, $470 is about 108x earnings. That’s close to its current multiple, so the target depends on those estimates holding.
  • The estimates are still rising, so Citi’s call holds up. MongoDB reports on Dec. 1 and Snowflake on Dec. 2, and those reports are the next tests.

Snowflake (SNOW) closed at $267.72 on Nov. 25, 27% below its October closing high, and Citi still sees 76% upside. Analyst Tyler Radke cut his target to $470 from $490 that day and kept his Buy rating.

MongoDB (MDB), which competes with Snowflake for the same AI data budgets, reports Dec. 1, and Snowflake follows on Dec. 2.

Snowflake’s business kept accelerating

In September, Snowflake reported second-quarter product revenue of $1.49 billion, up 37%, its third straight quarter of faster growth. It also raised its fiscal 2027 product revenue outlook to $6.07 billion. Since then, a selloff in AI and tech stocks, on worries about an AI bubble and higher US interest rates, has pulled software multiples lower. UBS, Bank of America and KeyBanc all cut their targets between Nov. 18 and Nov. 24, and all three kept bullish ratings.

Citi pulled its AI forecast forward a year

According to a MoneyCheck summary of the note, Radke now expects AI to add about 10 percentage points to Snowflake’s product revenue growth by fiscal 2028, a year sooner than he’d forecast. On the September call, CEO Sridhar Ramaswamy credited AI products with about half of the company’s growth acceleration.

TIKR tracks 51 analysts on Snowflake. How many say “Buy”?

See the full breakdown of Buy, Hold, and Sell ratings on Snowflake, along with Wall Street’s revenue and earnings estimates, all in one place. More than 500,000 investors use TIKR to research stocks like this one. See Snowflake’s Analyst Ratings

Does $470 add up?

Even after this month’s cuts, the average target sits at $430, up from $272 a year ago:

Line chart from TIKR of Snowflake's analysts' consensus (mean) price target, $ per share, last year.
Snowflake (SNOW): analysts’ consensus (mean) price target, $ per share, last year (TIKR)

Citi’s $470 is 9% above that average.

Analysts expect normalized EPS, which leaves out stock-based pay, to climb from $1.25 in fiscal 2026 to $3.08 in fiscal 2028, and they lifted that fiscal 2028 estimate from $2.71 over the past 90 days:

Bar chart from TIKR of Snowflake's normalized EPS, actual and consensus estimates, $ per share, fiscal 2024-2028 (years to January).
Snowflake (SNOW): normalized EPS, actual and consensus estimates, $ per share, fiscal 2024-2028 (years to January) (TIKR)

The consensus for fiscal 2029 (the year ending January 2029) is $4.34, and $470 is about 108x that estimate. At the Nov. 24 close, Snowflake traded at 107x its next 12 months’ earnings, below its average of about 130x over the past year. So nearly all of Citi’s upside would come from earnings growing about 72%, with no help from a higher multiple.

What Dec. 2 has to show

The bigger risk is the multiple. Citi cut its target because software multiples compressed, and $470 needs roughly the current multiple to hold. Margin is the other risk: management cut its fiscal 2027 product gross margin outlook to 74% from 75% as more revenue comes from lower-margin AI workloads.

MongoDB’s third-quarter guidance works out to about 20%-21% growth, down from 30% in its July quarter, so a MongoDB beat on Dec. 1 would suggest AI demand is lifting more than one data platform.

With estimates still rising, the upside case holds up. On Dec. 2, product revenue above the top of the $1,588 million to $1,593 million guide, with gross margin at or above 74%, would keep those estimates climbing. If the beat comes with a thinner margin, investors may balk at 108x.

So what is Snowflake stock actually worth?

TIKR lets you forecast the future price of any stock in less than a minute. Just enter a few assumptions into TIKR’s valuation model and see what Snowflake could be worth. Start from Wall Street consensus estimates, or adjust the inputs to reflect your own view of the business. It’s free to use.

Value Snowflake for free

Disclaimer:

Please note that the articles on TIKR are not intended to serve as investment or financial advice from TIKR or our content team, nor are they recommendations to buy or sell any stocks. We create our content based on TIKR Terminal’s investment data and analysts’ estimates. Our analysis might not include recent company news or important updates. TIKR has no position in any of the stocks mentioned. Thank you for reading, and happy investing!

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.

Grafana Begins Its Biggest UI Refresh Since Version 7

MMS Founder
MMS • Craig Risi
Article originally posted on InfoQ. Visit InfoQ
image

Grafana Labs has introduced the first phase of its biggest visual refresh since Grafana 7, bringing updated themes, more consistent interface components, and improved visual hierarchy to its observability platform. Introduced as part of Grafana 13.3, the refresh is now available in public preview across Grafana Cloud and self-managed deployments.

The changes address a growing problem as Grafana has expanded: years of rapid feature development have created design inconsistencies, competing visual elements, and different interaction patterns across the platform. Rather than introducing a complete redesign, Grafana is standardising its existing interface while retaining familiar navigation and plugin compatibility.

The longer-term objective is to make the platform easier to use as observability workflows increasingly incorporate AI assistants and agent-driven interactions.

Grafana’s extensive growth has brought support for a broad range of observability use cases, but this has also introduced what the company describes as design debt. Different parts of the interface have evolved independently, resulting in inconsistent visual cues, component variations, and interaction patterns.

The design refresh is intended to address these inconsistencies without slowing the platform’s continued development. Grafana wants users to learn an interaction pattern once and apply that knowledge consistently across dashboards, panels, drawers, and other parts of the interface.

The work has also been influenced by the development of Grafana Assistant and Assistant Workspace, which introduced new interaction patterns for AI-powered workflows and prompted the design team to reconsider the platform’s visual language.

New default light and dark themes use redesigned colour palettes intended to improve accessibility. Grafana has also reduced the number of available component variations, helping standardise how common interface elements behave.

Typography, borders, shadows and visual layering have been updated to create a clearer information hierarchy. The intention is to reduce competing visual elements and make it easier for users to identify important information when investigating incidents or exploring data.

These changes extend across fundamental interface components, including cards, panels, and drawers. Rather than simply applying a new visual style, Grafana is revisiting the underlying design primitives so that the interface remains consistent as the product evolves.

An interesting motivation behind the refresh is Grafana’s view that traditional graphical interfaces will increasingly coexist with terminal-based and agentic chat interactions.

As more workflows become accessible through AI assistants, the remaining graphical interactions need to be particularly clear and predictable. Users should be able to understand the information presented, recognise important changes and move between workflows without having to relearn different interface conventions.

This makes visual consistency more than a cosmetic exercise. It becomes part of ensuring that engineers can work effectively across both traditional observability interfaces and newer AI-assisted experiences.

Grafana is deliberately introducing the refresh in phases, allowing users and contributors to adapt while providing feedback before further changes are made.

Importantly, the company describes this as a visual refresh rather than a complete redesign. Existing navigation remains unchanged, and the update introduces no breaking changes for plugins.

Self-managed users can enable the new styling through the grafana.visualDesignRefresh feature toggle and can switch back to the previous appearance if required. Grafana Cloud users can also access the public preview.

The company has encouraged feedback through its community Slack and an in-app survey, using early adoption and user responses to guide subsequent iterations.

Other observability platforms, including Datadog and New Relic, have also invested in simplifying how engineers navigate increasingly complex monitoring environments. Grafana’s challenge is particularly interesting given its open-source ecosystem, where plugins and contributions introduce additional interface requirements.

The refresh reflects a broader product engineering principle: as platforms grow, maintaining consistency becomes as important as introducing new functionality.

For observability tools, where engineers often work under pressure during production incidents, reducing cognitive overhead can directly improve how quickly they find and interpret relevant information.

Grafana’s refresh is therefore less about changing how the platform works and more about making its growing capabilities easier to understand and use. As AI increasingly changes how engineers interact with observability systems, a clear and consistent graphical experience remains an important part of the overall design.

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.

Presentation: From Fan-Out to Fast: Sub-100ms API Design in Distributed Systems

MMS Founder
MMS • Saranya Vedagiri
Article originally posted on InfoQ. Visit InfoQ
image

Transcript

Saranya Vedagiri: How many of you got the chance to take the Tube today? So many of you have taken the Tube. Have you ever wondered why is the line paused again, anytime in your experience when taking the Tube? I just see a couple of you leaning in. I would like to take the Tube design just like a system design in a distributed system. Just like how we have the map in our hand, it feels as if London is manageable. A couple of lines, a transverse, and you feel like everything is good. That’s not the same when you take the actual journey. Your actual journey can have pauses and unexpected reason. That’s not what you want. That’s similar to a distributed system. When you look at the system diagram, it feels so comforting. A couple of boxes and arrows moving from one to another. You expect everything to go great.

That’s not really what happens. When the downstream slows down, you have to retry. Then, when a cache miss happens, you again retry. You fall back to a database. All of this adds time. That is why latency is important. What we are going to do today is considering latency as a route plan. We are going to take each and every hop, make sure there is a budget assigned to each hop, and see how we can get the journey better and make sure one station is not acting as a bottleneck for your complete journey. Today, the title of our discussion is, “From Fanout to Fast: How Do We Build an API within sub-100 milliseconds in a Distributed Environment?” If you are a senior engineer, I will give you concrete patterns which you can go back and apply. If you are an architect, let’s look at some of the tradeoffs and system constraints. If you are a leader, let’s make sure you have enough information so you can prioritize what is right for the team.

I’m a staff engineer at eBay. I have nearly two decades of experience in the IT industry. Lately, most of my involvement is towards building low latency systems which are scalable and reliable. From my experience, one thing is very sure, building a low latency system is doable once, but if you have to keep it the way that it is always, then it needs a lot of engineering. That’s where the real engineering is. Let’s see how we can do that. This is why a repeatable process is important. We don’t have any quick shortcuts to get it done.

The Cost of a Millisecond

Let’s understand, what is the cost of a millisecond. When you compare 120 versus 80, it doesn’t sound too dramatic. Users don’t experience latency as numbers, they experience it as friction. Friction really compounds. What do we do about it? What we are going to do is we are going to see how we can take the complete request path and divide it into some components or parts and make sure we cap each part with a budget. We also know that when scale comes into picture, your latency drifts. Have you seen the scenario where the system that you are building, let’s say you put up a cap limit of your latency to be like 30. This is in a normal scenario. When peak traffic hits, your graph suddenly bumps up to 60. When there is a dependency wobble, you see that the latency shoots up again to 120.

There’s no steady graph, but there is always a bump here and there. What has changed? There is no change in your code. The code has remained the same throughout. What has actually changed is the frictions that happen, is the systems which are going down, is the retries which are happening, your thread contention, your queuing, all of these aspects have added to this. A better way to handle is to look at the complete request journey.

Outline

Here is what we will cover. We’ll start off with assigning a budget to latency, and make sure every hop has its own budget. Then we’ll take a look into a complete journey, and see all the things that could go wrong. We’ll see a scenario and how that could be fixed. We’ll move on to tradeoffs. Then, without measurement, there is no success. We don’t know how far we are without measuring. We’ll look at that. We’ll look at what the future holds, and we’ll wrap it up.

Chapter 1: Latency Budgets – Defining and Managing Performance Targets

Latency budget. This is nothing but what your goal is versus what your system design is supporting. Let’s say you want to build a recommendation engine which needs to respond within 50 milliseconds, because it’s going to be used in multiple different components in your pages, exposed in emails and everything. How is your system design supporting this? That’s what we need to see. How does it help, actually? When you have a concrete plan, it helps you with two things. One is prioritization. You don’t really need to spend 100 milliseconds on a nice-to-have if you already know what is your cap limit. The other thing is alignment. It makes better alignment between the different teams. We don’t need to explain each team between the product, the engineering, your quality teams about various aspects, because everybody comes to an alignment with one cause that they have to deliver things at a low latency.

Now what we will do is we will take the complete path from the client to the way that the client can receive the response and divide it into sub-parts, and make sure each part does not take more than what it is allocated. Here is a rough estimate of how we could break this down. There are a few things where we can utilize some buffer, but there are a few things which you cannot utilize a buffer. The edge layer, there’s nothing we could do about it. Most of the content pull up your TLS, and the initial routing needs to happen here, which is going to take time, and you have to give it that. Let’s cap it with 10 milliseconds. The next one comes the gateway. That’s where your authentication and throttling happens, and you have to give it a 5 millisecond. Then next comes the application logic.

This is where it can be done in a single microservice or more. Just a pointer here. I think we have been overusing the terms of microservice where teams have started to really subdivide it into so many services that what could be done by one service is being done by four now. What we are forgetting is the network hop, which is involved in all of these things. We cap it at 30. Then the next one is the data access layer, where you definitely need an entity service, which is actually writing to your database, which could be whatever database that you’re choosing. Then comes the buffer. It’s better to save some buffer. Here we are adding 10 to 15 milliseconds as a buffer just to make sure there is enough time. Reality exists, so whenever there is a delay, you are just serving your buffer to make sure you have that time with you.

Chapter 2: The Request Journey – Tracing the Path of a Fast Request

Next, we look at a sample journey, a request journey, and see how things can go wrong in this journey. This is simple, considering we already saw the budget allocation. Your request travels from the client to the edge, and then the authentication, then it moves to your application logic, your persistence layer, and the way back. Now some teams don’t realize that there is a component for serialization when you send your response back. That is where the JSON payload translations happen. Sometimes they wonder, why is my application logic fast, but my API itself isn’t? This is one reason. Having seen the path, where does the latency hide in all of these things? The network hop. When we take the network hop, we have the TLS handshake, the connection pools, we have DNS lookups, everything. What I would suggest is, if it’s possible, removing one hop saves a lot of time than actually rewriting thousands of code.

If you think about this, so let’s say we have an item service, which needs to call a couple of other services, like the item, detail service, which calls the seller details to fetch all the seller details. Then the feedback rating, the feedback reviews, the completed text of it, the image URL, everything. It has to call a number of downstream services. Now if each service takes a particular time, so now it is important to see whether we need to talk to all of these services synchronously or asynchronously, and how much of it is actually exposed to the outside clients. If it is an internal service, do we want to use gRPC? What that helps with, it helps with communication between two services, which could be faster if there is more data payload with sharing. If it is a REST service and if it is public-facing, then it makes sense to use JSON, because it’s more meaningful when you read it.

The other thing is serialization. As I said, when your payloads are increasing, you have to pay for serialization. What can happen? For example, if I’m returning item details, I have a lot of information with me, title, description, SKU details, what is my last transaction, who bought my last item, so many information. Do I have to send all of this information for my client? My clients for an item service, could be search, could be cart, could be checkout, could be an email, could be some metrics. All of these clients, do all of them need the same information? Is there some customization which could be done based on who the client is? Do you need to use a REST service or do you want to use a GraphQL, because it is a read service. All of these discussions need to be done and decided. These are some things which could hide your latency.

Cold caches. What if there is a cache miss at the wrong moment? Then you have to fall back to the database, which adds up your latency. DB query shape. There are a few queries. Like, if you miss the tuning of the queries, if you miss the constraints, if the constraints are not built right, then it is going to take time, and you end up tuning it at the wrong moment after you are live. These are some things to be checked beforehand. Queuing and contention comes into play when we are using threads. If a downstream fails, the queue size increases, the thread contention increases. Now eventually you try to retry because you have not got the response. Your request comes pouring in. Now you have a lot of things to handle and the system eventually fails. Then the dependencies. When you have more dependencies, your total SLA is dependent on it, because that’s from the slowest downstream that you are calling. Observability. If you’re adding too much log, where is your tracing information? How much are you tracing? Are you doing 1%? Are you doing more than that? All these tiny pieces make a huge impact.

Chapter 3: Scenarios and Fixes – Addressing Common Latency Pitfalls

Now let’s take a scenario and look at the fixes for it. Here is the case when we faced that. The p95 was looking fine, but the users still timed out. What happened was we got issues raised, from one of the clients, saying, I’m getting a lot of timeouts. When we look at our dashboard, our dashboard is green. We don’t see pretty much. We don’t really see that, because we are taking in billions of calls. For the client, they have millions of calls. Then even a small failure, in this case, it was less than 1% for us, but nearly 1% for them. If you take the example of the item service, if it’s coming from the checkout, then every single transaction is valuable. Any single transaction, we don’t want to result in a failure. That’s exactly what we wanted to look at. How do we face this?

How do we investigate this problem? How do we solve this problem? When you’re having your majority works, your p99 works, your p95 works, but that’s where, in your p99, it’s not the way that it has to. First of all, let’s see how we went about investigating this. We need to take from the client how much logs they have. Try to map those into your system. Like, are you able to trace it out? This is why, if there are leaders in the group, it is important to make sure you have added all the observability metrics for your services, because there is no time after having an incident that you go back and add all of these things. Now, if you have not built dashboards for your p99, this is the time to build that. If you’re having those dashboards, look at it. Now, what is the difference between a successful transaction and where it has timed out?

What is the bottleneck that you’re seeing here? It could be some downstream is not returning, the cache lookup was a failure, we had to go back, retried so many times, it didn’t work. What is that exact problem? Note down all those problems that you’re seeing and compare it with the dashboards that you have. Does it correlate? Are you looking at your thread health? Are you looking at your queue size? Does it correlate somewhere? Are you looking at your DB dashboards. Did you receive peak load during that time? Did you look at the cache dashboards? Are you having cache misses? Are the cache calls increased? Look at all of that information which you have and see what corresponds. Now when you look at the cost, it’s always tempting to say that it can be the retries that we did, or it is the cache request which has failed.

There can be so many causes which is not really evident at the first glance, and those could be retry amplification. I’ve seen some of the codes when reviewing. Every time there is a retry, they increase the retry timeout. First time it is 500, second time they add it to 1,000. What is the benefit of this? If you want to build a high latency system and you retry, you’re capping it at 500 and 1,000, you’re not in the game. Your service is already going to lose it. Make sure your retries make sense. If you’re looking up from cache, if it is Redis Cache, usually it responds in 5 milliseconds. Do you want to cap it at 8 or 10, and then do a retry? Don’t wait for 50 milliseconds and do a retry. Probability of you capping it lower and then doing a retry might result in a better one.

Maybe you are reaching a different pod. The other one would be thread pool starvation. Here, if an application is using just one thread pool for the entire journey, it has a good potential to bring the system down. We’ll talk more in detail about thread pool in the coming slides. The next is database tail latency. There are situations where database is taking more time, maybe bad query, maybe you hit a wrong shard, hotspots, things like that. Observability gaps. You’re logging too much of information. Then your GC or the JVM pauses. What do we do about it? In our case, we did three things, which actually helped us. The one is payload reduction. We were retaining a lot of information. Look at your maps. We had a key-value pair map, which was having user-related information. It had thousands of keys in it. We were returning this to 400-plus applications.

Not every application actually needs this. They probably need only 5 or 10 keys, but we were returning everything because that’s all associated with the user. We didn’t have the ability to request for a certain case. Now, once we changed that, that was helpful. Look at your response. Scan through each field one by one. Look to see if everything is making sense for the client, from the client perspective. Then, your retry discipline. Retry only if you’re making idempotent calls. Here, again, you have to cap your limit and make sure you’re giving thread pools separately for each of the downstream. That is what it is with thread pool guardrails.

Chapter 4: Tradeoffs – Balancing Speed with Other Priorities

I think now we started off with why a millisecond is important. We looked at budget. We also saw a request journey. How things could go wrong in that journey. Now it is time to look at some of the tradeoffs that are available. The first one is async fanout. We know what fanout is. Like one request turning into multiple. When we have such a fanout scenario, there are multiple options by which you can execute. One is doing things serially, the obvious way: one after the other. Or, see how much you could parallelize it in a couple of threads. Like whether you want to do two things at once. Then maybe your output needs to be fed for the other downstream calls. You take a judgment about it and do it. Then, if you’re doing asynchronously, you also have options of running it in a separate background thread, or you want to drop an event.

Or let’s say you make a fire and forget call. Like, what are the options that you have? What is making sense for your application at that moment? Maybe let’s take an example to understand this better. If we take placing on an order as an example, when you take place order, there are a number of things which have to happen immediately, like after you hit on that place order button. One thing is you’re supposed to receive your order confirmation email, the inventory has to get reduced. Your payment has to be made. You have to detect from the buyer, credit to the seller. Your metrics, you need to drop the metrics. Maybe giving this information to a couple of other downstream services which actually takes in this for the feedback and other things. Now when there are a lot of things, not all of these things have to happen serially.

When you take the item service response, where item has to call image, call seller details, call feedback and everything, again here there are a couple of things which needs to happen at the moment for sending the response back, but the couple of things need not happen synchronously. That is why we need to decide what needs to happen when, and see if you can move certain parts below the radar. When you want to do that asynchronously, making your configuration for a thread pool is very important. What is a thread pool? Let’s compare it with, maybe you have a fixed number of workers in your kitchen. Let’s say two workers. You have orders piling in. What happens? The two workers may not be able to do all the orders, and your orders are piling. Let’s say you have very few orders, there’s a very good chance that they bump onto each other.

Now, having this right configuration is very important. How could we go about it? What could help us to define what is the right configuration? This is where we need to check, what is our application doing? Is it an I/O intense work? Is it doing an I/O intense work, or is it doing a CPU intense work? Some examples could be, for CPU intense work, are you doing any algorithm processing? Are you doing image processing? Are you validating fields using your rules engine? Are you doing any encryption, decryption, or maybe tokenization? What are you actually doing? If you’re doing all of these works, it is CPU intense work. Closer to your CPU cores, if you’re using an 8-core system, maybe 8 threads, you should be good with this, with a normal load. Let’s say if you’re doing an I/O intense work, calling your REST service, calling your downstream, or waiting because you don’t get the response, you have to wait.

You’re looking at file. You’re making a cache call, database call. All of these are I/O intense work. Since there is a waiting time involved, we need to make sure that you’re adding more threads, taking this into account. A small example could be, if you are waiting for 80 milliseconds, and that particular downstream is capable of giving you a response in 20, the formula is the number of cores that you have times 1 plus 80 by 20, which nearly comes to about 40 threads. When you’re having your CPU intense work, you are only at 8. If you’re having an I/O intense work, you are at 40 now. Using the right number is very helpful. Your service could be doing both. Then you need to carefully check what your service is doing and make sure your limits are set based on that. This is no hard and fixed number.

It is more as a starting point where you should actually fine-tune it based on your results, based on the dashboards that you’re seeing. Go back and fine-tune this. Also, there is one more important thing to understand, is, what is your incoming traffic? How much concurrent requests are you going to receive? That is also important to determine this thread count. A simple way could be from Little’s Law, where, what is your latency? Latency into number of requests per second. If your latency is 50 milliseconds for your service and you are expected to get 500, then it’s about 25 concurrent requests that you are seeing. This is even before the retries that you have to do, system getting abnormal, and things like that. This is just a starting number. Make sure you cap your threads at the right number. Along with the thread pool, the other thing which we need to be careful about is queuing.

Once you have set some number with your thread pool, if there are more requests, you need to make sure your queue size is also right, because that’s where the next requests are going to be queued in. Now, let’s say both your thread pool and your queue is full, then, what next? You need some rejection policy set up. What is your rejection policy? Have you carefully analyzed your rejection policy? Are you going to outright reject your request? Are you going to pick up any low priority work and remove that from your queue? What is that? You have to define that correctly, which will help you. Also, the other thing could be the memory, which you have to check, and things like that.

Next comes the caching. We don’t expect everything to be returned by the service. You don’t need to go to database to return every information through the service. There are moments that you have to leverage using cache. What type of a cache? What data do you put in your cache? What is the key that you’re going to use in your cache? That’s where all these engineering concepts lie. Are you going to use a single cache to look up all the information? Let’s say, for the item information, do you want to add feedback into the cache? Is the review itself making sense or do you want to add the feedback score? Is adding item description making sense or do you want to add the price. What is making sense? What is the time? What is the benefit this is going to give? Of course, it’s going to give you latency importance.

Because 5 milliseconds versus 30, and that’s the tradeoff. Make sure you are building cache, which are multi-level, if possible. You don’t want to make your cache bulky also. The payload in the cache shouldn’t be bulky. You want to make sure that you are giving the right data, checking the payload size as well. Make sure it’s not like more than a few KB. Using a cache is not going to solve all the problems until you have invalidation set right. If you’re not invalidating your data as the data changes, if you’re not making it accurate, then there is a chance that you’re not showing the clients the right information. Then there is no point in using the cache. Invalidation becomes very important. How are you going to invalidate this data? There are a couple of options. If you set a fixed TTL, then till that time, the data is there and then it moves away.

Is that the practical approach that you want to take? Sometimes you want to change it when the actual data is being changed by the user. Then you want an event-based approach. You also have like version-based. Choose version-based only if you are sure about, is there a reliable plan to choose the exact version because you don’t want to get into trouble of choosing what is the right version to be picked up. There is also another concept of stale-while-revalidate. This is where you know the information is stale, but it’s ok to return that. You have to determine who are your clients. You don’t want to have a checkout reading price from a cache. You want the most accurate information. You need to go to the DB for it. Choose what is your application doing, the responsibility of the application. How much delay is your client acceptable? That could be different between different clients.

If you’re sending an email, it’s fine to build something which is not really accurate, which can be eventually consistent. That is fine. Choose based on your clients as well. Then, we also have the option of using group-based, where it is best advised for derived or aggregated views. A general rule of thumb, maybe if you’re experimenting it for the first time, will be start it with a TTL and then fine-tune it. Once you fine-tune it, use the event-based approach.

You know that you want to cache. You know how you can have the right data. Now you need to understand that data classification is important. You don’t want to get into any of those compliance issues where you have added the wrong data, especially when you’re in the financial industry. What are the data classifications available? Public data, anything which is public. When you search for an item, you get all this listing information. You get seller details, like what is the seller’s name? Where is he selling this item from? These details. These are all publicly available. It’s ok to cache it. What about internal data? Some of those unique IDs. You have UUID. Do you want to expose it outside? What about your item ID? Do you want to expose it outside? These are things that need to be determined. This is something that you need to work with your InfoSec team to understand what is the organization’s level of classification, and how much they want to expose it, add it to a cache, and things like that.

What about confidential data, like name, address, phone number, things like this? Definitely, we need to encrypt it or tokenize it. Whatever is the best fit or recommendation from the InfoSec team. Now this is a time where we need to think, does it make sense to add it in cache? We are going to cache because we want to reduce the time. Now if you’re adding a confidential data in the cache, be mindful that you need to pay for decrypting it or de-tokenizing it. Are you ready to accept that? Is your system ok to do that? Then, about classified information. Your SSN number, your passport number, all of this information, a strict no. You cannot cache this data.

Next, we’ll move on to circuit breakers. Circuit breakers are very helpful. It helps you contain your problem area to a specific region. It doesn’t allow the entire system to be brought down. Instead, it contains the problem in one specific area. In that way, circuit breaker is very important. If you take a mental model. What happens, let’s say when a downstream fails, and you have 10 downstream calling, and one of the downstream suddenly starts failing, the queue starts to build up, your thread pool queue is also high, your backup queue is also high. Now, as per your system logic, you try to retry and you also have incoming requests. There is a complete possibility of system being down. You are actually having a self-inflicted failure. Even if there is a request which does not need this downstream A, the request could fail for them. A circuit breaker helps in that.

It helps you contain that. It is important to use this. When the circuit breaker is open, it’s not going to allow any request. It’s going to allow time for the particular downstream to prepare itself, to come back up. When it partially opens up to send a few requests is to see whether it succeeds. Once it succeeds, it sends the remaining requests. This is very helpful.

Then, what about fallbacks? Maybe we could take this example. When you’re viewing an item on a search, you actually see this hottest item trigger, or you see this, five people are viewing onto this item. I have 10 purchased this item two hours back, or an hour back. All of these are hot information which are available. You need to be more accurate to give this information, or maybe nearly accurate. What if we don’t have this? What if the service which returns this information are failing? Then you probably go and use your fallback text, which is like, maybe, yes, this is a hot item. Many people are viewing. We had more transactions. Don’t give the exact number. This is the use of fallback. Consciously decide based on what your service is doing. Check if there are any places where you could use this tactic of a fallback.

It doesn’t have to be a static text. It could also be defaulting to certain numbers based on the situation. The other one is data partitioning, which is mostly underrated. The main theme is to avoid hotspots. Why do we want to avoid hotspots? Because we want to distribute the traffic to all the shards possible. When you’re deciding about partitions, make sure you choose a key which will give you a unique distribution across. Don’t choose something like, I’m going to put all my hot sellers into one shard, like the top sellers into one shard. When there is a specific season, for example, Thanksgiving in the U.S., it’s going to make all the requests go into that shard. It does not make sense to divide your sharding based on this theme. Rather use a key which is very generic: maybe the ID of the user itself, maybe his login name.

Use things which are generic, and make sure that gives a default distribution or a common distribution into all the shards. Sometimes due to regulations, it is also required that you need to split your data based on the region. Like EU region, you need to have a separate shard. U.S. region, you need to have a separate shard. This does not solve the problem because, again, if you have a seasonal event, it’s going to go into that particular shard. That is why it is important to subdivide it based on the other keys that you have.

Chapter 5: Measuring Speed – Tools and Metrics for Performance

Now that we have seen a quick recap, we started with why is latency important, why is being fast important. We saw a request journey. We saw a list of tradeoffs. Now, until we measure, we don’t know how good we are performing. That is why measuring things is really important. A measure could tell you how long things went well, or did not go well. Tracing will tell you why something happened. If you’re not having tracing, you are missing out on something, on identifying why the problem even happened. Tracing is very important. If you haven’t built it, it’s time to actually build this. There could be themes, with the teams coming up saying, “My Redis is failing. My DB looks fine, but my cache calls are failing.” How are we figuring out all of these things? Only because we have tracing built. You are able to take just the unique ID, look through the complete request, and see where exactly the problem has happened.

If you are able to identify, that’s because you have tracing built in. Let’s move on to having SLOs. Before maybe going into SLOs, I want to touch base on SLIs, service level indicators. They are like direct metric information. Let’s say you are getting 100k requests per second. Then let’s say around 95k requests have succeeded, and the remaining 5k were not successful. This 95% is your success rate, or your application’s availability is just 95%. The same thing, you could track for your error rates, you could track for a specific error also. You have that specific downstream, you can tie it based on the feedback system, what is the availability of the feedback system. All of those things could be done. You could also have measures like, how many of my requests is responding well within 200 milliseconds? If the number was 99.8, then that is the time that you have done it.

How do we tie this to a goal? That’s where SLO comes in, service level objective. Let’s say you want to make sure in a 30-day period, I want the availability of my system to be 99.9. Then that is your SLO. What happens when you set this up? You are going to be alerted. The team is going to be alerted. The leaders are going to know, when an SLO, the buffer, the time that you had, if you’re utilizing that buffer in a week, which you had set for a month, then it is time to pause on all your velocity works that you’re doing, and first fix the system. Did I make a wrong judgment about the SLO? My SLO number itself, did I do a mistake in configuring that, or should I go back and check my application service? Check the path, where is it going wrong?

Has it been happening consistently? Then there is something to do about it. Then there is some refactoring which needs to be done. There is no one solution which can fix it. You have to do small things at every journey to make sure that you’re getting it right. This is where SLO is very helpful. Thread pool observability. We saw about thread pools and the importance of thread pool. Now, if we don’t have an observability dashboard, you are not going to know whether your queue is getting built up. Am I getting an alert for it? Setting up alerts, before that, you need a dashboard. We need dashboards for active threads. What is my queue size? What is a completed task count? Then, what is my rejection rate? If I have information for all of these, then it’s helpful for me to fine-tune during the next iteration.

Chapter 6: Culture and Future – Building a Performance-First Mindset

Now that we have seen about how we could measure, how we could fix it, we have seen a lot about technical things going wrong, technical aspects going wrong. Now it is time to look at the human side of things. What is within our control? What can we do as a team to get this done? That’s where culture comes into picture. During planning, are we talking about SLA? Are we talking about latency? Are we talking about what is our goal? During retrospective, did we talk about the last incident which happened? What was the last issue where you had to come back online and check things on a weekend? Did you have to spend your night over it? What was that incident? Are we discussing it as a team? Are we trying to fix our dashboards? Are we trying to fix our alerts? I know that teams set up alerts only in Slack, and your Slack thread is filled up with all these alert messages, nobody is looking into it.

Are we looking into that? These are things collectively which a team needs to take up, like during your planning session, during your retrospective. This is nothing but performance and review. What are some of the anti-patterns which we need to avoid? Considering staging data. Let’s say you’re doing a load test in staging and taking that number for your production. That’s no way the same. Your environment in your lower region is not the same as what you’re doing in production. Do not take that as a benchmark. If you’re going live, maybe start with 1%, 2% traffic. Or even better, start it with traffic mirroring, if that is allowed. You mirror your traffic and see whether your new flow that you’ve added is performing at the same level as earlier in production. Is it delaying your latency? Is there something that you need to restructure? The other things could be synchronous logging, where you’re logging too much information.

What is the future holding for us? There are a lot of things, like capabilities around adaptive routing where routing could be done to regions which are having less traffic. AI-assisted predictions, you can have models to predict, this is the hot cache. Make sure you can warm it up beforehand. You can use predictive warming. Edge-native executions, all of these are in the future.

The 48-Hour Playbook

Let me give you some information which you could try before the weekend. When you go back, what could you do? Choose a simple flow in your application, from end to end. Note it down. Work with your lead. Is there any journey that could be removed? Is there any duplicate logic? I’ve also seen these patterns when I’m reviewing code between the teams. If there is a dependency X, and you have three flows, like A is calling B, B is calling C. You always have this X which is getting called in all the flows. You tend to have that one service which everybody wants. What do we go about it? Is there anything that you can do about changing it? These are all things that you can check. Now, instrument it, and budget. You’ll note down what is the graph. If you don’t have a p99 dashboard, create one.

Note down what was the current latency. If it is at 500, yes, note it down. Look at the different junctions, your paths. Note down what each path has taken up. Now, where do you want to go from here? What is your budget? Cap it. Make improvements. Remove that unnecessary call. Rephrase it. Add thread pools. Parallelize it, if it’s possible. Add cache if it’s not there. Do all of these things, and take a result out of it. Run an L&P and take a result out of it. Now you can check the before and after metrics. I would like to leave with one quote. We are what we repeatedly do, so excellence is not an act, but a habit. I hope we inculcate that as a habit.

Questions and Answers

Participant 1: With regards to p95 and p99, what are they? Is it percentile?

Saranya Vedagiri: Yes.

Participant 2: I have one question around serialization and that you mentioned that we should clear up if it is not required. How do we measure the cost between clearing up the data before it gets serialized and to be returned versus just sending the entire data and then hoping that it will work?

Saranya Vedagiri: This is where your logging is helpful. Let’s say you’re calling x downstream service and you have the log from your application level and you also have the logging from your downstream. They will tell you, I received the request at 10, I returned back at 10, 10, or whatever, that milliseconds. In your logging, you would have not got the time that they had mentioned, so look at that. There is a buffer in between. Is that adding up, between what they say as they have sent to what you have received? There can be only a certain buffer for your network. If you are seeing a 50 milliseconds difference, then there is something going wrong. Is it your queue or is it your size? There is no one direct indicator, but it could be either of these two things.

See more presentations with transcripts

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 Shares Trade Above $323 Pivot Ahead of Dec. 1 Earnings | TokenPost

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

MongoDB (MDB) traded above its $323.23 pivot Friday morning while remaining below its 50-day moving average, leaving the stock between short-term recovery levels and a longer-term resistance marker ahead of its Dec. 1 earnings report.

The stock was at $327.02 at 4:35 a.m. ET (09:35 UTC) Nov. 27, up 3.88% over 24 hours. Its trading range during that period was $314.19 to $328.47.

MDB was above its seven-day average of $308.47, 20-day average of $316.19, 12-day exponential moving average of $313.05 and 26-day exponential moving average of $321.15. It remained below the 50-day simple moving average of $341.22.

Immediate resistance was $332.26, followed by stronger resistance at $337.51. Support stood at $317.98 and $308.95.

Momentum readings were mixed. The relative strength index was 52.42, while the moving average convergence divergence indicator was negative at -8.0978 with a flat histogram. Stochastic %K was 82.85.

The stock traded above its Bollinger middle band at $316.19 but below the upper band at $347, with a %B reading of 0.6758. Trading volume was 0.39 times the five-day average.

MongoDB plans to report third-quarter fiscal 2027 results after the U.S. market close Tuesday, Dec. 1, 2026. The company’s earnings call is scheduled for 5 p.m. ET (10 p.m. UTC) that day.

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 Price Prediction: $327 Pivot Holds as Earnings and Analyst Targets …

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

What moved MDB and why it matters

MongoDB (MDB) is trading in a recovery attempt, with the share price at $327.02 versus a 24-hour range of $314.19 to $328.47. The stock is back above the 7-day and 20-day moving averages, but it remains below the 50-day average at $341.22, which keeps the medium-term trend from fully repairing. The setup matters because MDB is approaching earnings on December 1, 2026, and that event can reset expectations quickly, especially when the chart is sitting near a pivot rather than in a clean breakout.

Technical structure: rebound, but not confirmation

The moving-average structure is labeled an oversold rebound attempt, which fits the current tape. MDB is trading above the 7-day SMA of $308.47, the 20-day SMA of $316.19, the 12-day EMA of $313.05, and the 26-day EMA of $321.15, but it is still below the 50-day SMA of $341.22. That creates a market where short-term momentum has improved, yet longer-term trend confirmation is still missing.

The key levels are well defined. Immediate resistance sits at $332.26, with stronger resistance at $337.51. On the downside, immediate support is $317.98 and strong support is $308.95. The pivot point at $323.23 is especially important because MDB is trading just above it, so a failure back below that area would weaken the rebound thesis quickly.

Momentum is mixed rather than decisive. RSI at 52.42 is neutral, MACD is negative at -8.0978 with a flat histogram, and stochastic %K at 82.85 shows the stock has already pushed into a more extended short-term zone. Bollinger positioning is constructive but not stretched enough to imply a clean breakout: price is above the middle band at $316.19, below the upper band at $347.00, and at a %B reading of 0.6758.

Volume does not yet confirm the move. Trading volume is running at 0.39x of the 5-day average, which points to a low-volume bounce rather than a broadly validated shift in trend. In practical terms, MDB can keep grinding higher, but the move is easier to fade if buyers fail to expand participation above the first resistance band.

Derivatives lean slightly constructive, but not aggressively

Binance Futures data shows neutral funding at 0.0000%, so there is no obvious leverage imbalance forcing the move. Open interest is 316.69 contracts, with daily open interest value at $72,025 and a 24-hour open interest change of -7.63%, which suggests position closing or liquidations rather than fresh aggressive buildup.

The positioning ratios lean mildly bullish. Binance global accounts show 53.6% long versus 46.4% short, while top-trader accounts are more tilted long at 59.3% versus 40.7%. The taker buy/sell ratio of 1.7202 also points to stronger aggressive buying than selling over the 1-hour window. That said, these are derivatives signals, not proof of durable equity demand, and they should be read alongside the weak volume backdrop on the spot-equity side.

Analyst targets and event risk

Analyst coverage is supportive, but it is not a substitute for price confirmation. StockAnalysis, citing 41 analysts, shows a consensus Buy rating with an average price target of $449.13, with a low target of $335 and a high of $560. Benzinga also reports a consensus price target of $454.75. Recent notes have kept the bullish framing intact: RBC reiterated Outperform and a $465 target ahead of earnings, tied to roughly 10x CY27E revenue and the view that MongoDB can remain a preferred database provider for GenAI and agentic AI applications. Wells Fargo assigned a Buy rating and a $475 target, pointing to customer survey results that suggested ongoing demand for MongoDB’s cloud platform.

The near-term catalyst is dated: MongoDB will report third-quarter fiscal 2027 results after the U.S. market close on Tuesday, December 1, 2026, with the call at 5:00 p.m. ET. That timing matters because the current chart is sitting between support and resistance, so earnings can either validate the rebound or send MDB back toward the low-$310s.

Conditional setup

If MDB can reclaim $332.26 and then push through $337.51 on better participation, the chart opens room toward the 50-day moving average at $341.22 and then the upper Bollinger band at $347.00. If it loses $317.98, the first test is $308.95, and a break there would undercut the rebound structure and put the stock back into a weaker technical posture ahead of earnings.

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.

Article: Engineering Reliable Telematics from Smartphone Sensors

MMS Founder
MMS • Praveen Kumar Gopalakrishnan
Article originally posted on InfoQ. Visit InfoQ

Key Takeaways

  • Smartphone GPS, motion sensors, and vehicle interfaces can each report valid measurements that produce incorrect results when combined without accounting for timing and coordinate frames.
  • Preserve raw observations and their provenance before synchronizing, transforming, or normalizing them.
  • Introduce a quality gate that determines whether telemetry is suitable for a particular decision instead of forcing every observation into a definitive result.
  • Design for real-world conditions, including delayed GPS updates, phone movement, background interruptions, and intermittent connectivity.
  • Monitor data quality alongside conventional application and infrastructure metrics because a functioning pipeline can still produce unreliable driving events.

Why this matters: the phone is not the vehicle

A smartphone can provide a surprising amount of information about a journey, including GPS estimates location and speed, accelerometers measure motion along the device’s axes, gyroscopes capture rotation, and others. A connected vehicle may expose additional signals, such as speed, engine state, or diagnostic information.

Combining these sources creates opportunities for fleet monitoring, usage-based insurance, driving-behavior analysis, trip reconstruction, and connected mobility services.

However, having more sensors does not automatically produce better telemetry.

In fact, a GPS update may arrive after a vehicle has already slowed down. A phone may rotate in its mount, changing how its accelerometer readings relate to the vehicle’s movement. An application may pause collection when the operating system restricts background activity. A backend service may receive observations out of order after a device reconnects.

Each observation may look reasonable in isolation, but the problem appears when the system combines observations that do not describe the same moment, coordinate frame, or physical event.

I would approach this as an architectural problem before treating it as a sensor-processing problem. The goal is not to make every sensor perfect. It is to build a system that understands the limitations of its inputs and prevents unsuitable evidence from silently becoming a business decision.

This distinction matters because a misleading telemetry event can have consequences beyond an inaccurate chart. It may influence a driver’s score, trigger a fleet alert, affect an insurance calculation, or lead an operations team to investigate an event that never happened as represented.

Who should read this, and what will they gain?

For architects, the challenge is deciding where sensor collection, normalization, quality evaluation, and event detection belong and what contracts connect those stages.

For mobile engineers, the concern is preserving useful observations despite changing device orientation, sampling gaps, intermittent connectivity, and operating-system lifecycle behavior.

For streaming and data engineers, the problem includes delayed events, out-of-order delivery, duplicate observations, and reconciling streams that operate at different sampling rates.

For product and operations teams, the question is how to distinguish a confident event from one that needs further evidence or should not be reported at all.

The practical outcome is a design approach that makes data limitations visible, keeps event logic separate from data-quality decisions, and provides evidence that can be inspected when a result is challenged.

How this architecture took shape

I arrived at this architecture by tracing the journey of a telemetry observation from the moment it is captured to the point at which an application uses it to make a decision. Rather than starting with a sensor-fusion algorithm, I considered what could go wrong at each step. A speed measurement could be delayed, two observations could represent different moments, a phone’s orientation could change, or an operating system interruption could leave gaps in the collected data. Each problem affects a different part of the processing flow, but all can ultimately influence the same business decision.

This led me to identify the responsibilities that a reliable pipeline needs to address independently: preserving the original measurements, establishing their temporal relationship, interpreting them in a consistent reference frame, evaluating their quality, detecting events, and retaining the evidence behind the resulting decisions. These responsibilities form the six logical stages described below. The intent is not to prescribe a particular deployment topology, but to establish clear architectural boundaries so that uncertainty introduced at one stage does not silently propagate into the next.

Start with the architecture, not the algorithm

I prefer to separate raw measurement collection from interpretation. Requirements such as detecting harsh braking, classifying trips, or calculating a driving score should not dictate how raw observations are represented.

A practical architecture has six logical stages, as the following image shows. They do not need to be six separately deployed services, as several can run within the same mobile application. The separation into six stages matters because each stage has a distinct responsibility, failure modes, and validation requirements. In the next sections, we are going to review all these stages in detail.

Figure 1. A quality-aware mobile telematics pipeline (Source: created by the author)

1. Collect and preserve raw observations

Start by retaining the original observation before applying transformations.

A record should carry the value and its unit, source or sensor type, measurement timestamp, available arrival timestamp, and relevant metadata. Depending on the source, that metadata might include accuracy estimates, sensor sampling information, device identifiers, or the vehicle association.

Why preserve the original? Because a later transformation may be incorrect, an assumption may change, or an event may be disputed. If the system retains only its normalized output, engineers may be unable to determine whether the original observation was poor or the transformation introduced the error.

For example, suppose an application converts a GPS speed reading into a standardized unit and later combines it with vehicle speed. If an event looks implausible, the engineering team should be able to inspect the original value, its timestamp, and the conversion applied to it.

Preservation does not mean keeping every field forever, since retention, privacy, security, and storage policies still apply. It means defining which evidence is needed for diagnosis and traceability before transformations discard it.

2. Establish temporal alignment

Sensor streams do not necessarily report at the same frequency or on the same schedule. A vehicle interface may produce frequent speed updates while GPS observations arrive less often. Mobile and backend components may also introduce different buffering and delivery delays.

The first distinction I make is between measurement time and arrival time.

Measurement time describes when the observation was captured, according to its source clock. Arrival time describes when a component received it. Arrival time is useful for understanding latency, but it is not a safe substitute for measurement time when reconstructing physical events.

A stream processor that compares the latest values received from two sources can accidentally compare different moments. This becomes especially problematic during rapid acceleration, braking, or turning, when the underlying state changes quickly.

The architecture should therefore define an alignment policy. It needs to specify how observations are matched, how much temporal separation is acceptable for each use case, and what happens when the system cannot find a suitable match.

Interpolation may be appropriate for some continuous signals, but it should not be applied indiscriminately. It can create a plausible-looking value where the evidence is sparse, and it may obscure a sharp change. The system should retain whether a value was directly measured, interpolated, or otherwise estimated.

When alignment cannot be established within the required tolerance, the right result may be lower confidence or no event at all.

3. Normalize coordinate frames and measurement semantics

A measurement’s value is only part of its meaning. Its unit, coordinate frame, source, and interpretation matter just as much.

A phone’s accelerometer reports motion in device coordinates. Those axes are attached to the phone, not inherently to the vehicle. If the phone rotates in a mount, the relationship between the phone’s axes and the vehicle’s forward, lateral, and vertical directions changes.

A system that assumes the phone is always mounted in the same orientation can interpret device movement as vehicle movement. That can distort acceleration, braking, and turning estimates.

Normalization should make these assumptions explicit. It may include unit conversion, coordinate transformation, sensor calibration, and checks on the validity of orientation estimates. A transformed observation should retain enough information to identify the transformation and its assumptions.

The system must also distinguish coordinate normalization from measurement quality. A transformation can be mathematically correct but based on an uncertain orientation estimate. The result may therefore remain unsuitable for a particular event calculation.

4. Evaluate data quality before accepting a measurement

At this stage, the system asks a different question: not simply whether a value exists, but whether it is fit for the intended use.

Useful checks include freshness, timestamp alignment, missing samples, source consistency, measurement uncertainty, and the reliability of any required coordinate transformation.

These checks should not be buried inside individual event rules. A shared quality stage gives different event detectors a consistent view of the evidence and makes quality decisions easier to monitor and test.

I would use three broad outcomes:

  • Accept: The observation meets the requirements for the intended calculation.
  • Degrade: The observation remains useful, but the system should limit its use or communicate reduced confidence.
  • Abstain: The available evidence does not support a decision that is reliable enough for the intended use.

These are not universal labels with fixed thresholds. A GPS observation might be adequate for a coarse trip map but unsuitable for calculating a short, sharp braking event. Quality must be evaluated in context.

5. Detect events using qualified evidence

Event detection should consume measurements that have already passed through the relevant quality checks.

This does not mean every event requires every sensor. A trip-start detector and a harsh-braking detector have different evidence requirements. The architecture should allow each detector to declare what it needs and how it handles missing or uncertain inputs.

Consider a braking detector that combines vehicle speed and GPS speed. If the two values refer to different moments, the detector may infer a rate of deceleration that is not supported by the underlying movement. A quality-aware design prevents the detector from treating a poor match as equivalent to aligned observations.

The detector should also distinguish the event’s classification from the quality of its evidence. An event may be a candidate for further review rather than a definitive result. Keeping these concepts separate makes the system easier to tune without changing the meaning of quality checks throughout the pipeline.

6. Produce a decision with supporting evidence

The final stage produces more than an event label.

A useful event record can include the event type, event time or interval, relevant vehicle or trip association, quality status, supporting observations, and the processing-rule version. Where a confidence estimate is used, its meaning and limitations should be documented rather than treating it as a universal probability of correctness.

This information makes a decision inspectable. An engineer can trace an event to the observations that supported it, see whether any measurements were downgraded, and understand which processing logic was applied.

It also helps separate two questions that are often conflated: “What did the system decide?” and “What evidence justified that decision?”

These six stages form one continuous data path. Raw preservation protects the evidence; temporal alignment and normalization make observations comparable; the quality gate determines their suitability; event detection applies the domain logic; and the final record explains the result.

How the six stages work together

The value of this architecture comes from the boundaries between stages.

  • If the phone and vehicle speed measurements disagree, temporal alignment checks whether they describe comparable moments.
  • If a phone rotates, normalization identifies that the relationship between device axes and vehicle axes has changed.
  • If the available evidence remains insufficient, the quality gate prevents the uncertainty from disappearing.
  • The event detector uses only evidence that meets the requirements for its task.
  • The final output retains enough provenance and quality information to support investigation and improvement.

This is deliberately more than a sensor-fusion algorithm. It is a contract for how imperfect physical observations become software decisions.

The principle is straightforward: preserve what was measured, establish what it means, evaluate whether it is fit for use, and only then act on it.

Real-world example 1: The phantom braking event

Imagine a fleet operator whose mobile application scores driving behavior. Drivers receive alerts for harsh braking, and fleet managers use the events to identify potentially risky patterns.

One morning, a driver approaches a traffic light and brakes normally. The smartphone collects GPS-derived speed while the vehicle interface reports speed independently. The backend later records a harsh-braking event.

The driver disputes the alert. The vehicle did slow down, but not as abruptly as the application claims.

The engineering team examines the processing flow and discovers that the phone and vehicle streams were paired by arrival order. GPS updates were less frequent, and one observation represented an earlier point in the journey. During deceleration, the system compared that older speed estimate with a more recent vehicle measurement.

The discrepancy looked like physical behavior. Part of it was actually a timing problem.

The pipeline had accepted both values because they were syntactically valid. It had no mechanism to establish whether they were temporally comparable.

Figure 2. How a timing mismatch can create a misleading event (Source: created by the author)

What changes?

The team introduces a temporal-alignment stage before event detection. Each observation retains its measurement timestamp, while arrival time is tracked separately. The pipeline evaluates the freshness of each observation and avoids comparing streams when timing uncertainty exceeds the application’s defined tolerance.

The detector also stops treating every speed discrepancy as equivalent. When the measurements are not sufficiently aligned, it lowers confidence or abstains from generating a definitive event.

The team adds monitoring for timestamp offsets, stale observations, alignment failures, and event reclassification. These metrics help distinguish a change in driving behavior from a change in data quality.

This approach does not guarantee that every braking event will be classified correctly. It gives engineers a way to identify a measurement-comparison problem before treating it as driver behavior.

The same pattern applies to fleet diagnostics, trip reconstruction, usage-based insurance, and connected-vehicle analytics.

The lesson: before interpreting disagreement between sensors as physical behavior, establish whether the measurements are temporally comparable.

Coordinate frames: accurate measurements can still mean the wrong thing

Time alignment does not solve the second major problem: orientation.

An accelerometer measures along the device’s axes. A vehicle-relative interpretation assumes that the system knows how those axes relate to the vehicle. If the phone rotates, that relationship changes.

The gyroscope can help estimate rotation, and sensor-fusion algorithms can estimate orientation. Neither eliminates uncertainty automatically. Estimates may drift, the initial orientation may be unknown, and the phone can move independently of the vehicle.

A field named longitudinalAcceleration can therefore be misleading if it was calculated from device-relative measurements while the phone’s orientation was uncertain.

The architecture should distinguish raw device-frame measurements from transformed estimates and preserve the assumptions behind each transformation.

Real-world example 2: The phone moves, but the vehicle does not turn

Consider a mobile telematics application that detects cornering and sudden lateral movement using the phone’s accelerometer and gyroscope.

A driver starts a journey with the phone secured in a horizontal dashboard mount. The application estimates orientation and interprets motion relative to the vehicle. Later, the mount loosens on a rough road, and the phone rotates. The driver continues straight.

The application detects apparent lateral movement and records an aggressive-turning event.

The sensor values changed, but the physical interpretation was wrong. The device’s orientation changed, so the relationship between its axes and the vehicle’s direction of travel was no longer the same.

This problem is easy to miss when testing only with a phone mounted in a fixed position. The algorithm may perform well in a controlled setup and fail when users reposition the phone, adjust the mount, or carry it during a trip.

Figure 3. The device frame is not automatically the vehicle frame (Source: created by the author)

What changes?

The team makes orientation confidence an explicit input to event detection. Raw accelerometer and gyroscope observations are preserved, while transformed measurements carry metadata describing the estimated reference frame and the confidence in that transformation.

The detector no longer assumes that one phone orientation remains valid for the entire journey. It monitors orientation changes and identifies periods when the relationship between the device and vehicle is uncertain.

When orientation is reliable, the application can use transformed measurements according to its validated detection policy. When confidence falls, it can rely on other trustworthy evidence, reduce the confidence of the event, or abstain from making a definitive classification.

The team tests deliberate phone rotations, loose mounts, different mounting positions, and periods when orientation cannot be estimated reliably. It measures false positives and false negatives against a defined reference rather than assuming that a more sophisticated algorithm automatically improves accuracy.

This also improves the user experience. Instead of penalizing a driver for an uncertain observation, the application can indicate that it could not classify the event reliably.

The lesson: sensor accuracy and interpretation accuracy are different things. A sensor can report its measurement correctly while the application assigns that measurement the wrong physical meaning.

The same principle applies to phone-based activity recognition, wearable devices, robotics, and industrial IoT.

The quality gate: a contract between sensors and business logic

The quality gate is the fourth stage in the architecture, but its responsibility extends beyond checking whether sensor values look reasonable. It determines whether the available measurements are reliable enough for the specific decision an application intends to make.

The preceding stages preserve observations, establish temporal relationships, and normalize their measurement semantics. However, even after these steps, the resulting measurements may still contain uncertainty, missing samples, or inconsistencies. Without an explicit quality evaluation, individual event detectors must handle these conditions independently, often using different assumptions and fallback rules. This can lead to inconsistent decisions across the application.

I consider the quality gate a contract between the telemetry pipeline and the business logic that consumes its output. It makes the limitations of the available evidence explicit and defines what downstream components are permitted to do with it.

This section explores three aspects of that contract: why measurement quality must be evaluated in the context of the intended decision, how the system should distinguish between accepting, degrading, and abstaining from a result, and why abstention should be treated as a legitimate outcome rather than a processing failure.

Quality depends on the decision

Suppose a fleet application supports two functions: displaying the approximate route of a trip and identifying a short, aggressive braking maneuver.

The route display may tolerate a less frequent location update. The braking detector needs evidence that is sufficiently aligned in time and suitable for estimating a rapid change in speed.

Using the same universal threshold for both functions can be unnecessarily restrictive for one and dangerously permissive for the other.

Instead, each consumer should declare its requirements. The quality gate evaluates the observation against those requirements and communicates the outcome.

This approach also makes product trade-offs explicit. If a team wants more events at the expense of accepting weaker evidence, that decision becomes a documented policy choice that can be evaluated—not an accidental consequence of a permissive fallback in a detector.

Abstention is a valid result

Engineering teams often focus on maximizing the number of events detected. But a system that always returns an answer can create a false sense of certainty.

Abstention is useful when the evidence does not support the intended decision. It should not be treated as an exception that disappears into a log file.

The system should record why it abstained, whether additional data could resolve the uncertainty, and whether the decision needs to be revisited. For some use cases, waiting briefly for a delayed observation is reasonable. For others, the system may need to return an explicit “insufficient evidence” outcome.

This is especially important when events influence human decisions, scores, or downstream automation. A clearly identified lack of evidence is often more useful than a precise-looking result that cannot be defended.

Make data quality observable

A quality-aware architecture is only as good as the team’s ability to see it working. If the system records only the number of events generated, it becomes difficult to distinguish a genuine change in driving behavior from a change in sensor availability, application lifecycle, or processing logic.

I would monitor the quality pipeline alongside the business outcomes.

Useful operational signals include:

  • Freshness: How old are observations when a consumer uses them?
  • Temporal alignment: How far apart are measurements paired for the same calculation?
  • Sampling gaps: How often do expected observations go missing, and how long do gaps last?
  • Quality outcomes: What proportion of observations are accepted, degraded, or rejected, and for what reasons?
  • Orientation confidence: How often does an orientation-dependent calculation lack a sufficiently reliable transformation?
  • Event stability: How often are candidate events revised or reclassified after delayed observations arrive?
  • Processing latency: How long does it take from measurement to event decision, separately from the measurement’s age?
  • Provenance completeness: Can an event be traced to its supporting observations and processing-rule version?

These measurements should be segmented where useful by device type, operating-system version, sensor source, application version, and collection conditions. Otherwise, a system-wide average may conceal a failure affecting a particular group of devices.

I would also connect quality metrics to event outcomes. If the number of harsh-braking events suddenly rises, the team should be able to investigate whether driving behavior changed, timestamp skew increased, or a new application version altered sampling behavior.

This requires a distinction between technical metrics and business metrics. Event counts and driver scores tell us what the application concluded. Freshness, alignment, and rejection metrics help explain whether the evidence behind those conclusions changed.

Observability should support investigation, not just dashboards. Logs and event records need enough structured context to reconstruct a decision while respecting data-retention and privacy requirements.

Account for the mobile operating system

A smartphone sensor pipeline does not run in a perfectly controlled environment. Applications can move into the background, devices can enter power-saving modes, connectivity can disappear, and operating systems can constrain background execution.

The architecture should not assume that a requested sampling rate guarantees a continuous stream.

On the device, collection code should handle sensor unavailability, sampling gaps, lifecycle transitions, and local buffering. When connectivity returns, queued observations may arrive in a burst or out of order. The backend should therefore apply its temporal-alignment and duplicate-handling policies even when the data originated from a single phone.

The system should preserve the distinction between the time an observation was measured and the time it was uploaded. It should also make gaps visible rather than filling them silently with fabricated continuity.

Offline operation introduces another design decision: how much data to buffer and for how long. That depends on the product’s latency, privacy, storage, and battery constraints. Not every observation needs to be retained indefinitely, but the policy should be deliberate.

These concerns are not separate from sensor reliability. They determine whether the system has enough timely evidence to make a defensible decision.

Where to start: a practical implementation plan

I would not attempt to perfect every sensor or event detector at once. I would start with one high-impact event and establish a reliable path through the architecture.

  1. Preserve the evidence. Confirm that raw values, units, source identifiers, measurement timestamps, arrival timestamps, and relevant metadata are captured before transformation.
  2. Define the temporal contract. Document how observations are aligned, how stale data is handled, and what happens when a required measurement is missing or late.
  3. Make coordinate assumptions explicit. Identify which calculations depend on phone orientation, how transformations are established, and how uncertainty affects downstream use.
  4. Introduce a quality contract. Define accept, degrade, and abstain outcomes for one event type. Record reason codes so that quality failures can be distinguished from event-rule failures.
  5. Validate failure scenarios. Test delayed, missing, duplicated, out-of-order, and contradictory observations. Test phone rotations and changes in sensor availability, not only normal journeys.
  6. Instrument the pipeline. Track timestamp skew, data freshness, sampling gaps, quality outcomes, event revisions, and end-to-end latency.
  7. Expand incrementally. Once the chosen event has a defensible processing path, apply the same architectural contracts to other event types, adapting the quality requirements to each use case.

The goal is not to add complexity for its own sake. It is to discover where the system’s assumptions are hidden and make them explicit before those assumptions affect a business decision.

What this architecture does not solve

A quality-aware architecture makes sensor limitations and processing uncertainty explicit, but it does not eliminate them. Architects and developers should consider several limitations when applying this model.

It cannot recover missing evidence

The architecture can identify missing samples, stale observations, and unreliable measurements, but it cannot reconstruct physical events when evidence was never captured. Interpolation and estimation may help, but introduce assumptions and should not be treated as direct measurements. When evidence is insufficient, the system should communicate that limitation rather than manufacture continuity.

It does not replace algorithm validation

The six stages define architectural responsibilities, not specific sensor-fusion, calibration, or event-detection algorithms. Developers must validate these techniques against appropriate reference measurements and real-world conditions. A well-structured pipeline cannot compensate for an inaccurate orientation estimate or an incorrectly designed detection algorithm.

Quality thresholds are not universal

Freshness, timestamp tolerance, measurement uncertainty, and orientation confidence must be evaluated against the intended decision. Requirements for displaying a trip route differ from those for detecting harsh braking. Thresholds should be validated for each use case, and confidence scores should not be treated as universal probabilities of correctness.

Operational trade-offs remain

Background execution restrictions, battery consumption, connectivity, device diversity, and privacy influence what can be collected and processed. Teams must balance these constraints with evidence requirements and processing latency. They must also define how uncertain outcomes and abstentions are communicated and when additional data or manual review is appropriate.

Ultimately, this architecture is a framework for managing uncertainty, not a guarantee of perfect telemetry. Its effectiveness depends on sensor quality, validated algorithms, appropriate quality requirements, and continuous testing under real-world conditions.

Conclusion: reliability belongs to the pipeline

Smartphones make telematics more accessible by combining location, motion sensors, computing power, and connectivity in a single device. But the convenience comes with a trade-off: device placement varies, sampling behavior is managed by the mobile platform, and measurements have different timing and coordinate semantics.

The architectural response is to separate observation from interpretation. Preserve what the phone measured. Establish when and in what frame it was measured. Evaluate whether the evidence is suitable for the decision. Only then should business logic act on the result.

The phantom braking scenario shows why measurements from different sources must be temporally comparable. The rotated-phone scenario shows why device orientation must be treated as a variable rather than an assumption. Both demonstrate why a technically healthy pipeline can still produce an unreliable conclusion.

The distinction is simple: collecting telemetry produces data. Engineering reliable telemetry produces evidence that downstream systems can evaluate, qualify, and use responsibly.

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.

Barclays คงคำแนะนำ “ซื้อ” สำหรับหุ้น MongoDB (MDB.US) พร้อมปรับลดราคาเป้าหมายลงสู่ระดับ …

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

Operations too frequent.
Try again later

Page not found, please try again later.

Take me home

403

Services by Moomoo Technologies Inc.

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.

Budibase 4.0.0 Fixes 12 CVEs, Including Unauthenticated CVE-2026-137498 and CVE …

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

Status: Budibase released version 4.0.0 on 10 November 2026. On 26 November 2026 VulnCheck, acting as the CVE Numbering Authority (CNA), published 12 CVE records for flaws in the Budibase server that 4.0.0 fixes. Under CVSS 3.1, three are rated Critical, eight High and one Medium. The three Critical flaws are CVE-2026-137498 (10.0), CVE-2026-137499 (9.8) and CVE-2026-137494 (9.9). The first lets an unauthenticated user strip the filter from a PUBLIC MongoDB query and read, update or delete every document in the collection. The second lets an unauthenticated attacker take over a global Builder account that has no password, through single sign-on (SSO) account linking. The third lets a user with table write access read or delete other tenants’ files. No source we opened reports exploitation of any of the 12.

CVE-2026-137498 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137499 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137494 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137492 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137491 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137493 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137503 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137496 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137497 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137500 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137495 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

CVE-2026-137501 is not in CISA’s Known Exploited Vulnerabilities (KEV) catalog.

We read CISA catalogVersion 2026.11.25 (1,805 entries, released 2:48 p.m. EST on 25 November 2026) at 1:09 a.m. EST on 27 November 2026.

Executive Summary

Budibase describes itself as “AI agents, automations and apps that run your operations.” Teams use it to put apps, forms and automations on top of their own databases, object storage, spreadsheets and AI providers, so one Budibase server can reach a lot of business data and hold credentials for those systems (Rescana reading).

Three of the 12 flaws need no account at all (CVSS privileges required: none): CVE-2026-137498, CVE-2026-137499 and CVE-2026-137497, which returns legacy LiteLLM credentials to unauthenticated requests where they are configured. The records for two High flaws, CVE-2026-137491 (query injection) and CVE-2026-137493 (view bypass), also say anonymous users or visitors can reach them where queries or views are published. The rest need a logged in user, from a view reader up to a Creator, and break the boundaries between tables, views, workspaces and tenants.

Every record lists 4.0.0 as the first fixed version. Budibase’s 4.0.0 release notes on GitHub do not mention these security fixes or their CVE IDs, so the fixed version in this post comes from the CVE records. No source we opened gives a Budibase mitigation short of updating.

What to do first (Rescana guidance):

  • Update every self-hosted Budibase server to 4.0.0 or later. Version 4.1.0, released on 23 November 2026, was the latest release when we checked. Start with servers reachable from the internet and servers that publish public apps, public queries or use SSO.
  • Until you can update, take the PUBLIC role off MongoDB, ArangoDB and Snowflake queries and off views that do not need anonymous access, and keep the Budibase server behind a VPN or an authenticating proxy where its apps are not meant to be public.
  • After updating, rotate any legacy LiteLLM keys stored in Budibase, and review global Builder and admin accounts for SSO logins you cannot explain.

Technical Information

This section uses only the CVE records VulnCheck published on 26 November 2026, the NVD entries for them and Budibase’s release pages on GitHub. We describe the flaws at the level of the affected configuration and the fix. We do not describe an exploit, and we do not link or describe any public proof of concept.

All scores are VulnCheck’s, as CNA. Each record carries a CVSS 3.1 and a CVSS 4.0 score; severity words in this post follow CVSS 3.1. NVD lists all 12 as Received and shows only VulnCheck’s scores. In the Privileges column, PR:N, PR:L and PR:H are the CVSS 3.1 privileges required values (none, low, high), with the role the record names.

CVE Weakness Effect (CVE record) CVSS 3.1 CVSS 4.0 Privileges Affected
CVE-2026-137498 MongoDB query filter erasure through prototype pollution (CWE-943) Read, update or delete every document in the collection behind a PUBLIC MongoDB query 10.0 9.9 PR:N 3.39.18 to before 4.0.0
CVE-2026-137499 Authentication bypass through unverified email SSO linking (CWE-287) Takeover of password-less global Builder accounts 9.8 9.3 PR:N 3.41.0 to before 4.0.0
CVE-2026-137494 Broken object level authorization on attachment keys (CWE-639) Read or delete other tenants’ files in the shared apps bucket 9.9 8.5 PR:L (table write) Before 4.0.0
CVE-2026-137492 Authorization bypass on workspace backups (CWE-639) Download, import, change or delete other workspaces’ backups 8.8 8.7 PR:L (workspace builder) Before 4.0.0
CVE-2026-137491 AQL and SQL injection in ArangoDB and Snowflake queries (CWE-89) Read whole datasources, change or delete stored documents 8.1 8.6 PR:L; record also names anonymous users Before 4.0.0
CVE-2026-137493 Authorization bypass on view row routes (CWE-639) Whole base table instead of the view; full table unauthenticated through PUBLIC views 8.1 8.6 PR:L; record also names anonymous visitors 3.0.0 to before 4.0.0
CVE-2026-137503 JSON injection in S3 delete and Google Sheets query fields (CWE-943) Delete chosen S3 objects or override Sheets row columns 8.1 7.2 PR:L Before 4.0.0
CVE-2026-137496 Server-side template injection in row search (CWE-1336) Read SSO users’ OAuth2 access and refresh tokens, or denial of service 7.6 7.2 PR:L (table read) Before 4.0.0
CVE-2026-137497 Information disclosure in public settings (CWE-200) Legacy LiteLLM key ID and secret key returned without login 7.5 8.7 PR:N Before 4.0.0
CVE-2026-137500 Privilege escalation through invite code disclosure (CWE-266) Hijack invited identities up to global admin 7.2 8.6 PR:H (Creator or app builder) Before 4.0.0
CVE-2026-137495 Cross-table insecure direct object reference in bulk row delete (CWE-639) Delete rows in any workspace table, including workspace metadata 7.1 7.1 PR:L (table write) Before 4.0.0
CVE-2026-137501 View row filter bypass on single-row reads (CWE-639) Read hidden rows and their attachments in a filtered view 6.5 7.1 PR:L (view read) Before 4.0.0

CVE-2026-137498, PUBLIC MongoDB queries (CVSS 3.1 10.0). The record describes a prototype pollution flaw in Budibase Server from 3.39.18. When a MongoDB query is published with PUBLIC access and takes dynamic JSON input, an unauthenticated user can erase the query’s filter. The query then reads, updates or deletes every document in the collection. Only apps with a PUBLIC MongoDB query are exposed (Rescana reading).

CVE-2026-137499, SSO account takeover (CVSS 3.1 9.8). From 3.41.0, Budibase could link an OIDC or SSO login to an existing global Builder account that has no password even when the identity provider marked the email address as unverified. An attacker who can sign in at an identity provider Budibase trusts, and assert the victim’s email address there without verifying it, gets control of the victim’s account and, the record says, of all apps, datasources and automations it reaches. Servers without SSO, and Builder accounts that have a password, are outside the conditions the record describes (Rescana reading).

CVE-2026-137494, cross-tenant files (CVSS 3.1 9.9). Budibase did not check that a row’s attachments belonged to the user’s own tenant, so a user with table write access could read or delete other tenants’ files in the shared apps bucket. This matters most where several tenants share one Budibase deployment and one object storage bucket (Rescana reading).

CVE-2026-137497, legacy LiteLLM credentials (CVSS 3.1 7.5, CVSS 4.0 8.7). Before 4.0.0, the public settings endpoint returned the legacy LiteLLM key ID and secret key to unauthenticated requests, which lets anyone use the tenant’s LiteLLM resources. Updating stops the disclosure but does not change a key that was already read, so rotate it (Rescana guidance).

The other flaws. The table carries the detail. In short: two injection flaws in datasource queries (CVE-2026-137491 for ArangoDB and Snowflake, CVE-2026-137503 for S3 and Google Sheets); four authorization gaps between workspaces, tables and views (CVE-2026-137492 for backups, CVE-2026-137493 and the Medium CVE-2026-137501 for views, CVE-2026-137495 for bulk row deletion); a template injection in row search that runs JavaScript in Budibase’s isolated-vm sandbox and can read SSO users’ OAuth2 tokens (CVE-2026-137496); and an invite flaw that lets a non-admin Creator or app builder take over invited identities up to global admin (CVE-2026-137500).

Records. VulnCheck published the 12 records to CVE.org at 11:01 a.m. EST on 26 November 2026, and NVD received them at 11:17 a.m. EST to 11:18 a.m. EST. NVD has not added its own scores. We found no EPSS score for any of them. CVE-2026-137502, the one gap in the number range, has no published record. Budibase’s GitHub security advisories are cited in the records; we did not use them for this post.

Affected Product Versions

  • Affected: Budibase server before 4.0.0 for nine of the CVEs. CVE-2026-137493 affects 3.0.0 to before 4.0.0, CVE-2026-137498 affects 3.39.18 to before 4.0.0, and CVE-2026-137499 affects 3.41.0 to before 4.0.0.
  • Fixed: Budibase 4.0.0, released on 10 November 2026. Budibase has since released 4.0.1 and 4.1.0 (23 November 2026).
  • Release notes: the 4.0.0 notes list feature and dependency changes but none of these 12 security fixes. The fixed version comes from the CVE records.
  • Hosted Budibase: no source we opened says whether or when Budibase’s hosted service received these fixes. If you use it, ask Budibase (Rescana guidance).

How to Find Your Exposure

Rescana guidance:

  • List every self-hosted Budibase server you run, including test and staging copies, with its version. Anything below 4.0.0 is in scope.
  • Find the servers the internet can reach and the apps on them that are published to the public.
  • List queries and views with PUBLIC access. A PUBLIC MongoDB query on 3.39.18 or later is the CVE-2026-137498 case. PUBLIC ArangoDB or Snowflake queries match CVE-2026-137491, and PUBLIC views match CVE-2026-137493.
  • If you use OIDC or SSO, list global Builder and admin accounts that have no password, and check whether each identity provider Budibase trusts can issue unverified email addresses (CVE-2026-137499).
  • Check whether legacy LiteLLM credentials are configured in Budibase (CVE-2026-137497).
  • Check tenancy. If several tenants share one deployment and one object storage bucket, CVE-2026-137494 applies.

Workaround and Mitigation

The update is the fix, and the sources we opened publish no vendor workaround. Until you can update (Rescana guidance):

  • Remove the PUBLIC role from MongoDB, ArangoDB and Snowflake queries and from views that do not need anonymous access.
  • Restrict network access to the Budibase server to your network, a VPN or an authenticating proxy where its apps are not meant to be public.
  • Tighten SSO. Trust only identity providers you control that verify email addresses, and review password-less global Builder accounts, removing the ones you do not need.
  • Remove legacy LiteLLM credentials from Budibase if you no longer use them, and rotate them either way.
  • Limit write, builder and Creator roles to people who need them, since most of the High flaws start from those roles.

Indicators of Compromise

The sources we opened (the CVE records, NVD and Budibase’s release pages) publish no indicators of compromise for these flaws: no attacker addresses, no file hashes and no attribution. We list none. What to review (Rescana guidance):

  • MongoDB collections behind PUBLIC queries for mass reads, updates or deletions you cannot explain, since you moved to 3.39.18 or later.
  • SSO logins to existing global Builder accounts from identity provider accounts you do not recognize, since you moved to 3.41.0 or later.
  • LiteLLM usage under the Budibase key that does not match your own use.
  • Backup downloads, imports and deletions by builders of other workspaces, and accepted invites that the invited person did not accept.
  • If you find signs of use, rotate the datasource credentials Budibase holds, revoke SSO users’ OAuth2 tokens and replace LiteLLM keys.

Timeline (EST)

  • 10 November 2026, 11:40 a.m. EST: Budibase publishes version 4.0.0 on GitHub.
  • 23 November 2026, 3:20 a.m. EST: Budibase publishes version 4.1.0.
  • 25 November 2026, 2:48 p.m. EST: CISA releases KEV catalogVersion 2026.11.25 (1,805 entries); it lists no Budibase flaw.
  • 26 November 2026, 11:01 a.m. EST: VulnCheck publishes the 12 CVE records.
  • 26 November 2026, 11:17 a.m. EST to 11:18 a.m. EST: NVD receives the 12 records.
  • 27 November 2026, 1:06 a.m. EST to 1:12 a.m. EST: our checks of the CVE records, NVD, Budibase’s release pages, CISA KEV and the EPSS API.

Third-Party Risk (TPRM) Angle

Suppliers use Budibase to build internal tools, portals and approval flows on top of the systems that hold customer data. A supplier’s Budibase server from 3.39.18 to before 4.0.0 can expose that data without a login if it publishes a MongoDB query with PUBLIC access, and on 3.41.0 or later with SSO, takeover of a password-less global Builder account gives an attacker the supplier’s apps, datasources and automations (Rescana reading).

Questions that give a usable answer:

  • Do you run Budibase, self-hosted or hosted by Budibase, for any app that handles our data or that we depend on?
  • Which version is each self-hosted server on now? If it is below 4.0.0, on what date will it be updated?
  • Do any apps publish queries or views with PUBLIC access, and is the server reachable from the internet?
  • Do you use SSO with Budibase, and have you reviewed global Builder accounts and rotated any LiteLLM keys stored in Budibase?

Need help working out which suppliers run Budibase and how fast they patch? Our team can help you prioritize them and track their answers. Talk to an expert

Sources

We read every source below between 1:06 a.m. EST and 1:12 a.m. EST on 27 November 2026.

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.