Skip to content

Commit 17c4f67

Browse files
author
Andrew Leung
committed
minor revision
1 parent 2b67e9f commit 17c4f67

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

draft/tutorial/expire-least-recently-used-data.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Expire Least Recently Used Data from a Collection
77
.. versionadded:: 2.2
88

99
Least recently used, or LRU, data retention patterns are used in simple
10-
data caches or support for stateless systems. They are convenient for a
11-
number of situtions where simple TTL collections are not enough.
10+
data caches or support for stateless systems. By extending TTL
11+
collections with application support provides additional features.
1212

1313
This pattern presents some cases and proides a pattern for maintaining
1414
documents in MongoDB where LRU documents are retained while others are
@@ -43,13 +43,11 @@ Use Case
4343
- Transcoded media cache
4444

4545
Archival images and videos are stored in a high quality format and
46-
transcoded to device specific formats for distribution. Caching
47-
frequently accessed media improve overall performance and save on
48-
computing power without creating overly complex
49-
50-
setting up a list to keep track of where various transcoded versions
51-
exist
52-
46+
transcoded to device specific formats for distribution. Keeping
47+
lists of frequently accessed media in cache and transcoding archive
48+
materials on demand can provide excellent application response while
49+
maximizing resources.
50+
5351
Solution
5452
--------
5553

0 commit comments

Comments
 (0)