3 ms·
Why is asyncpg so much faster?
by odie5533 2y ago
Why is asyncpg so much faster?
- whalesalad 2y agohttp://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python/ http://magic.io/blog/asyncpg-1m-rows-from-postgres-to-python...
- odie5533 2y agoFrom reading that, it's still unclear to me why asyncpg is faster than async psycopg3.
- whalesalad 2y ago> Unlike psycopg2, asyncpg implements PostgreSQL binary I/O protocol, which, aside from performance benefits, allows for generic support of container types (arrays, composites and ranges).