- From: Mason Turner <
>
- To:
- Subject: [chef] Effeciency of data bags?
- Date: Wed, 8 Dec 2010 14:40:54 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=SQ6mV0AhWn6nWeSJVxICHsCtoKjbXrzcfm96IWf4qL7yfOjmgrKvBD1BdH6xdUnZ4i W3gxKvY/ahI89/IF4Z6D5Mf4QixmEJo2Elqg+pbZHXUzI15lnXsYt5czJUbnfYmay+Si 0SlyJTfVlDlEBYHuohvYy3oM7KSeY5QBDimv4=
I have a recipe that builds an rdist distfile by searching for nodes
that match a particular attribute. These queries are taking about 3
seconds, and i have less then 20 nodes in my chef DB. I'm sure there
are some ways to optimize my chef server, but I am also considering
pre-building the data in a databag. Does chef-client use a "last
modified" field to prevent lookups from the databag if nothing has
changed?
- [chef] Effeciency of data bags?, Mason Turner, 12/08/2010
Archive powered by MHonArc 2.6.16.