diff options
author | Akira Yoshiyama <akirayoshiyama@gmail.com> | 2013-02-09 14:26:04 +0000 |
---|---|---|
committer | Akira Yoshiyama <akirayoshiyama@gmail.com> | 2013-02-13 14:31:12 +0000 |
commit | 625e074033bc4d4b42f2ef641a69dd425965ac8f (patch) | |
tree | 88d8bb7f53499752cd75ae4e6de9aa3c7e7bb602 /etc/nova/nova.conf.sample | |
parent | d980805880c681881504e269e03130e4452630ab (diff) | |
download | nova-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 'etc/nova/nova.conf.sample')
-rw-r--r-- | etc/nova/nova.conf.sample | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/nova/nova.conf.sample b/etc/nova/nova.conf.sample index 61350b183..9cbb8c1a5 100644 --- a/etc/nova/nova.conf.sample +++ b/etc/nova/nova.conf.sample @@ -1689,7 +1689,8 @@ # Options defined in nova.servicegroup.api # -# The driver for servicegroup service. (string value) +# The driver for servicegroup service (valid options are: db, +# zk, mc) (string value) #servicegroup_driver=db |