Re: [sqlalchemy] The right way to use gevent with sqlalchemy

2017-07-15 Thread Mike Bayer
On Fri, Jul 14, 2017 at 8:08 PM, Tony Wang wrote: > I simplify a complex system of gevent with sqlachemy to a simple demo code. > > > Before using of sqlachemy, pymysql is my best choice for communication > between MySql and gevent because of its easy and direct usage.

Re: [sqlalchemy] The right way to use gevent with sqlalchemy

2017-07-15 Thread Tony Wang
Hi Mike Thanks very much for your detailed reply. Very kind of you. For "threadlocal" strategy, I used without it for a long time but always coming with "Runtime Error" that posted in BitBucket. I found some guys in Gevent Group