Menu

Software Architecture and System Design News

Latest curated articles from top engineering blogs

NetflixUberMetaLinkedInSpotifyGitHubAirbnbPinterestSlackDropboxCloudflareStripeDatadogFigmaShopifyAWSGoogle CloudAzureWerner Vogels& 15+ more

389 articles

Cloudflare Blog·2h ago

Scaling Cloudflare D1: Architecture for Millions of Serverless SQLite Databases

This article delves into the system architecture behind Cloudflare D1, a managed serverless SQLite database, focusing on how its control plane is designed to scale to support millions of databases. It highlights the architectural shift from traditional large database clusters to a model of many small, user-specific databases, detailing the principles and components that enable this massive scalability while maintaining performance at the edge.

Databases & StorageDistributed Systems
211689
Dev.to #architecture·2h ago

Achieving Zero RPO and Sub-Second RTO with Active-Active Distributed Sagas

This article explores the architectural shift from active-passive to multi-region active-active topologies for mission-critical banking systems, focusing on distributed sagas and SQL databases. It details how to achieve zero RPO and sub-second RTO by leveraging synchronous consensus and resilient orchestrators like Temporal, addressing the mathematical trade-offs between latency and availability.

Distributed SystemsPerformance & Scaling
261302
InfoQ Architecture·1d ago

Lakehouse Data Layout Strategies: Benchmarking Liquid Clustering, ZOrder, and Partitioning

This article benchmarks different data layout strategies for Delta Lake lakehouse analytical systems: Partitioning, ZOrdering, and Liquid Clustering. It highlights that no single strategy is universally optimal, and the best choice depends on specific query patterns, impacting both cost and latency. The analysis provides practical recommendations and a decision framework for optimizing data access.

Databases & StoragePerformance & Scaling
14810135
Dev.to #architecture·1d ago

Designing a Foundation for Enterprise SQL Server ERP Systems

This article introduces ApexLedger ERP, a pre-built SQL Server database foundation aimed at standardizing common ERP functionalities like inventory, sales, general ledger, and role-based access control. It highlights the structured approach to database design, including tables, indexes, DML triggers for real-time stock management, and audit logging, which are critical elements in enterprise system architecture.

Databases & StorageDistributed Systems
14410280
Dev.to #systemdesign·2d ago

Optimizing Google Maps API Costs with a Two-Layer Caching Strategy

This article details a banking app's engineering decision to reduce Google Maps API costs and improve latency by implementing a two-layer caching strategy. The solution involves an internal database for persistent storage of map data and Redis for fast lookups of frequently accessed, fresh information, carefully balancing cost reduction with data freshness and compliance.

Performance & ScalingDatabases & Storage
14210140
AWS Architecture Blog·3d ago

Architecting Highly Available Oracle Databases on AWS with EVS and FSx for ONTAP

This article outlines a robust architecture for deploying highly available Oracle databases on AWS using Amazon Elastic VMware Service (EVS) and Amazon FSx for NetApp ONTAP. It details how to achieve sub-millisecond storage latency, cross-region disaster recovery, and integrate with existing VMware operational workflows, focusing on storage, compute, and networking considerations. The design emphasizes a hybrid storage approach using vSAN for ephemeral data and FSx for ONTAP for persistent, replicated database volumes.

Databases & StorageCloud & Infrastructure
17910489
Medium #system-design·3d ago

Database Internals for Portfolio Recommendation Apps

This article delves into the system design of a portfolio recommendation application, specifically focusing on how a single database can serve multiple roles: operational store, data lake, and data warehouse. It explores the architectural implications and internal mechanisms required to achieve this multi-purpose database utilization.

Databases & StorageDistributed Systems
16810571
AWS Architecture Blog·3d ago

Deploying Highly Available Oracle Databases on AWS with FSx for ONTAP

This article details the step-by-step deployment of Oracle Database on Amazon Elastic VMware Service (EVS) using Amazon FSx for NetApp ONTAP as NFS datastore storage. It focuses on practical implementation procedures for provisioning VMs, configuring storage, installing Oracle 19c, and setting up SnapMirror for cross-region disaster recovery. While the article is highly procedural, it touches upon underlying architectural decisions, such as storage sizing and high availability considerations, by referencing a related architectural planning post.

Databases & StorageCloud & Infrastructure
16711126
Dev.to #architecture·4d ago

Designing Reliable Job Retries with Queues vs. Database Polling

This article explores architectural decisions for handling failed jobs, specifically reservation expiry in a healthtech context. It compares using a message queue with a Dead-Letter Queue (DLQ) and redrive mechanisms against a manual database polling approach. The core trade-off revolves around latency requirements, operational costs, and the complexity of ensuring idempotency, backoff, and poison-message handling.

Distributed SystemsDatabases & Storage
1298403
Airbnb Engineering·5d ago

Database Workload Capture and Replay System for Scalability and Compatibility

Airbnb developed a robust system to capture and replay real production database workloads. This system addresses critical challenges like capacity planning, de-risking database upgrades, and performance debugging by simulating production traffic in test environments. By leveraging ProxySQL as a client-agnostic capture point, the architecture ensures accurate transaction replay and result comparison across different database versions or configurations.

Databases & StorageDistributed Systems
1398907
Pinterest Engineering·5d ago

Pinterest's Metrics Board: An End-to-End Metrics Platform

Pinterest built Metrics Board, an end-to-end platform to automate metric creation, enforce quality, and enable agent-driven analytics for their petabyte-scale data lake. This system design centralizes metric definitions, automates computation via Airflow DAGs, ensures data quality, and integrates with various downstream products like data catalogs and BI tools.

Distributed SystemsDatabases & Storage
1499867
The Pragmatic Engineer·13d ago

Distributed Databases and Storage: Insights from Cockroach Labs CTO Peter Mattis

This article is an interview with Peter Mattis, co-founder and CTO of Cockroach Labs, discussing his journey from Google (Gmail, Colossus) to building CockroachDB. It offers deep insights into the architectural decisions, trade-offs, and underlying data structures like B-trees and LSM-trees crucial for building scalable, reliable, and consistent distributed databases.

Databases & StorageDistributed Systems
117174637