nbcommunication Posted April 17, 2023 Share Posted April 17, 2023 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 3 2 Link to comment Share on other sites More sharing options...
wbmnfktr Posted April 18, 2023 Share Posted April 18, 2023 Yet again... this sounds super AWESOME! Link to comment Share on other sites More sharing options...
Fuzen Posted May 5, 2023 Share Posted May 5, 2023 I may never use this but it sounds like an amazing contribution in instances that you describe. Kudos! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now