1M rows/s from Postgres to Python
asyncpg is a high-performance open-source Python client library for PostgreSQL, specifically designed for asyncio and Python 3.5+ async/await. It outperforms other common Python, NodeJS, and Go implementations. The main reasons behind its superior performance are direct implementation of the PostgreSQL protocol, binary I/O protocol support, prepared statement usage, and efficient data decoding pipeline implemented in Cython. asyncpg is also easy to deploy as it has zero dependencies and provides binary wheels for Linux, macOS, and Windows.
Company
EdgeDB
Date published
Aug. 4, 2016
Author(s)
Elvis Pranskevichus, Yury Selivanov
Word count
870
Hacker News points
None found.
Language
English