Skip to content

support Magento and Cm_Cache_Backend_Redis #6228

@romange

Description

@romange
  1. see https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/ (similar to django-cacheops)
  2. https://github.com/magento/magento2/ that relies on it

Motivation

it's quite popular framework from Adobe on php and it can not use cluster mode, so obviously Dragonfly can help there with scaling issues.

Goal - to ensure we work seamlessly with magento.

I suspect that Cm_Cache_Backend_Redis requires some lua tunings.
We should adjust Dragonfly SHAs library accordingly and also send a PR to the library

Also, send a PR for README to both repos explaining how to setup with Dragonfly.

lua problems

It could be that Cm_Cache_Backend_Redis scripts can run in non-atomic mode. That something we need to evaluate internally and decide what adjustments needs to be done. I saw
https://github.com/colinmollenhour/Cm_Cache_Backend_Redis/blob/ba4aed6768797e4f9c0556c6c7371629701c2956/Cm/Cache/Backend/Redis.php#L856 is where they upload the scripts, and they are awfully similar to django-cacheops.

More steps

We should open an issue in our documentation repo to add tutorials on how to configure Dragonfly with magento and django-cacheops. https://www.dragonflydb.io/docs/integrations

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions