Skip to content

Replace APC functionality #516

Closed
Closed

Description

@waldoj

APC is being phased out starting with v5.4, and irrevocably with v5.5. Zend Opcache is its replacement, but it's a bytecode cache, not a user-variable cache. The present arrangement is harmless to those versions, since APC functionality is all premised on a verification that APC is installed and functioning, but as time passes, more and more users will lose the benefits of APC with future releases. Determine how to best replace that functionality.

Activity

  1. waldoj commented on Jan 7, 2014

    @waldoj
    MemberAuthor

    I think a wrapper for Memcached and Redis (configurable in config.inc.php) is going to be the way to go. Both are alarmingly easy to set up and use (just as simple as APC), and we'd only need a few core methods within those classes. This could be knocked out in an hour.

  2. changed the title [-]Dermine how to replace APC functionality[/-] [+]Replace APC functionality[/+] on Sep 8, 2014
  3. waldoj commented on Sep 8, 2014

    @waldoj
    MemberAuthor

    There's an odd bug in PHP v5.5.9, under some setups, causing it to report that APC is installed (it's not) but not providing any of APC's functionality. The effect is that the site utterly fails to work.

  4. modified the milestones: 1.0, Future on Oct 15, 2014
  5. self-assigned this
    on Oct 15, 2014
  6. krusynth commented on Nov 5, 2014

    @krusynth
    Member

    @waldoj Is this done?

  7. waldoj commented on Nov 5, 2014

    @waldoj
    MemberAuthor

    Nope. The framework is in place, but I still need to swap out every time we make a call to APC and turn it into a call to Memacached/Reddis.

  8. waldoj commented on Dec 28, 2014

    @waldoj
    MemberAuthor

    Somebody filed a bug report for Virginia Decoded that revealed that, when Memcached or Redis is running, the cache of API keys isn't being invalidated upon the activation of a new API key. It's still attempting to clear an APC cache.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions