Netflix operates a global streaming service using a distributed microservices architecture, with the Online Data Stores (ODS) team managing persistent data store solutions. The ODS team aims to enhance developer productivity and operational efficiency but faced challenges due to a fragmented relational database strategy involving multiple PostgreSQL-compatible engines, leading to operational inefficiencies and increased overhead for both infrastructure and application teams.
To address these challenges, Netflix evaluated database solutions based on criteria focused on developer productivity, operational efficiency, performance reliability, and scalability. After thorough evaluation, Netflix selected Aurora PostgreSQL as the preferred database solution for relational workloads.
Key reasons for choosing Aurora include its ability to handle single-Region and multi-Region workloads effectively, employing asynchronous storage-based replication for low-latency operations. Aurora's log-based write operations and shared storage architecture provide higher write throughput and lower latency. As a fully managed service, Aurora eliminates the manual operational overhead associated with self-managed databases, allowing developers to leverage existing PostgreSQL expertise with minimal code changes.
Post-migration results for applications like Front50 and the Policy Engine showed significant improvements in latency and stability. Front50 experienced a 50% reduction in average latency and a 70% reduction in maximum latency. The Policy Engine noted overall latency improvements across all endpoints, with specific reductions in key functions, enhancing responsiveness and operational efficiency.