[openstack-dev] [oslo.db] PyMySQL review

Monty Taylor mordred at inaugust.com
Sat Jan 31 04:33:03 UTC 2015


On 01/28/2015 06:33 PM, Johannes Erdfelt wrote:
> On Wed, Jan 28, 2015, Mike Bayer <mbayer at redhat.com> wrote:
>> I can envision turning this driver into a total monster, adding
>> C-speedups where needed but without getting in the way of async
>> patching, adding new APIs for explicit async, and everything else.
>> However, I’ve no idea what the developers have an appetite for.
>
> This is great information. I appreciate the work on evaluating it.

First response spawns a thread about eventlet ...

I would like to register my support of using this MySQL library.

> Can I bring up the alternative of dropping eventlet and switching to
> native threads?
> 
> We spend a lot of time working on the various incompatibilies between
> eventlet and other libraries we use. It also restricts us by making it
> difficult to use an entire class of python modules (that use C
> extensions for performance, etc).
> 
> I personally have spent more time than I wish to admit fixing bugs in
> eventlet and troubleshooting problems we've had.
> 
> And it's never been clear to me why we *need* to use eventlet or
> green threads in general.
> 
> Our modern Nova appears to only be weakly tied to eventlet and greenlet.
> I think we would spend less time replacing eventlet with native threads
> than we'll spend in the future trying to fit our code and dependencies
> into the eventlet shaped hole we currently have.
> 
> I'm not as familiar with the code in other OpenStack projects, but from
> what I have seen, they appear to be similar to Nova and are only weakly
> tied to eventlet/greenlet.
> 
> JE
> 
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 




More information about the OpenStack-dev mailing list