Menu

Software Architecture and System Design News

Latest curated articles from top engineering blogs

NetflixUberMetaLinkedInSpotifyGitHubAirbnbPinterestSlackDropboxCloudflareStripeDatadogFigmaShopifyAWSGoogle CloudAzureWerner Vogels& 15+ more

417 articles

Dev.to #architecture·11h ago

Data Platform Strategy for AI Agents: Centralized vs. Decentralized Access

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.

Databases & StorageAI & ML Infrastructure
503807
MongoDB Blog·1d ago

Scaling an Agentic AI Assistant with a Unified Data Platform: A Case Study with MongoDB Atlas

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.

Databases & StorageAI & ML Infrastructure
614715
ByteByteGo·1d ago

Database Row Lifecycle: Internals of INSERT, UPDATE, DELETE Operations

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.

Databases & StorageDistributed Systems
544511
Martin Fowler·1d ago

Data Contracts for Robust Data Architectures

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.

Distributed SystemsAPI Design
734546
MongoDB Blog·1d ago

Simplifying Vector Search and Retrieval for AI Agents with MongoDB Atlas

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.

Databases & StorageAI & ML Infrastructure
776171
Medium #system-design·1d ago

GitHub's 2018 Database Outage: Lessons in MySQL Replication and Disaster Recovery

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.

Databases & StorageDistributed Systems
754817
ByteByteGo·22d ago

Understanding Database Amplification: Read, Write, and Space Costs

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.

Databases & StoragePerformance & Scaling
32420619
The Pragmatic Engineer·22d ago

Scaling Strategies at Slack and GitHub: Addressing Thundering Herds, Event Floods, and Database Sharding

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.

Performance & ScalingDistributed Systems
31621813
Dev.to #architecture·23d ago

Offline-First POS: Conflict Resolution and Data Consistency

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.

Distributed SystemsDatabases & Storage
25918115
ByteByteGo·23d ago

Anthropic's Scion: A Client-Server Source Control System for AI-Scale Monorepos

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.

Distributed SystemsDatabases & Storage
23515699
Medium #system-design·23d ago

PostgreSQL Heap Storage: Physical Data Organization and Retrieval for System Design

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.

Databases & StoragePerformance & Scaling
23516289
MongoDB Blog·23d ago

Building Durable AI Agent Memory and State with MongoDB ADK Integration

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.

Databases & StorageAI & ML Infrastructure
22614887