gunicorn
Zappa
Our great sponsors
gunicorn | Zappa | |
---|---|---|
17 | 14 | |
9,453 | 11,900 | |
- | - | |
8.1 | 0.0 | |
3 days ago | about 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gunicorn
-
Nginx Unit – Universal web app server
I'm hoping so – gunicorn has a long-open pull request that would fix `--reuse-port`, which currently does nothing
- SynchronousOnlyOperation from celery task using gevent execution pool on django orm
- The Django ecosystem is not so good
-
3 cool project ideas for Python programmers
For building your API, I recommend using the Flask library. It is very beginner-friendly, and you will be able to build a simple API in a matter of minutes! Keep in mind that, for a more serious project, you should definitely use something like gunicorn to run you API as a production server.
-
Django 4.1 Released
Interesting looks like it might actually be a python bug. Somehow just changing from sys.exit(0) -> os._exit(0) apparently fixes it.
Yep for production that works. In development tho I don't think the gunicorn --reload flag works with that worker type so you end up having to use uvicorn if you want to be able to code loading.
This may have changed but I remember this being an issue around 8-9 months ago the last time I checked and going back https://github.com/benoitc/gunicorn/issues/2339 it looks like the issue is still open.
-
Serverless Templates for AWS and Python
The cool thing is that you can easily migrate your WSGI- application such as Flask, Django, or Gunicorn to AWS.
-
How to deploy the Front-end(React) and Backend(Django) with Postgres at Heroku
gunicorn: Python WSGI HTTP Server.
-
Do I need to use Nginx when hosting Django Docker backend inside of ECS?
I did some googling and just realized I'm using ALB not ELB, not sure yet if that makes a huge difference for this particular issue. I found the github issue which unfortunately was closed: https://github.com/benoitc/gunicorn/issues/1194
Zappa
-
Serverless Templates for AWS and Python
Another alternative is Zappa which is built-in Python Serverless Framework and it serves only that runtime on AWS.
-
How to make Django package smaller for Serverless deployment
Also, Zappa core team is looking for contributors to manage the project. I don't know why someone would leave a project like this. It had nearly 12k stars on original repo here https://github.com/Miserlou/Zappa and has around 1.7k on the new one.
-
Securing AWS Lambda Function URLs
I used to work for a startup that quickly grew to become one of the biggest Lambda users in my country (according to AWS). The entire business was serverless, not just Lambda but backend DynamoDB, APIGW, Cloudfront, etc. There was maybe 2 EC2 instances in the whole company.
Having seen what that model of development can do from an operational/security/agility/scalability/efficiency perspective, I think the comments on HN about serverless saying "it's just CGI" or that they could do something similar without vendor lockin are honestly laughably ignorant. If you haven't messed with Zappa (https://github.com/Miserlou/Zappa) or Serverless Framework (https://www.serverless.com/) at least a little you are missing out.
-
How do I reduce request size?
Hi u/appliku I think Zappa has been moved from https://github.com/Miserlou/Zappa repo to its own repo and account https://github.com/zappa/Zappa Also, they released version 0.54.0 (Minor version) on Oct 14.
-
Best Hosting platform for hosting multiple FLASK apps?
I like deploying on AWS Fargate or AWS Lambda using zappa for very low-cost deployments. Because Lambda has a (always) free tier usage, you can get away with hosting many sites for next-to-nothing with Zappa.
-
Building A Word Association Network from Scratch
While Lambda functions were rather complicated to set up in the beginning, with the help of the handy Zappa library and tons of StackOverflow posts, I was able to build One Word Domains' very own lambda function that would find the most similar words for a given query and return them in JSON format.
What are some alternatives?
waitress - Waitress - A WSGI server for Python 3
Werkzeug - The comprehensive WSGI web application library.
bjoern - A screamingly fast Python 2/3 WSGI server written in C.
uwsgi - Official uWSGI docs, examples, tutorials, tips and tricks
meinheld - Meinheld is a high performance asynchronous WSGI Web Server (based on picoev)
hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM [Moved to: https://github.com/aws/aws-sam-cli]
hypercorn
Previous Serverless Version 0.5.x - ⚡ Serverless Framework – Use AWS Lambda and other managed cloud services to build apps that auto-scale, cost nothing when idle, and boast radically low maintenance.
python-lambda - A toolkit for developing and deploying serverless Python code in AWS Lambda.
apex
chalice - Python Serverless Microframework for AWS