Re:JITs are un-ergonomic
by aeyes on Sunday March 29, 2020 @12:36AM
(#22716454)
What's the problem with Postgres on PyPy? Running fine in production here.
[ Parent
| on HN ]
Re:JITs are un-ergonomic
by throwaway894345 on Sunday March 29, 2020 @01:29AM
(#22716677)
There are no supported drivers for it as far as I could find. The common answer is to use psycopg2cffi, but that hasn’t had a commit in like 4 years. The alternatives I could find were in the same shape or worse.
There's a few pure python drivers. Check https://wiki.postgresql.org/wiki/Python and https://wiki.python.org/moin/PostgreSQL
E.g. pg8000 looks like it's being maintained?
Re:JITs are un-ergonomic
by throwaway894345 on Monday March 30, 2020 @02:19PM
(#22730641)
I recall looking at pg8000 in particular, but it didn't inspire confidence for our production use case. It had only 20 commits in 2019 and fewer than 100 stars. I also didn't have a good understanding of the performance tradeoffs (pypy/pg8000 vs C library).