Zappa
Infrastructure
serverless deployment
SHOW HN2016
How HN took it
6 positive, 7 neutral or asking, 0 mixed, 9 critical, out of 22 comments about the project. Thread score -0.13.
Execution: 1 for, 5 againstIdea: 3 for, 1 againstPricing: 1 for, 1 againstDesign: 0 for, 2 againstPerformance: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
No code changes needed, avoids lock-in to AWS
From 2 comments
Fantastic! We had been considering using lambda, but were worried that doing so would irreversibly lock us into AWS. Being able to develop for lambda using standard web…
bake on HNYep! This should make it super easy, there are no code changes needed so you can go back and forth between Lambda and traditional hosts as often as you please. No "lock in" -…
Mizza on HN
Low cost and scales without configuration
From 2 comments
You're not completely wrong, the difference is that there is no configuration necessary, no permanent infrastructure, no limitations on scalability, and the costs are measured in…
Mizza on HNI get sub-100ms times quite often for light calls. The 'boot-up' call will always be longer, but that's because the service had gone idle. If you are getting heavy usage that is…
dexterdog on HN
Objections
API Gateway is hard to use and poorly documented
From 2 comments
This would have been useful for me during development.. But honestly, the big problem is the API Gateway. The product is a mess, the docs are a mess, and the whole system is kind…
Mizza on HNYeah, I fought with APIGW for a while in the beginning because I had to make scripts to create my route structures to I could call Lambda in a fully RESTful manner for my data…
dexterdog on HN
Keeping servers warm adds cost
From 1 comment
This is cool. On this: To ensure that your servers are kept in a cached state, you can manually configure a scheduled task for your Zappa function that'll keep the server cached…
jjoe on HN
Django apps may need changes for static files, uploads and C extensions
From 2 comments
I rather doubt the "without changing anything" part. For example, I write static media to a subdirectory of my Django installation. Will that work without any changes? How about…
StavrosK on HNWell you really shouldn't be serving static content through Django, you should be serving it through a CDN. If you use something like Django-Storages for uploads, it'll Just…
Mizza on HN
Requests
Local Lambda emulation for development
From 1 comment
It seems like having local lambda emulation would be useful as a companion to this. If I ever do some lamba development I'd love to see integration with emulators like…
vangale on HN
Postgres driver support
From 2 comments
Wow -- the fact that this allows deployment of a "regular" Django application to Lambda is awesome! Have you checked if Postgres works via the py-postgresql driver? It's…
hendi_ on HNLambda only supports Python 2.7 for the momment, and getting postgres drivers working is a nice royal pain in the ass.. https://github.com/jkehler/awslambda-psycopg2…
nolite on HN
Questions
How are static assets served?
From 1 comment
Hi, how are static assets served? through django?
landmark2 on HN
Database connection pooling on Lambda
From 1 comment
Interesting! I've been playing around with Serverless/Lambda this weekend (the node version), but a main thing that struck me was that I couldn't use a connection pool for…
vincentdm on HN
Alternatives named
Serverless framework
From 1 comment
"Serverless" is a framework used by AWS: https://github.com/serverless/serverless And it now supports Python. Would be interesting to see someone using AWS Serverless framework…
cdnsteve on HN
Local Lambda emulators such as python-lambda-local
From 1 comment
It seems like having local lambda emulation would be useful as a companion to this. If I ever do some lamba development I'd love to see integration with emulators like…
vangale on HN