Replies: 4 comments 2 replies
|
Hi @rwahyudi, thanks for the questions! If Redis is unavailable: MilliCache degrades gracefull. It logs the error and serves pages as uncached WordPress. Caching resumes when the connection recovers. Replication/cluster: Not supported yet. We connect to a single endpoint today. Working option today: run KeyDB active-active and point each node at its local instance (MC_STORAGE_HOST=127.0.0.1). That gives you a local instance per node, replicated to its peer, with no client-side changes. I’m happy to address client-side replication for v1.7.0 (next couple of weeks). I’ll follow up here when it lands. |
|
Thank you so much for the quick response and pointer to KeyDB! In regards to failure behavior I think there should be timeout configuration and the default should be < 1 second. Looking at the diagram - unresponsive storage backend will cause a double whammy effect :
Ideally we should also have a flag for failed backend so that it can be avoided for the next X minutes. Maybe something like : ( vibe code result ) |
|
@rwahyudi, could you please try For the new constants, |
|
@rwahyudi I hope you're caching happily now! I just wanted to mention that MilliCache Pro has been released in the meantime. It offers full replication and Sentinel support for Redis-compatible backends, as well as a dedicated UI. |
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to setup replication where each wordpress node has its own redis copy and have a master somewhere else.
predis this could be achieved with :
$parameters = ['tcp://master.example.com?role=master', 'tcp://localhost '];How do we do this in milliCache ?
In regards to timeout behaviour - what happen to the page if redis is not accessible ? Will it stop user loading the page and erroring ?
All reactions