[openstack-dev] [all] Replace mysql-python with mysqlclient
Dan Smith
dms at danplanet.com
Thu Apr 30 15:16:41 UTC 2015
> There is an open discussion to replace mysql-python with PyMySQL, but
> PyMySQL has worse performance:
>
> https://wiki.openstack.org/wiki/PyMySQL_evaluation
My major concern with not moving to something different (i.e. not based
on the C library) is the threading problem. Especially as we move in the
direction of cellsv2 in nova, not blocking the process while waiting for
a reply from mysql is going to be critical. Further, I think that we're
likely to get back a lot of performance from a supports-eventlet
database connection because of the parallelism that conductor currently
can only provide in exchange for the footprint of forking into lots of
workers.
If we're going to move, shouldn't we be looking at something that
supports our threading model?
--Dan
More information about the OpenStack-dev
mailing list