Latest curated articles from top engineering blogs
417 articles
This article explores the evolving role of central data platforms in the age of AI agents, debating whether agents should access data directly from source systems or through a consolidated platform. It argues for maintaining a central platform for historical context, consistent identity, and managed meaning, while acknowledging a shift towards zero-copy integrations and semantic layers to support agentic AI workloads.
Piramal Finance successfully migrated from a fragmented multi-database architecture (PostgreSQL, pgVector, Neo4j) to a unified MongoDB Atlas platform to scale their internal agentic AI assistant for over 18,000 employees. This consolidation reduced operational overhead, eliminated data synchronization latencies, and improved performance for vector search, graph traversals, and access control. The flexible document model and built-in capabilities of MongoDB Atlas were key to simplifying the architecture and enhancing developer productivity.
This article delves into the internal mechanics of database row operations, specifically INSERT, UPDATE, and DELETE. It covers how databases manage memory, transaction logs, indexes, and old row versions to ensure consistency and durability. Understanding these processes is crucial for optimizing database performance and designing resilient data storage solutions.
Data contracts are a crucial concept for building robust, scalable data landscapes by defining explicit interfaces and guarantees for datasets. They apply API design principles to data, treating datasets as data-providing services to enhance reliability, trustworthiness, and autonomous consumption by both human and AI agents. This approach is essential for managing complexity in large-scale distributed data environments.
This article discusses new MongoDB Mastra integration features that simplify building retrieval-augmented generation (RAG) systems by consolidating previously disparate steps like embedding generation, hybrid search, and reranking into a single query. It highlights architectural improvements that eliminate the need for separate data copies and complex synchronization, thereby streamlining data retrieval workflows for AI agents built on MongoDB Atlas.
This article dissects GitHub's 2018 database outage, providing a critical case study on the complexities of MySQL replication, automatic failover, and disaster recovery. It highlights the hidden risks in highly available systems, specifically how a short network partition led to a prolonged recovery effort due to replication inconsistencies and tooling limitations.
This article delves into the concept of database amplification, differentiating between the logical work requested by an application and the actual physical work a storage system performs. It explains how read, write, and space amplifications impact database performance and resource utilization, using examples from B-trees and LSM trees. Understanding these amplifications is crucial for optimizing database designs and making informed architectural decisions.
This article discusses Maude Lemaire's experiences scaling large-scale systems at Slack and GitHub, highlighting practical challenges and solutions related to performance, load testing, and database architecture. It covers specific issues like thundering herds, event floods, and the implications of ORM usage on database load and sharding strategies.
This article discusses architectural decisions for building an offline-first Point-of-Sale (POS) system that maintains data consistency and operational resilience despite intermittent network connectivity. It highlights strategies for conflict resolution, idempotent transactions, and event-based stock management to ensure sales can continue uninterrupted and data merges cleanly once reconnected.
This article details how Anthropic redesigned their source control system, named Scion, to handle the extreme scale of AI-generated code in a monorepo. It highlights the architectural limitations of Git for such workloads and introduces Scion's client-server asymmetry, content-addressing for caching, and distributed data handling to manage massive change rates and checkouts. The article focuses on the design choices and trade-offs made to build a highly scalable and efficient version control system.
This article provides a visual deep dive into how PostgreSQL physically stores and retrieves data in its heap storage. Understanding this low-level mechanism is crucial for optimizing database performance, designing efficient data models, and diagnosing storage-related issues in system architecture. It covers concepts like page structure, tuple headers, and the impact of VACUUM on data integrity.
This article introduces the MongoDB Google ADK Integration, which provides robust data persistence for AI agents. It focuses on how MongoDB can be used to manage agent session state, long-term memory, and operational data retrieval, eliminating the need for separate databases and complex data synchronization pipelines. The integration simplifies the architecture for deploying scalable and context-aware AI agents from prototype to production.