Comments (10)
Nice, sounds like a good suggestion. Do you suggest 3 Gunicorn workers like the Dev Center article?
from flask_heroku.
It depends on the application. The only real limitation is RAM. For small memory applications, I use 9+ gevent workers. If it's a django app (which takes quite a bit more memory), 3 or 4 is best.
from flask_heroku.
So, 3 is a good default.
from flask_heroku.
Just created a branch and I'm pretty impressed. Did not expect it to be this easy to use.
Will update the documentation and make Gunicorn default — good call, @kennethreitz.
from flask_heroku.
Awesome ;)
@benoitc is the man to thank ;)
from flask_heroku.
✨ 🍰 ✨
from flask_heroku.
Just took a look at the branch. Awesome ;)
If you still want to use gevent (highly recommended) add -k gevent
to the command.
from flask_heroku.
Does gevent
still need to be in the requirements.txt
? Or is it already installed with gunicorn
?
from flask_heroku.
No, it's an optional dependency, so it needs to be requirements.txt
.
from flask_heroku.
Ship it.
from flask_heroku.
Related Issues (10)
- gevent requires libevent HOT 1
- SOLVED
- What does the final app look like?
- FYI: foreman replaced with "heroku local"
- first step problem HOT 1
- Heroku push rejected, no Cedar-supported app detected HOT 8
- Heroku push rejected, no Cedar-supported app detected HOT 10
- url_for in 404.html is pointing to the wrong view? (routing error) HOT 1
- Heroku git push rejected, No cedar supported app HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask_heroku.