As seen on http://www.pebbleroad.com/perspectives/metadata-collection-strategies