Proposed removal of MongoDB Cache store

Proposed removal of MongoDB Cache store

by Andrew Lyons -
Number of replies: 0
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi everybody,

We are currently considering the removal of the MongoDB Cache store. The rationale for this change are as follows:

  • It was created as a proof of concept when all the caching subsystem was first created
  • It is unlikely to be used in real prod environments because it is orders of magnitude slower than other stores like Redis, APCu, and others
  • The php-mongodb extension is required only because of this cache store and it's a pain to build (~50% of time building PHP images is spent with that extension)
  • The mongodb library (that uses the php-mongodb extension) is very hard to maintain, they have refactored it already a couple of times and they are slow providing compatibility with new PHP versions

We welcome voting on this issue from the entire community, both positive and negative, as well as relevant discussion.

If you use MongoDB, and feel that it should remain a part of the core distribution, we are particularly keen to get your feedback.

For more information on this change, see the tracker issue at MDLSITE-7106.

Voting will remain open until Thursday 23rd February 2023 at 11:59pm.

Best wishes,

Andrew Lyons

 

Average of ratings: Useful (2)