You are on page 1of 10

How to clear cache in a

cross application
Brainvire Infotech Pvt. Ltd
www.brainvire.com
Visit us: http://www.brainvire.com/symfony-development-services

How to clear cache in a cross application
How to clear cache in a cross
application, multi server
environment in Symfony
Visit us: http://www.brainvire.com/symfony-development-services

Performance Optimization
The many ways in Symfony to accelerate performance
Your environment consists of a multi-server
You use two or more servers that share common
storage
Sharing the same database, or a single server
Visit us: http://www.brainvire.com/symfony-development-services

great opportunities for performance
optimization
You must device a caching strategy
Your database is centralized
The more vital for you to clear unnecessary cached
Symfony installation run optimally with good performance
Visit us: http://www.brainvire.com/symfony-development-services

ethod ! for cache clearing and its
challenges in a multi server environment
"et#s assume that you use sf$ile%ache
&s your caching strategy
'ow the challenge is to clear either all or parts of
your cache
(ell, you might want to use symfony) cc or the
sf*iew%acheanager
Visit us: http://www.brainvire.com/symfony-development-services

This essentially will not wor+ due to the
following reasons
This method when used, does not wor+ across
applications
,f you trigger it from your bac+end application
it does not allow you to clear cache on the
front end
Visit us: http://www.brainvire.com/symfony-development-services

Secondly, This method wor+s
only with the current server that
you are wor+ing on
,t poses a challenge for multi
server environments
,n your cluster will still maintain the
older version of the cache
Visit us: http://www.brainvire.com/symfony-development-services

ethod - for %ross &pplication cache
clearing across multiple servers
How to clear cache in a cross application
ulti server environment in Symfony across
applications
%an access both the servers simultaneously
& centralized database
Visit us: http://www.brainvire.com/symfony-development-services

ethod - for %ross &pplication cache
clearing across multiple servers
You can write all the cache clearing rules
process the pending rules
This solution wor+s well on highly fre.uented
The mbp/istributed%achePlugin optimally serves
0y symfony plugin) install mbp/istributed%achePlugin
Visit us: http://www.brainvire.com/symfony-development-services

%ontact 1s
https)22www3faceboo+3com20rainvire
https)22twitter3com20rainvire
http)22google3com240rainvire
http)22www3lin+edin3com2company2brainvire-
infotech-pvt-ltd
%ontact ,nfo ) !-56!-789-9-95
:mail : info;brainvire3com
(ebsite ) www3brainvire3com
Visit us: http://www.brainvire.com/symfony-development-services

You might also like