Giter Club home page Giter Club logo

Comments (8)

colinmollenhour avatar colinmollenhour commented on July 21, 2024

No, but I'd be happy to accept a pull request. :)

from cm_redissession.

theycallmepepper avatar theycallmepepper commented on July 21, 2024

I'll make a note of this and see if I can get something worked up in the near future.

from cm_redissession.

chuangbo avatar chuangbo commented on July 21, 2024

@theycallmepepper This script could be a hint
https://github.com/colinmollenhour/Cm_RedisSession/blob/master/migrateSessions_mysql_redis.php

from cm_redissession.

theycallmepepper avatar theycallmepepper commented on July 21, 2024

@chuangbo That should definitely help lead me in the right direction. Looking at it and the docs for Zend_Cache_Backend_Memcached I should be able to get something working. Hopefully I'll have a bit of free time to work on it soon.

from cm_redissession.

samm-git avatar samm-git commented on July 21, 2024

I dont think that it is ever possible. There is no (by design) official way to get all memcached content from it.

from cm_redissession.

colinmollenhour avatar colinmollenhour commented on July 21, 2024

@samm-git Which is a great reason to never use memcached for anything other than a cache. :)

Googling around it appears there is a method using the "stats" feature but it is not guaranteed to work 100%.

from cm_redissession.

samm-git avatar samm-git commented on July 21, 2024

@colinmollenhour agree. Actually there are 2 options: memcached as a software or memcached as protocol, what is supported by many other servers, from the Couchbase to MySQL. In this case you typically can do whatever you want with data using native interfaces.
And yes, it should be possible to write poor man converter using 'stats items' and 'stats cachedump' commands.

from cm_redissession.

samm-git avatar samm-git commented on July 21, 2024

btw, another problem with memcached converter is that there are 2 different extensions with it own session storage format: pecl-memcache and pecl-memcached (libmemcache based). AFAIK magento out of the box works only with pecl-memcache, so probably this is only needed. Magento 2 allows to use any registred session handler, so both extensions could be used.

from cm_redissession.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.