Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion what are you using gevent for?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrey Popp  
View profile  
 More options Mar 3 2010, 7:33 am
From: Andrey Popp <8may...@gmail.com>
Date: Wed, 3 Mar 2010 15:33:03 +0300
Local: Wed, Mar 3 2010 7:33 am
Subject: Re: [gevent] what are you using gevent for?
We haven't experienced any problems with mysql-connector yet. I am
forgot to say that we are using trunk of SQLAlchemy, which have
support for mysql-connector. Connection pooling is also provided by
SQLAlchemy.

Of course we have strong isolation level, that means we do not share
nor session object neither mapped classes' instances between
greenlets. It is not a constraint, because spawning new greenlet means
starting new "unit of work" and so creating new session.

On Wed, Mar 3, 2010 at 1:11 AM, Ted Suzman <t...@suzman.net> wrote:
> How's your experience with mysql-connector
> (http://forge.mysql.com/projects/project.php?id=302) been? I'd love to be
> able to use mysql asynchronously (as I'm sure a lot of people would), but
> the project looks young. Have you experienced many bugs? Do you maintain a
> pool of connections so multiple queries can run in parallel?
> Thanks,
> Ted

> On Tue, Mar 2, 2010 at 12:16 PM, Andrey Popp <8may...@gmail.com> wrote:

>> Hello.

>> > a. what are you using gevent for?

>> > b. what other options did you consider and why have chosen gevent? /
>> > if you switched from another network library, why?

>> At my main work we are using gevent for developing payment processing
>> system and related services. We had started with Twisted, but soon
>> realized that with amount of business logic we have to implement our
>> code turning to be huge heap of callbacks. That led us to choose
>> between gevent, eventlet and concurrence (all are make use of
>> greenlet). Final reasons to choose gevent were focus to libevent
>> library and small code base. Now we have almost complete system in
>> preproduction which use along with gevent:

>> * SQLAlchemy for async connectivity with MySQL databases (we are using
>> pure python mysql-connector library as DB-API adapter).
>> * Custom binary protocol for intercommunicating between services.
>> * Gevent patched stdlib's httplib.

>> Also I am working on backends for vkontakte/facebook applications.
>> Gevent helps a lot:

>> * Patched httplib again for querying facebook/vkontakte APIs.
>> * Uploading files to Amazon S3 with patched boto library.
>> * Fast evhttp-based WSGI server for frontends based on Werkzeug WSGI
>> library.

>> > c. are you planning to use gevent in future projects, if so what kind
>> > of tasks will you use it for?

>> Yes, for example, now I'm planning to use gevent to provide complete
>> implementation of Erlang distributed node in Python.

>> Andrey Popp.

--
С уважением, Андрей Попп.
+7 911 740 24 91

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.