On Wed, Aug 24, 2011 at 11:59 PM, Leonardo Santagada <santag...@gmail.com> wrote: > there is a ctypes driver for sqllite and mysql (this last one being > used in quora). There is a postgresql driver also but this one is a > little harder to get going (it needs to be translated with the pypy > interpreter) but there are pure python ones and they might be pretty > fast.
There is https://github.com/mvantellingen/psycopg2-ctypes for postgres. I'm using it and it seems to work fine. I did two things with django+pypy: i ran a management command and it took 30s against the 10s of cpython+psycopg2-ctpyes, maybe it's too short. And i did a benchmark with ab. With a small number of connection it works fine (and as fast as cpython), but as the number grows gunicorn starts to give errors. I need to investigate further. I also tried djangobench but i found this bug (in pypy ctypes, i think): https://bugs.pypy.org/issue844 Regards -- Davide Setti blog: http://blog.flatlandia.eu code: http://github.com/vad _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev