Jump to content

ProCacheSync


nbcommunication
 Share

Recommended Posts

Synchronises ProCache clearing across a multi-instance environment.

https://github.com/nbcommunication/ProCacheSync

The main purpose of this module is to allow ProCache to be used in an auto-scaling multi-instance environment.

How it works

When a page is saved and cache clearing is triggered, the page id(s) associated with that clear are saved to the database. ProCacheSync runs a check every minute via LazyCron to look for records in the database since ProCache was last cleared. If it finds any it processes them as ProCache would. Any records it finds will have been generated by a clear on another server instance, thus enabling multiple instances of ProCache to stay approximately synchronous.

This module is not yet being used in production.

Cheers,

Chris

  • Like 3
  • Thanks 2
Link to comment
Share on other sites

  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...