MongoDB Extension Cache Improvements

Description

Modifications to cache extension:

  • optimize cache document fetch using findOne instead of find

  • provide default value for cache "persists" property

  • use cache key as _id instead of native ObjectId for faster lookups

  • use native TTL index for lifespan cache object invalidation

this ticket is resolved, please just publish new version to Extension provider.

https://github.com/lucee/extension-mongodb/pull/36

Activity

Show:

Michael Offner 24 April 2023 at 14:52

can this ticket be closed?

Zac Spitzer 30 August 2022 at 17:10

I'll fix the test case, it's just needs tweaking

Sean Daniels 30 August 2022 at 14:53

Thanks - yes, I’ll post to the mailing list. I’m not sure what the ehCache dependency is in there. I’d be willing to bet I can remove that code in the test suite but for now we’ll call it good. Thanks!

Zac Spitzer 30 August 2022 at 07:48
Edited

Fixed

Details

Assignee

Reporter

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Fix versions

Priority

Created 29 August 2022 at 17:22
Updated 24 April 2023 at 14:52
Resolved 24 April 2023 at 14:52

Flag notifications