Loading…

MongoDB
Database technology company providing a document-oriented database and cloud data platform for application development.
- 160 posts summarised
- latest
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
From their blog
Latest articles
Data Modeling and Schema Design for MongoDB Search Part 2: Use Cases and Patterns
The post presents best practices for data modeling and schema design in MongoDB Search, covering use cases and patterns such as the Entity Pattern to guide developers in structuring collections for effective search. It emphasizes that searchable items, like movies, cast members, or genres, should be modeled as first-class documents in their own collections rather than as nested structures or ambiguous attributes. The Entity Pattern addresses ‘find anything anywhere’ and as-you-type suggestions by representing all domain entities as documents in a specialized collection with stable identifiers and a type field for filtering. The Attribute Pattern is explicitly discouraged for search because its key-value structure prevents type-sensitive field mapping, making it better to model attributes as straightforward fields. The post details a multi-indexing strategy on the name field that applies left-edge, phonetic, shingled, and language-agnostic analysis to enable flexible matching and relevancy scoring, with optional type-specific metadata nested in sub-documents.
Data-Driven, Interoperable Core Banking: A BIAN and MongoDB Perspective
Core banking modernization is hindered by semantic fragmentation, where the same banking concepts are defined differently across systems, creating duplicated logic and fragile integrations. The Banking Industry Architecture Network (BIAN) provides a shared semantic foundation by defining common banking domains, boundaries, and service interactions, enabling a composable architecture. MongoDB’s document model, using JSON as both storage and interchange format, allows banks to represent business domains flexibly and evolve incrementally without schema migrations, eliminating the ORM impedance mismatch. MongoDB ensures financial integrity through single-document atomicity for common ledger updates and multi-document ACID transactions for complex cross-domain workflows, while Change Streams enable event-driven operations. Together, BIAN and MongoDB create an operating model for continuous transformation, where teams modernize domain by domain, supported by a shared business language and a scalable, flexible data platform.
MongoDB Queryable Encryption: Prefix, Suffix, and Substring Queries Are Now GA
MongoDB announced general availability of prefix, suffix, and substring query support in Queryable Encryption, extending beyond equality and range queries to production workloads at no additional cost in Atlas, Enterprise Advanced, and Community Edition. These capabilities enable expressive text searches on encrypted data without decryption, with the database server never seeing plaintext during query processing. The open-source encryption scheme is independently verifiable, works without specialized hardware, and protects data at rest, in transit, and in use. The new query types enable partial-name lookups, autocomplete, and partial-word filtering on encrypted fields via the native query engine, requiring no external indexes or middleware. This helps meet HIPAA, PCI-DSS, and GDPR compliance by protecting data in use — a stage other encryption methods cannot cover — reducing audit gaps and eliminating workarounds.
MongoDB 9.0: This Is What a Database Should Be
MongoDB 9.0 is the most advanced release in MongoDB’s history, designed to eliminate the tradeoffs that force organizations to add infrastructure, compromise security, or rethink architecture as applications grow. Transactional workloads achieve up to 20% higher throughput compared to 8.0, with find-one queries up to 35% faster and update-one queries up to 30% faster, and large deployments see nearly 2x higher throughput. Queryable Encryption now supports prefix, suffix, and substring queries, enabling partial-match searches on encrypted data throughout its lifecycle. Intelligent Workload Management queues transient traffic spikes during overload to keep clusters responsive, buying time for auto-scaling or operator intervention. The release also includes redesigned Atlas Metrics UI, enhanced OpenTelemetry integration for streaming metrics to platforms like Datadog and Prometheus, and a MongoDB extension for Hibernate ORM to ease modernization.
Tag, You're It: Using MongoDB Labels To Drive DataDog Business Logic
MongoDB Atlas’s integration with DataDog now sends custom cluster-level labels as tags on DataDog metrics objects, allowing users to organize and categorize monitoring data in meaningful ways. Users define key-value labels in MongoDB at the cluster level using the Data API or configuration endpoints, and these labels automatically appear as tags in DataDog. These tags can filter metrics in the Metrics Explorer, group data for dashboards, and set alert priorities based on attributes such as environment, application, or region. For instance, tag-based monitors can trigger a P2 alert for production clusters exceeding query targeting thresholds while assigning lower priority to non-production clusters. This enhancement, available on Atlas M10 cluster tiers and higher, leverages existing MongoDB labeling infrastructure to improve observability and drive business-specific alerting and dashboarding logic.
How Atlas Agent Engine Powers MongoDB’s Internal AI Strategy
MongoDB announced the public preview of Atlas Agent Engine, a secure platform for building, deploying, and governing AI agents with built-in memory, retrieval, and open flexibility to choose any LLM or framework. The company validated the platform internally with Holly, a unified agentic workspace that replaces seven disconnected tools for sales reps and is powered by Atlas Agent Engine’s runtime, orchestration, and governance. Compared to manually hopping between tools, Holly cuts the time to research and build an outbound prospecting list by roughly 95%, reducing account prep from hours to minutes. Atlas Agent Engine enforces centralized controls and governance while granting developer autonomy, addressing CIO fears about agents running amok in enterprise systems. It is part of a trio of launches alongside MongoDB 9.0 and Atlas Infinite, giving builders a governed platform to run agents grounded in real-time operational data.
AI Demand is Constant, Unpredictable, and Extreme. MongoDB is Built for It.
AI-driven demand is constant, unpredictable, and extreme, unlike earlier internet and cloud eras where spikes were more predictable. Enterprises need a data layer that can absorb sudden bursts of traffic without re-architecture. MongoDB announced Atlas Infinite, a new deployment option within MongoDB Atlas that independently scales compute and storage within minutes. Atlas Infinite supports replica sets with 10x the data capacity of Atlas Core and delivers 189% more throughput per dollar in internal tests. MongoDB 9.0 was also released, offering up to 35% faster find-one queries and new security features like queryable encryption with prefix, suffix, and substring searches.
Building the Agentic Ecosystem: Partner Updates from MongoDB.local NYC
At MongoDB.local NYC, MongoDB launched Atlas Agent Engine in Public Preview, providing a single foundation for building, deploying, and governing AI agents. Six global systems integrators—Accenture, Capgemini, Cognizant, Infosys, TCS, and Tech Mahindra—are launch partners, integrating the engine into their AI offerings. The platform is model- and framework-neutral, with partners like Arize AI offering trace monitoring for production reliability. MongoDB also announced Devin for MongoDB Modernizations, leveraging Cognition’s AI software engineer to automate legacy code migration while AMP handles data movement. New partnerships with Emergent, Monk.io, and Retool extend MongoDB’s reach into AI application development and internal tools, reinforcing that the agentic era requires an ecosystem of partners with industry expertise.
Context Engineering Has a Retrieval Issue: Introducing rerank-3 and Native Reranking
AI agents require precise context retrieval, not larger windows, and MongoDB’s new Rerank-3 and Rerank-3-lite models outperform Cohere Rerank v4.0 Pro by 2.14% and Qwen3-Reranker-8B by 3.31% overall, with greatest improvements on long documents and code. The $rerank native aggregation stage rescores candidate sets index-free within MongoDB, while Automated Embedding generates and refreshes vectors near-real-time to prevent model version drift. This unified platform eliminates separate vendors and external API calls, supporting lexical, vector, and hybrid search directly against operational data without moving or syncing. The result is simpler retrieval architecture that improved Gravity’s accuracy and cut latency by roughly 50% by better discriminating between strong and weak matches. Retrieval quality forms one layer of MongoDB’s broader agent platform, which also includes performance scaling with Atlas Infinite and agent memory with Atlas Agent Engine.
The Intelligent Data Platform for the AI Era
MongoDB announced the largest platform expansion yet, including MongoDB 9.0, Atlas Infinite, and Atlas Agent Engine. MongoDB 9.0 delivers up to 2x higher throughput, 35% faster reads, and 30% faster updates over version 8.0. Atlas Infinite is a new deployment option that allows storage and compute to scale independently, with time to scale more than 96% faster and each shard holding 10x more storage. Atlas Agent Engine provides built-in memory, retrieval, identity, and governance for production agents, operating on the same data platform as operational data. The company argues that as AI moves from generating answers to taking actions, the data layer must provide live, fresh, and retrievable operational data rather than separate AI infrastructure.
Your Database Just Became Your AI Control Point
Agentic AI transforms the database from a passive record store into an active control point that serves real-time context and enforces policy at the moment an agent acts. According to IDC’s April 2026 survey of 715 organizations, 30% already run agentic AI in production and another 50% have established spending plans. Real-time data delivery is now baseline: 64.6% of enterprise use cases require real-time or near-real-time delivery, and 91.2% of streaming scenarios need end-to-end latency under 200 milliseconds. IDC identifies four requirements for agentic AI: a real-time operational foundation for unstructured data, elastic scale for bursty agent traffic, accurate always-current retrieval via integrated vector databases, and a governed runtime with durable memory and identity-bound policy. By 2029, IDC predicts 60% of enterprise data platforms will unify transactional and analytical workloads in hybrid processing architectures to power agentic AI.
Same Query, Same Score: Consistent Ranking with StableTfl in Atlas Search
Paginated search in Atlas Search can show duplicate or skipped results across pages because BM25 scores drift between replicas due to changing corpus statistics. The usual workarounds like sticky routing or index snapshots require extra state and are cumbersome. The solution is StableTfl, a scoring function that uses only term frequency and document length, with term length as a proxy for rarity based on Zipf’s brevity law, eliminating corpus statistics and requiring no extra state. StableTfl is contributed to Apache Lucene and is available as a per-field similarity option in Atlas Search. Benchmarks on BEIR show StableTfl achieves 0.315 NDCG@10 compared to BM25’s 0.346, a 9% relative drop, making it suitable for paginated search, RAG pipelines, and multi-replica deployments where consistency matters more than peak relevance.
How to test that a dozen MongoDB drivers, in a dozen languages, conform to a dozen specs
MongoDB develops a dozen native client library drivers in a dozen languages, each idiomatic to its language but needing consistent API behavior. Instead of relying on English specs or Cucumber tests, engineers created a YAML-based domain-specific test language interpreted by runners in each driver. The Unified Test Format, built on this YAML language, now contains nearly 1,500 files testing conformance to specs covering retries, transactions, client-side encryption, and more. A natural experiment showed four of five drivers had lower nonconformance bug rates after adopting YAML tests; Node.js improved after fixing its test runner. The IEEE ISSRE 2026 accepted a paper on this approach, which has saved over 22,000 lines of test-runner code across seven drivers.
Resilient Edge AI: Keeping Connected Vehicles Smart Offline
Connected vehicles face intermittent connectivity in tunnels, rural roads, and underground garages, yet drivers expect reliable AI assistance during those moments. The post argues that offline capability is a requirement, not a fallback, for trustworthy in-vehicle AI. It proposes three principles: design for the moment of need, treat vehicle knowledge as an evolving product asset, and separate availability from connectivity. A reference architecture uses ObjectBox for local persistence and synchronization with MongoDB Atlas, which provides the cloud foundation for shared knowledge and updates. The enduring pattern is to keep critical interactions available at the edge while using the cloud for scale, coordination, and continuity when connectivity returns.
From 2D Drawings to 3D Models: Designing an AI Reconstruction Pipeline on MongoDB
BIRD is a research framework that converts five 2D perspective drawings into a proportionate, dimensioned 3D building envelope. It uses a dual-branch CNN to separate architectural line segments from noise, a text recognition model to scale them to real-world inches, and a wrapping algorithm to fold the elevation views around the floor plan. The framework achieved a median accuracy of roughly 93% across complete building plan sets from small residences to a multi-story apartment complex. The proposed deployment on MongoDB Atlas stores each project as a single JSON document containing all drawings’ segments, corrections, and final geometry, with S3 for image storage and Atlas Stream Processing for event-driven workflow coordination. MongoDB Search and Vector Search with Voyage AI embeddings enable full-text and semantic search over past projects, allowing drafters to start from corrected models of similar builds.
Data Sovereignty by Design: Five Practical Evaluation Lenses for IT Leaders
Data sovereignty is a market expression, not a universal legal standard, and IT leaders should evaluate it through architecture and governance questions rather than a single label. The assessment covers where data resides, who can access it, how it moves, and whether control is retained, with considerations varying by jurisdiction, industry, and risk posture. Physical location is only one part of a broader control boundary that includes operations, key custody, and access paths. The article proposes five technical lenses for evaluation: jurisdiction-native data placement, in-use encryption, customer-held keys, network isolation and identity-based access, and forensic-grade audit evidence. These lenses are practical reference points for architecture decisions, not a legal test or certification checklist, and organizations should assess their own requirements with qualified counsel.
Supporting a DPDPA-Compliant Ecosystem in India with MongoDB
India’s Digital Personal Data Protection Act (DPDPA), made law in 2023 and enforced in 2025, requires organizations to implement technical controls for consent, access, security, retention, and deletion of personal data. Traditional relational architectures often fragment customer information across multiple tables and services, making it difficult to track consent or respond to correction and deletion requests. MongoDB’s capabilities, including its flexible document model, change streams, queryable encryption, and search, can help consolidate privacy-relevant data and context. The document model allows storing consent state, personal data, and security controls together, reducing fragmentation and simplifying auditability. MongoDB Atlas and Enterprise Advanced offer deployment options for fully managed or self-hosted environments to support privacy-by-design architectures.
Financial Crime Mitigation with MongoDB / Series Overview
Financial crime losses could exceed $2 trillion annually, and legacy systems—fragmented, batch-processed, and transaction-focused—cannot keep pace with modern, AI-powered attacks. MongoDB Atlas offers a unified platform that consolidates entity management, transaction monitoring, behavioral risk scoring, model management, and case management on a single flexible data foundation. Key capabilities include AI-driven entity resolution via Atlas Search’s $rankFusion, network analysis with $graphLookup, and hybrid detection combining rules with vector search. The platform enables real-time intelligence through Change Streams and Time Series Collections, allowing immediate action at the moment of decision instead of retrospective analysis. Organizations can either buy off-the-shelf solutions or build custom platforms on MongoDB, with the build approach offering rapid iteration, freedom from vendor constraints, and competitive differentiation.
Financial Crime Mitigation with MongoDB / Part I: Dynamic Customer Profile
This article is the first in a series on building a financial crime mitigation platform with MongoDB as a unified data platform, focusing on the customer onboarding stage. It outlines a three-step process: capturing prospective customer data into a dynamic profile, running candidate basic checks using hybrid search with the $rankFusion operator, and performing compliance verification via network graphs built with $graphLookup. MongoDB’s flexible data model aggregates structured and unstructured data from various sources, enabling a single customer view. The platform supports vectorized profile representations for similarity searches and clustering, all within one cluster without external search engines. The post concludes by noting that the next part will explore AI-enhanced due diligence processes.
Financial Crime Mitigation with MongoDB / Part III: Behavioral Risk Modeling for Event-Driven Fraud Detection
MongoDB’s document model and event-driven architecture support behavioral risk modeling for fraud detection in financial institutions. The platform combines rule-based policies with probabilistic reasoning, using change streams for real-time event processing and vector search for similarity assessment. MongoDB captures behavioral events like typing patterns and device IP addresses, aggregating them into dynamic customer profiles. Vector search compares incoming transactions against historical patterns, but it does not evaluate numerical data such as transaction amount, which requires traditional risk scoring. This approach reduces false positives and lowers total cost of ownership by minimizing manual intervention, while MongoDB’s flexible schema allows adding risk factors without downtime.
Topics they write about
All topics →Weekly digest
The best engineering reads, once a week.