How to clear cache in a cross application

Слайд 2

How to clear cache in a cross application

How to clear cache in

How to clear cache in a cross application How to clear cache
a cross application, multi server environment in Symfony

Visit us: http://www.brainvire.com/symfony-development-services

Слайд 3

Performance Optimization

The many ways in Symfony to accelerate performance
Your environment consists of

Performance Optimization The many ways in Symfony to accelerate performance Your environment
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

Слайд 4

great opportunities for performance optimization

You must device a caching strategy
Your database

great opportunities for performance optimization You must device a caching strategy Your
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

Слайд 5

Method 1 for cache clearing and its challenges in a multi server

Method 1 for cache clearing and its challenges in a multi server
environment

Let’s assume that you use sfFileCache
As your caching strategy
Now the challenge is to clear either all or parts of your cache
Well, you might want to use symfony: cc or the sfViewCacheManager

Visit us: http://www.brainvire.com/symfony-development-services

Слайд 6

This essentially will not work due to the following reasons

This method when

This essentially will not work due to the following reasons This method
used, does not work across applications
If you trigger it from your backend application
it does not allow you to clear cache on the front end

Visit us: http://www.brainvire.com/symfony-development-services

Слайд 7

Secondly, This method works

only with the current server that you are working

Secondly, This method works only with the current server that you are
on
It poses a challenge for multi server environments
In your cluster will still maintain the older version of the cache

Visit us: http://www.brainvire.com/symfony-development-services

Слайд 8

Method 2 for Cross Application cache clearing across multiple servers

How to clear

Method 2 for Cross Application cache clearing across multiple servers How to
cache in a cross application
Multi server environment in Symfony across applications
Can access both the servers simultaneously
A centralized database

Visit us: http://www.brainvire.com/symfony-development-services

Слайд 9

Method 2 for Cross Application cache clearing across multiple servers

You can write

Method 2 for Cross Application cache clearing across multiple servers You can
all the cache clearing rules
process the pending rules
This solution works well on highly frequented
The mbpDistributedCachePlugin optimally serves
By symfony plugin: install mbpDistributedCachePlugin

Visit us: http://www.brainvire.com/symfony-development-services

Имя файла: How-to-clear-cache-in-a-cross-application.pptx
Количество просмотров: 132
Количество скачиваний: 0