Hello,
when using Redis, wondering if "Delete cache" in Rotation - Specials does:
1). delete all cache at server level for all sites regardless if they're independent installs or slaves
2). deletes only that site's specific cache
3). deletes the cache for all sites that are part of that master-slave scheme
Deleting Redis cache - separate for each site?
Re: Deleting Redis cache - separate for each site?
Hi,
It wipes out current redis DB (redis can have up to 16 dbs)
So if all of your sites use the same db - yes
If you have a separate for each - no.
It wipes out current redis DB (redis can have up to 16 dbs)
So if all of your sites use the same db - yes
If you have a separate for each - no.
Don't forget to run script update
Re: Deleting Redis cache - separate for each site?
Typically sites in a master-slave scj scheme use the same Redis db?
Re: Deleting Redis cache - separate for each site?
Redis DB is setup for each site separately so it doesn't matter whether it's a master-slave or 2 separate sites. It all depends on your setup.
Don't forget to run script update
Re: Deleting Redis cache - separate for each site?
I'm using
$config['redis_database'] = 0
across all sites.
(Server/site) performance wise would you advise on using the same Redis db for all sites or it's better to use separate Redis dbs?
$config['redis_database'] = 0
across all sites.
(Server/site) performance wise would you advise on using the same Redis db for all sites or it's better to use separate Redis dbs?
Re: Deleting Redis cache - separate for each site?
While I have you here ), one more related question:
The bigger the "Cache time, seconds" in Rotation Settings, the more server memory Redis will consume?
The bigger the "Cache time, seconds" in Rotation Settings, the more server memory Redis will consume?
Re: Deleting Redis cache - separate for each site?
Somebody's always here
so anytime )
Well, yes and no.
Cache size mostly depends on site layout, amount of galleries and so. Cache time affects the size as well but not that much.
But amount of memory used by redis is setup in redis config ...
so anytime )
Well, yes and no.
Cache size mostly depends on site layout, amount of galleries and so. Cache time affects the size as well but not that much.
But amount of memory used by redis is setup in redis config ...
Don't forget to run script update
Re: Deleting Redis cache - separate for each site?
Thanks for the reply, in case you missed my previous question:
I'm using
$config['redis_database'] = 0
across all sites.
(Server/site) performance wise would you advise on using the same Redis db for all sites or it's better to use separate Redis dbs?
I'm using
$config['redis_database'] = 0
across all sites.
(Server/site) performance wise would you advise on using the same Redis db for all sites or it's better to use separate Redis dbs?
Re: Deleting Redis cache - separate for each site?
I think differences here can be ignored (if any exist)
Don't forget to run script update







