File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ Expire Least Recently Used Data from a Collection
7
7
.. versionadded:: 2.2
8
8
9
9
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 .
12
12
13
13
This pattern presents some cases and proides a pattern for maintaining
14
14
documents in MongoDB where LRU documents are retained while others are
@@ -43,13 +43,11 @@ Use Case
43
43
- Transcoded media cache
44
44
45
45
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
+
53
51
Solution
54
52
--------
55
53
You can’t perform that action at this time.
0 commit comments