Menu

Software Architecture and System Design News

Latest curated articles from top engineering blogs

NetflixUberMetaLinkedInSpotifyGitHubAirbnbPinterestSlackDropboxCloudflareStripeDatadogFigmaShopifyAWSGoogle CloudAzureWerner Vogels& 15+ more

943 articles

Medium #system-design·4h ago

Checksummed Storage Engine Design in C++

This article delves into the design considerations for building a checksummed storage engine in C++, a fundamental component for vector databases like Lattice. It highlights the importance of data integrity through checksums and implicitly discusses performance optimizations essential for high-throughput data operations inherent in vector database architectures.

Databases & StorageDistributed Systems
965232
InfoQ Architecture·4h ago

OpenAI's GPT-Live Architecture for Real-time, Stateful Voice Interaction

OpenAI's GPT-Live architecture details how continuous voice interaction is maintained by separating latency-sensitive media processing from asynchronous application logic. This design addresses the challenges of real-time AI applications, ensuring responsiveness despite variable latencies from other operations. The system employs dedicated, stateful inference sessions with real-time migration capabilities for scalability and fault tolerance, leveraging WebRTC with custom enhancements.

Distributed SystemsAI & ML Infrastructure
735525
The New Stack·16h ago

Optimizing Large Language Models for Agent Workloads: Compression and Performance Trade-offs

This article discusses Multiverse Computing's Quasar 438B, a large language model designed for AI agents, emphasizing its use of compression to achieve speed and cost-effectiveness. It explores the architectural trade-offs between model size, performance, and the unique demands of agent-based systems, such as context window management and repeated model calls. The article highlights the challenges of optimizing large models for practical, iterative AI applications.

AI & ML InfrastructurePerformance & Scaling
1026268
InfoQ Architecture·16h ago

Swiggy's Multi-Task MLP for Customer Lifetime Value Prediction

Swiggy developed an in-house predicted lifetime value (pLTV) model using a multi-task multilayer perceptron (MLP) and over 350 features. This model generates early signals for new customers, allowing Swiggy to optimize advertising bids based on long-term value rather than short-term conversions. A key architectural decision involved using an auxiliary prediction task to significantly reduce model size and improve accuracy.

AI & ML InfrastructurePerformance & Scaling
1006470
Martin Fowler·16h ago

The Paracelsus Maxim: Dosage in System Design

This article introduces Paracelsus's Maxim, "The dose makes the poison," applying it to programming and system design. It highlights that many architectural patterns and practices aren't inherently good or bad, but their utility and potential harm depend on context and the extent of their application (dosage). The core idea emphasizes thoughtful decision-making beyond simple binaries in software architecture.

Distributed SystemsMicroservices
986365
Datadog Blog·16h ago

Optimizing LLM Applications with Prompt Caching and Monitoring

This article explores the implementation and monitoring of prompt caching in LLM applications to optimize token usage and reduce operational costs. It discusses the architectural considerations for integrating a caching layer, strategies for cache invalidation, and the importance of observability to ensure cache effectiveness and troubleshoot issues in real-time.

AI & ML InfrastructurePerformance & Scaling
946204
Dev.to #systemdesign·1d ago

Latency vs. Throughput: Understanding Key Performance Metrics in System Design

This article clarifies the fundamental differences between latency and throughput, two critical performance metrics in system design. It explains that latency measures the time for a single operation, while throughput quantifies the amount of work a system handles over time. Understanding both is crucial for designing performant and scalable systems.

Performance & ScalingDistributed Systems
1379654
InfoQ Architecture·1d ago

Context Engineering for Production-Grade AI: Architectural Strategies and Challenges

This article discusses practical architectural strategies for building production-grade AI applications by moving beyond basic prompt engineering. It covers techniques for managing context effectively, including integrating long-term and short-term memory, mitigating token limits through summarization, combating context rot with reranking and semantic caching, and optimizing API costs under latency constraints, all demonstrated through a conversational AI assistant built with Redis and LangChain4j.

AI & ML InfrastructureDistributed Systems
1239928
Medium #system-design·1d ago

Database Replication Strategies for Scalability and Availability

This article introduces the fundamental concept of database replication as a critical step to scale beyond a single database instance. It explores how replication improves system performance by distributing read loads and enhances fault tolerance, ensuring higher availability and data durability in distributed systems.

Databases & StorageDistributed Systems
1469918
Dev.to #architecture·1d ago

Kubernetes Probes: Designing for Resilient Microservices with Readiness, Liveness, and Startup Checks

This article discusses the critical role of Kubernetes readiness, liveness, and startup probes as distributed-systems failure detectors. It emphasizes the semantic distinctions, optimal timing, and potential pitfalls like cascading failures when designing these probes. Proper implementation ensures graceful degradation and avoids unnecessary restarts, crucial for robust microservice architectures.

DevOps & SREMicroservices
1329824
Azure Architecture Blog·1d ago

Azure Multicloud Interconnect for AWS: Enhancing Hybrid Cloud Networking

This article introduces Azure Multicloud Interconnect for AWS, a new networking service designed to simplify and optimize connectivity between Azure and AWS environments. It aims to reduce latency, improve bandwidth, and enhance security for hybrid cloud architectures, addressing critical challenges in multicloud deployments.

Cloud & InfrastructureDistributed Systems
1398385
Dev.to #architecture·1d ago

Designing Robust Readiness Checks and First-Run Paths

This article discusses critical considerations for system design related to readiness checks and initial user onboarding experiences. It highlights common pitfalls where health checks can give false positives and how defaults in production code can break first-run paths, emphasizing the need for robust verification mechanisms that validate actual code execution and system state rather than relying on superficial signals.

Distributed SystemsDevOps & SRE
1488081