Comment 1 for bug 1291923

Revision history for this message
Mitsuru Kanabuchi (kanabuchi) wrote :

I think this is not a duplicate of Bug #1291054: ceilometer service is working on a single thread.

#1291054 seems to target to enable multiple workers for notification agent and collector. The fix will have great effect in speeding up storing samples to backend database.

However, #1291054 seems to solve our problem only partly. There are cases that single central agent needs to handle a large amount of samples. For example, 20,000 samples of floating ips, acquired from one polling to neutron, are made into one message and put into the queue. Only one collector can get the message and store 20,000 samples. Therefore, we believe that we need to consider the DB store speed of a single collector.

Ideas for solutions are:
1. implement some bulk insert feature into central agent.
2. avoid forming large number of samples into single message - divide message to contain smaller number of samples for each, so that multiple workers can take effect.