Category: architecture

Architecture Pattern: CQRS

Command and Query Responsibility Segregation provides excellent decoupling for shared data at a nominal price of higher latency for latest data. It fits very well in micro service architecture for cases of data sharing among services where one service is a reader and another a writer. Implementation Suppose […]

Design Problems of PostGres- Part I

This post is a quick summary of Why Uber moved from PostGres to MySQL. PostGres Rows and CTID PostGres provides transactions. Transactions need multiple versions of data. So PG is Multi Versioned DB. PG considers each row immutable. Any change to a row creates a new row version. […]