How many object-expirer daemons in a cluster

asked 2014-04-18 04:11:31 -0500

Guillaume K gravatar image

updated 2014-04-28 10:46:50 -0500

Hi,

In the Swift object expirer documentation ( http://docs.openstack.org/developer/swift/overview_expiring_objects.html (http://docs.openstack.org/developer/s...) ), we can read :

By default, the swift-object-expirer daemon will run with a concurrency of 1. Increase this value to get more concurrency. A concurrency of 1 may not be enough to delete expiring objects in a timely fashion for a particular swift cluster.

It is possible to run multiple daemons to do different parts of the work if a single process with a concurrency of more than 1 is not enough.

I have a cluster with two storage nodes. What could be the best configuration : one object-expirer daemon on one storage node or two object expirer daemons (one per node) ? And if two daemons are executed (one per node), that means the parameter "concurrency" must be set to "2" ?

Regards,

Guillaume K.

edit retag flag offensive close merge delete