Vertical Slice Architecture: Organize Code Around Features
Learn vertical slice architecture with practical examples, folder structure, request flow, trade-offs, and how it compares with layered, clean, and hexagonal architecture.
All posts tagged with "software-architecture"
Learn vertical slice architecture with practical examples, folder structure, request flow, trade-offs, and how it compares with layered, clean, and hexagonal architecture.
Master the durability foundation of distributed systems: Write-Ahead Log for crash recovery, Segmented Log for file management, and Low-Water Mark for log cleanup. With real-world examples from PostgreSQL, Kafka, and etcd.
Master distributed systems patterns from write-ahead logs to consensus protocols. A comprehensive roadmap covering durability, leader election, replication, partitioning, distributed time, and cluster coordination.
A comprehensive guide to choosing software architecture: decision frameworks, trade-off analysis, CAP theorem, architecture decision records (ADRs), evolutionary architecture, combining patterns, anti-patterns like resume-driven development, case studies from startup to enterprise, and an architecture review checklist.
A comprehensive guide to data source patterns from Martin Fowler's PoEAA: Active Record for simple domains, Data Mapper for complex domains, Table Data Gateway and Row Data Gateway for explicit data access. Includes code examples in TypeScript and Java.
A comprehensive guide to domain logic patterns from Martin Fowler's PoEAA: Transaction Script for simple operations, Domain Model for complex business rules, Table Module for data-centric apps, and Service Layer for coordination. Includes code examples in TypeScript and Java.
A comprehensive guide to serverless architecture: FaaS vs BaaS, AWS Lambda and Azure Functions, cold starts, stateless design, event triggers, serverless databases, composition patterns, cost models, limitations, frameworks, and when serverless makes sense vs traditional servers.
Master Martin Fowler's enterprise patterns — domain logic, data source, ORM, distribution, concurrency, and session state patterns. A comprehensive roadmap for building maintainable enterprise applications.
A comprehensive guide to Domain-Driven Design: bounded contexts, ubiquitous language, context mapping, entities, value objects, aggregates, repositories, domain events, aggregate design rules, anti-corruption layer, event storming, DDD with microservices, and when DDD is overkill.
A comprehensive guide to hexagonal architecture: ports and adapters, driving vs driven sides, dependency inversion at the core, practical folder structure, testing with mock adapters, comparing to layered architecture, and real-world examples of swapping infrastructure.