StackPractices

architecture

Practical resources about architecture for software engineers.

181 results

Designing Systems That Scale

Software architecture is the art of making trade-offs. Every pattern — from microservices to event-driven systems — solves specific problems while introducing new constraints. Understanding these trade-offs is what makes an engineer an architect.

This hub collects guides and patterns for API gateways, load balancing, circuit breakers, sagas, and service meshes. Whether you are designing a new system or modernizing a legacy monolith, these resources provide the mental models and implementation details you need.

intermediate

Database Schema Documentation Template

A template for documenting database schemas with entity relationships, field definitions, and...

advanced

Complete Guide to AI Agents in Production

Design, deploy, and operate LLM agents that survive real traffic: architectures, tools, memory,...

advanced

Complete Guide to LangChain in Production

Run LangChain in production: LCEL chains, agents, memory, streaming, RAG, retries, observability...

advanced

Complete Guide to LLM Application Architecture

Build production LLM applications end to end: API layers, prompt management, streaming, caching,...

advanced

Complete Guide to LLM Cost Optimization

Cut LLM costs in production: model routing, prompt compression, caching, Batch API, token budgets...

advanced

Complete Guide to LLM Security

A practical playbook for securing LLM apps in production: prompt injection, jailbreaks, data...

llm-security ai guide prompt-injection
advanced

Complete Guide to RAG in Production

Take RAG to production: chunking strategies, vector store selection, hybrid retrieval, reranking,...

intermediate

Complete Guide to API Versioning Strategies

Compare URI, header, query-param and content-negotiation versioning for REST, plus GraphQL schema...

advanced

Complete Guide to GraphQL Federation

Build unified GraphQL APIs across multiple services with Apollo Federation. Covers subgraphs,...

advanced

GraphQL Federation in Production

Run federated GraphQL in production: subgraph ownership, router HA, query planning, persisted...

advanced

Complete Guide to GraphQL Schema Design

Design GraphQL schemas that evolve without breaking clients. Type design, connections, mutations,...

intermediate

REST API Design Guide

A thorough guide to designing clean, scalable, and maintainable REST APIs.

advanced

API Gateway Design: Resilience, Routing, and Security

A practical guide to designing API gateways: routing, authentication, rate limiting, circuit...

advanced

Clean Architecture Explained: Layers & Dependency Rule

A practical guide to Uncle Bob's Clean Architecture: organize code into layers so that frameworks,...

advanced

Event Sourcing and CQRS: Event Store, Projections

Event sourcing and CQRS: event store design, aggregate roots, projections, snapshots, eventual...

advanced

Complete Guide to Kafka Stream Processing

Build real-time event pipelines with Kafka: producers, consumers, Kafka Streams, Connect, schema...

kafka stream-processing event-streaming schema-registry
intermediate

Complete Guide to Microservices Communication

Compare sync vs async communication patterns for microservices. Covers REST, gRPC, message queues,...

advanced

Modular Monolith: Module Boundaries, Shared Kernel

Design a modular monolith with clear module boundaries, a shared kernel, dependency rules, and a...

guide modular-monolith architecture module-boundaries
advanced

Strangler Fig Migration: Incremental Legacy Replacement

Replace a legacy system incrementally via the strangler fig pattern: routing, shadow traffic,...

intermediate

Data Lake vs Data Warehouse — Architecture Guide

How data lakes store raw data at scale: medallion zones, lakehouse tables, ETL vs ELT,...

No results found.