[openstack-dev] [Ceilometer]Collector's performance
rpodolyaka at mirantis.com
Tue Mar 11 22:59:53 UTC 2014
FWIW, just an assumption.
>> i am curious as to why postgresql passes but not mysql? is postgres actually faster or are it's default configurations set up better?
If eventlet green threads are used, psycopg2 allows context switching
on blocking IO, while python-mysqldb blocks the whole process. That's
why we run multiple API/conductor processes in e.g. Nova to handle
And yes, PostgreSQL defaults are usually way better :)
On Tue, Mar 11, 2014 at 3:49 PM, Gordon Chung <chungg at ca.ibm.com> wrote:
> i did notice the collector service was only ever writing one db connection
> at a time. i've opened a bug for that here:
> i am curious as to why postgresql passes but not mysql? is postgres actually
> faster or are it's default configurations set up better?
> gordon chung
> openstack, ibm software standards
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
More information about the OpenStack-dev