[openstack-dev] [all] Replace mysql-python with mysqlclient

Robert Collins robertc at robertcollins.net
Tue May 12 01:17:54 UTC 2015


On 12 May 2015 at 11:35, Clint Byrum <clint at fewbar.com> wrote:
> Excerpts from Mike Bayer's message of 2015-05-11 15:44:30 -0700:

> Anyway, there is additional thought that might change the decision
> a bit. There is one "pro" to changing to use pymsql vs. changing to
> use threads, and that is that it isolates the change to only database
> access. Switching to threading means introducing threads to every piece
> of code we might touch while multiple threads are active.

I agree.

> It really seems worth it to see if I/O bound portions of OpenStack
> become more responsive with pymysql before embarking on a change to the
> concurrency model. If it doesn't, not much harm done, and if it does,
> but makes us CPU bound, well then we have even more of a reason to set
> out on such a large task.

And yes.

-Rob


-- 
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud



More information about the OpenStack-dev mailing list