-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgresql support on RDS #3
Comments
Hey Amine! That sounds good. It should be totally possible to get PG working with Zappa, I just haven't tried it yet. The only issue it that we'll need to either:
or
Maybe do some research into the first approach, and if there's nothing there we can think about the second? Would love to have this sorted out, thanks for volunteering. |
I started looking at this same issue, and found this that may help https://github.com/jkehler/awslambda-psycopg2 django-zappa looks great by the way, can't wait to give it a try! |
Oh, excellent. Has anybody actually tried any of these Python PSQL libraries yet? |
So, I'm not sure if that's the right solution as it still uses a compiled .so file - I'd prefer to keep everything in pure Python to avoid having to deal with injecting precompiled binary objects as part of the Zappa deployment. There are some pretty good looking pure python PG adapters: BPGSQL looks like it has had some work done towards a Django adapter, but unfortunately is looks like the maintainer just quite the project yesterday, which is very unfortunate. |
I'm the maintainer of BPGSQL - the discussion is about the project security, feel invited to take a look at d33tah/bpgsql#7 for details. |
👍 from me folks, very excited about the prospects of using django-zappa (to replace celery... is that sane?). Definitely needs Postgres support though :) Watching with interest. |
The Celery idea is absolutely on the roadmap, I'm going to open up another ticket to discuss that. |
This post talks about dealing so's on Lambda: https://serverlesscode.com/post/deploy-scikitlearn-on-lamba/ |
Django-Zappa now supports Postgres via Lambda-Packages as of version 0.12.0. |
Tremendously exciting! Thanks! |
Hello,
Is there anyone working on postgresql support on RDS ? If not I can try to make it work and submit a pull request.
Thanks
Amine
The text was updated successfully, but these errors were encountered: