Thursday, September 27, 2012

A new feature was introduced in MongoDB 2.2: Time To Live collections. TTL collection is a collection, where documents automatically will be removed after specific period of time. The common use-case for TTL collections is to store some session information, or use it as a cache for your system.