Here is uWSGI + gevent example:

https://github.com/methane/mysql-async-sample/tree/master/uwsgi-flask-sqlalchemy

I've tried and gave up with uWSGI's uGreen + async.

On Thu, Jul 3, 2014 at 11:30 PM, Damjan Georgievski <[email protected]> wrote:
>> I've just released mysqlclient-python 1.3.2
>>
>> https://pypi.python.org/pypi/mysqlclient
>>
>> This is a fork of MySQL-python.
>> New feature introduced in 1.3.2 is asyncio+coroutine friendness.
>>
>> Here is example with gevent:
>> https://github.com/PyMySQL/mysqlclient-python/blob/master/samples/waiter_gevent.py
>
> I guess this will work with uwsgi's support for gevent, but how would
> you plug it in SQLAlchemy?
>
>
>
> --
> damjan
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi



-- 
INADA Naoki  <[email protected]>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to