CQRS ? [[Command and Query Responsibility Segregation|CQRS]] - Stands for "Command and Query Responsibility Segregation" - Separate services and data sources for reads and writes - Driven by a need to optimize performance for reads and writes as an application grows - Pros - Code is separated by concern (think YAGNI) - The Read data source is more scalable - Cons - Code is split into multiple sources - Additional infrastructure - More latency for batch queries - Use Cases - E-commerce: lots more reads vs writes - Social media: lots of reads vs writes <!--SR:!2025-11-29,60,210-->