summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorAkira Yoshiyama <akirayoshiyama@gmail.com>2013-02-09 14:26:04 +0000
committerAkira Yoshiyama <akirayoshiyama@gmail.com>2013-02-13 14:31:12 +0000
commit625e074033bc4d4b42f2ef641a69dd425965ac8f (patch)
tree88d8bb7f53499752cd75ae4e6de9aa3c7e7bb602 /nova/exception.py
parentd980805880c681881504e269e03130e4452630ab (diff)
downloadnova-625e074033bc4d4b42f2ef641a69dd425965ac8f.tar.gz
nova-625e074033bc4d4b42f2ef641a69dd425965ac8f.tar.xz
nova-625e074033bc4d4b42f2ef641a69dd425965ac8f.zip
Added a service heartbeat driver using Memcached.
Today the heartbeat information of Nova services/nodes is maintained in the DB, while each service updates the corresponding record in the Service table periodically (by default -- every 10 seconds), specifying the timestamp of the last update. This mechanism is highly inefficient and does not scale. E.g., maintaining the heartbeat information for 1,000 nodes/services would require 100 DB updates per second (just for the heartbeat). This patch adds nova.servicegroup.drivers.memcached, a service heartbeat driver using Memcached. You can reduce DB updates with it. blueprint memcached-service-heartbeat Change-Id: I60bdb1cfbce1fea051f276ebfd6ccc4ad8fe6d2b
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions