Netflix has completed a major consolidation of its relational database infrastructure onto Amazon Aurora, reporting performance improvements of up to 75% and a 28% reduction in costs. The streaming giant's move from self-managed PostgreSQL on EC2 to the managed Aurora service highlights a broader industry trend toward offloading operational overhead to cloud-native database platforms. Facing challenges with a fragmented database landscape, Netflix's Online Data Stores (ODS) team struggled with the operational toil of managing deployed custom binaries, patching, and manual scaling.
Asyncpg is the connector for PostgreSQL and asyncio-flavored Python. Here's how to use it without other libraries on FastAPI and Air projects. Recently I've been on a few projects using PostgreSQL where SQLAlchemy and SQLModel felt like overkill. Instead of using those libraries I leaned on writing SQL queries and running those directly in [asyncpg](https://pypi.org/project/asyncpg/) instead of using an ORM powered by asyncpg. Here's how I got it to work
Under the MIT license, developers get maximum freedom in using DocumentDB. They can choose between PostgreSQL interfaces for stronger JSON support or MongoDB compatibility for existing expertise. "We are committed to 100% compatibility with MongoDB drivers," Microsoft emphasizes. This developer-first mentality is also reflected in the simple implementation. It takes less than a minute to get DocumentDB up and running. Contributing to the project takes even less time, which keeps the barrier to entry low.
The addition of the managed PostgreSQL database to the Data Intelligence platform will allow developers to quickly build and deploy AI agents without having to concurrently scale compute and storage.