librelist archives

« back to archive

Tasks on heroku -- was -Re: [flask] recommendation for WSGI server on heroku

Tasks on heroku -- was -Re: [flask] recommendation for WSGI server on heroku

From:
Jay Baker
Date:
2012-02-10 @ 17:16
Thanks all for the input. This was very useful.

Next question (hence changed subject) : What are people doing and thinking
with regard to task processing (and management) with Flask on heroku? I
really like the idea of Celery + Redis as a datastore I have to admit. But
I am not married to that idea.

On Thu, Feb 9, 2012 at 2:19 PM, Zach Williams <hey@zachwill.com> wrote:

> Third vote for gunicorn + gevent. You can take a look at my sample
> Procfile and layout here: https://github.com/zachwill/flask_heroku
>
> Zach
>
>
> On Thu, Feb 9, 2012 at 11:38 AM, Kenneth Reitz <me@kennethreitz.com>wrote:
>
>>  Absolutely gunicorn. I also highly recommend async workers (gevent or
>> event let), which you can specify with the -k flag.
>>
>> --
>> Kenneth Reitz
>>
>> On Thursday, February 9, 2012 at 11:15 AM, Josh Finnie wrote:
>>
>> I have used gunicorn on Heroku quite a bit and have nothing bad to say
>> about it.
>>
>> I find it really easy to start using it too... Add guicorn to your
>> requirements file and change the Procfile to read:
>>
>> web: gunicorn web:app
>>  -b "0.0.0.0:$PORT" -w 3
>>
>> Check out this link for more information:
>> http://devcenter.heroku.com/articles/python#using_a_different_wsgi_server
>>
>>
>> ~ Josh Finnie
>>
>>
>>
>>
>> On Thu, Feb 9, 2012 at 11:09 AM, Jay Baker <jbaker.work@gmail.com> wrote:
>>
>> Hi all, I'm looking for a recommendation on a server to use on heroku?
>> What is the current group think, Tornado, gunicorn ?
>>
>> Thanks in advance for sharing thoughts and experience.
>>
>> -- Jay
>>
>>
>>
>>
>

Re: Tasks on heroku -- was -Re: [flask] recommendation for WSGI server on heroku

From:
Andrey V. Martyanov
Date:
2012-02-10 @ 20:54
Hi, Jay! We are currently using Flask + Celery + Redis hosted on Heroku.
Our project is currently in active development, but I don't see any issues
at the moment. There is a Flask-Celery extension [1] that may help you. I
have reviewed several hosting solution and it seems that Heroku is
unbeatable. :) Good luck!

1. https://github.com/ask/flask-celery

On Fri, Feb 10, 2012 at 10:16 PM, Jay Baker <jbaker.work@gmail.com> wrote:

> Thanks all for the input. This was very useful.
>
> Next question (hence changed subject) : What are people doing and thinking
> with regard to task processing (and management) with Flask on heroku? I
> really like the idea of Celery + Redis as a datastore I have to admit. But
> I am not married to that idea.
>
> On Thu, Feb 9, 2012 at 2:19 PM, Zach Williams <hey@zachwill.com> wrote:
>
>> Third vote for gunicorn + gevent. You can take a look at my sample
>> Procfile and layout here: https://github.com/zachwill/flask_heroku
>>
>> Zach
>>
>>
>> On Thu, Feb 9, 2012 at 11:38 AM, Kenneth Reitz <me@kennethreitz.com>wrote:
>>
>>>  Absolutely gunicorn. I also highly recommend async workers (gevent or
>>> event let), which you can specify with the -k flag.
>>>
>>> --
>>> Kenneth Reitz
>>>
>>> On Thursday, February 9, 2012 at 11:15 AM, Josh Finnie wrote:
>>>
>>> I have used gunicorn on Heroku quite a bit and have nothing bad to say
>>> about it.
>>>
>>> I find it really easy to start using it too... Add guicorn to your
>>> requirements file and change the Procfile to read:
>>>
>>> web: gunicorn web:app
>>>  -b "0.0.0.0:$PORT" -w 3
>>>
>>> Check out this link for more information:
>>> http://devcenter.heroku.com/articles/python#using_a_different_wsgi_server
>>>
>>>
>>> ~ Josh Finnie
>>>
>>>
>>>
>>>
>>> On Thu, Feb 9, 2012 at 11:09 AM, Jay Baker <jbaker.work@gmail.com>wrote:
>>>
>>> Hi all, I'm looking for a recommendation on a server to use on heroku?
>>> What is the current group think, Tornado, gunicorn ?
>>>
>>> Thanks in advance for sharing thoughts and experience.
>>>
>>> -- Jay
>>>
>>>
>>>
>>>
>>
>

Re: Tasks on heroku -- was -Re: [flask] recommendation for WSGI server on heroku

From:
Jay Baker
Date:
2012-02-11 @ 16:56
Thanks Andrey. Did you happen to hear about this possible memory leak?
Something to be concerned about?
https://github.com/ask/celery/issues/436

On Fri, Feb 10, 2012 at 2:54 PM, Andrey V. Martyanov <realduke@gmail.com>wrote:

> Hi, Jay! We are currently using Flask + Celery + Redis hosted on Heroku.
> Our project is currently in active development, but I don't see any issues
> at the moment. There is a Flask-Celery extension [1] that may help you. I
> have reviewed several hosting solution and it seems that Heroku is
> unbeatable. :) Good luck!
>
> 1. https://github.com/ask/flask-celery
>
>
> On Fri, Feb 10, 2012 at 10:16 PM, Jay Baker <jbaker.work@gmail.com> wrote:
>
>> Thanks all for the input. This was very useful.
>>
>> Next question (hence changed subject) : What are people doing and
>> thinking with regard to task processing (and management) with Flask on
>> heroku? I really like the idea of Celery + Redis as a datastore I have to
>> admit. But I am not married to that idea.
>>
>> On Thu, Feb 9, 2012 at 2:19 PM, Zach Williams <hey@zachwill.com> wrote:
>>
>>> Third vote for gunicorn + gevent. You can take a look at my sample
>>> Procfile and layout here: https://github.com/zachwill/flask_heroku
>>>
>>> Zach
>>>
>>>
>>> On Thu, Feb 9, 2012 at 11:38 AM, Kenneth Reitz <me@kennethreitz.com>wrote:
>>>
>>>>  Absolutely gunicorn. I also highly recommend async workers (gevent or
>>>> event let), which you can specify with the -k flag.
>>>>
>>>> --
>>>> Kenneth Reitz
>>>>
>>>> On Thursday, February 9, 2012 at 11:15 AM, Josh Finnie wrote:
>>>>
>>>> I have used gunicorn on Heroku quite a bit and have nothing bad to say
>>>> about it.
>>>>
>>>> I find it really easy to start using it too... Add guicorn to your
>>>> requirements file and change the Procfile to read:
>>>>
>>>> web: gunicorn web:app
>>>>  -b "0.0.0.0:$PORT" -w 3
>>>>
>>>> Check out this link for more information:
>>>> http://devcenter.heroku.com/articles/python#using_a_different_wsgi_server
>>>>
>>>>
>>>> ~ Josh Finnie
>>>>
>>>>
>>>>
>>>>
>>>> On Thu, Feb 9, 2012 at 11:09 AM, Jay Baker <jbaker.work@gmail.com>wrote:
>>>>
>>>> Hi all, I'm looking for a recommendation on a server to use on heroku?
>>>> What is the current group think, Tornado, gunicorn ?
>>>>
>>>> Thanks in advance for sharing thoughts and experience.
>>>>
>>>> -- Jay
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Re: Tasks on heroku -- was -Re: [flask] recommendation for WSGI server on heroku

From:
Andrey V. Martyanov
Date:
2012-02-11 @ 19:24
No, unfortunately! It's strange. Celery is deployed and actively used by a
lot of services, but only a few people complain. I think Heroku is not an
issue.

On Sat, Feb 11, 2012 at 9:56 PM, Jay Baker <jbaker.work@gmail.com> wrote:

> Thanks Andrey. Did you happen to hear about this possible memory leak?
> Something to be concerned about?
> https://github.com/ask/celery/issues/436
>
>
> On Fri, Feb 10, 2012 at 2:54 PM, Andrey V. Martyanov <realduke@gmail.com>wrote:
>
>> Hi, Jay! We are currently using Flask + Celery + Redis hosted on Heroku.
>> Our project is currently in active development, but I don't see any issues
>> at the moment. There is a Flask-Celery extension [1] that may help you. I
>> have reviewed several hosting solution and it seems that Heroku is
>> unbeatable. :) Good luck!
>>
>> 1. https://github.com/ask/flask-celery
>>
>>
>> On Fri, Feb 10, 2012 at 10:16 PM, Jay Baker <jbaker.work@gmail.com>wrote:
>>
>>> Thanks all for the input. This was very useful.
>>>
>>> Next question (hence changed subject) : What are people doing and
>>> thinking with regard to task processing (and management) with Flask on
>>> heroku? I really like the idea of Celery + Redis as a datastore I have to
>>> admit. But I am not married to that idea.
>>>
>>> On Thu, Feb 9, 2012 at 2:19 PM, Zach Williams <hey@zachwill.com> wrote:
>>>
>>>> Third vote for gunicorn + gevent. You can take a look at my sample
>>>> Procfile and layout here: https://github.com/zachwill/flask_heroku
>>>>
>>>> Zach
>>>>
>>>>
>>>> On Thu, Feb 9, 2012 at 11:38 AM, Kenneth Reitz <me@kennethreitz.com>wrote:
>>>>
>>>>>  Absolutely gunicorn. I also highly recommend async workers (gevent
>>>>> or event let), which you can specify with the -k flag.
>>>>>
>>>>> --
>>>>> Kenneth Reitz
>>>>>
>>>>> On Thursday, February 9, 2012 at 11:15 AM, Josh Finnie wrote:
>>>>>
>>>>> I have used gunicorn on Heroku quite a bit and have nothing bad to say
>>>>> about it.
>>>>>
>>>>> I find it really easy to start using it too... Add guicorn to your
>>>>> requirements file and change the Procfile to read:
>>>>>
>>>>> web: gunicorn web:app
>>>>>  -b "0.0.0.0:$PORT" -w 3
>>>>>
>>>>> Check out this link for more information:
>>>>> http://devcenter.heroku.com/articles/python#using_a_different_wsgi_server
>>>>>
>>>>>
>>>>> ~ Josh Finnie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Feb 9, 2012 at 11:09 AM, Jay Baker <jbaker.work@gmail.com>wrote:
>>>>>
>>>>> Hi all, I'm looking for a recommendation on a server to use on heroku?
>>>>> What is the current group think, Tornado, gunicorn ?
>>>>>
>>>>> Thanks in advance for sharing thoughts and experience.
>>>>>
>>>>> -- Jay
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>