[SERVER-28300] Implement an in-mem cache for sessions Created: 14/Mar/17  Updated: 06/Dec/17  Resolved: 05/Jun/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 3.5.9

Type: Task Priority: Major - P3
Reporter: Samantha Ritter (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Gantt Dependency
has to be done before SERVER-28301 Add stats about the session record ca... Closed
has to be done before SERVER-28341 Implement session keepalive logic Closed
has to be done before SERVER-29198 Implement the ServiceLiason for mongod Closed
has to be done before SERVER-29201 Implement the SessionsCollection for ... Closed
has to be done before SERVER-29202 Implement the SessionsCollection for ... Closed
has to be done before SERVER-29203 Implement the SessionsCollection for ... Closed
has to be done after SERVER-28297 Implement a session record class for ... Closed
has to be done after SERVER-29009 Implement a generic periodic task runner Closed
Related
related to SERVER-28346 Thoroughly unittest distributed sessi... Closed
Backwards Compatibility: Fully Compatible
Sprint: Platforms 2017-04-17, Platforms 2017-05-08, Platforms 2017-05-29, Platforms 2017-06-19
Participants:

 Description   
  • with a new --sessionRecordCacheSize parameter

And tests:

  • test that cache eviction is LRU
  • test that cache eviction occurs after set # records
  • test that default cache size is 10000 records
  • test configurations of servers with different cache sizes


 Comments   
Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Fix lint
Branch: master
https://github.com/mongodb/mongo/commit/345ccc04af548e8a23625287f9dff1b18d750486

Comment by Samantha Ritter (Inactive) [ 05/Jun/17 ]

Re-opening, so that I can fix lint!

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Implement mock libraries to test logical session cache
Branch: master
https://github.com/mongodb/mongo/commit/89e48e22ba667caad7223eaa2b6ee92868323268

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Implement the logical session cache
Branch: master
https://github.com/mongodb/mongo/commit/c2293992d5672c7c7f1c5d94628924ea91a78316

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Add interfaces for logical session cache supporting types
Branch: master
https://github.com/mongodb/mongo/commit/43cc5caeaef92cab569dbe395a5ff8aae36edd0f

Comment by Githook User [ 05/Jun/17 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Make PeriodicRunnerASIO more resilient
Branch: master
https://github.com/mongodb/mongo/commit/558878c94230c19dbe86d397e78fbeb7389667c9

Comment by Githook User [ 05/Apr/17 ]

Author:

{u'username': u'samantharitter', u'name': u'samantharitter', u'email': u'samantha.ritter@10gen.com'}

Message: SERVER-28300 Add a generic LRU cache implementation to utilities
Branch: master
https://github.com/mongodb/mongo/commit/2d00414fa0f31473f5fa7c1ad3c728051871ec4e

Generated at Thu Feb 08 04:17:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.