TODAY’S TOPIC: Optimizing the CQ Dispatcher Cache Andrew Khoury
Customer Support Engineer, Adobe
ü For the best listening experience, we recommend using a headset
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
What’s Covered
1. 2. 3. 4.
Review of dispatcher basics Dispatcher cache flushing
Tips and tricks for improving performance
How to design your site so you get the most out of your Dispatcher
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
Prerequisite Knowledge
You should know:
§ § §
What a URL is What a Web server is What Adobe CQ is and have a basic understanding of a typical CQ architecture Basic understanding of HTTP protocol including what HTTP methods and headers are
§
Note:
§
This presentation focuses on dispatchers using Apache Web Server.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
3
What is the Dispatcher?
§
A web caching proxy and load balancing tool that works as a layer in front of your CQ instances. It can either be used as a load balancer or you can put it behind your hardware load balancer. Works as a module installed to a web server such as Apache. Works with these web servers:
§ § §
§
§ §
Apache HTTP server 2.x Microsoft IIS 6 and IIS 7.x Oracle iPlanet Web Server
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
4
What is Dispatcher?
GET /en.html
GET /en.html
Site Visitor
Dispatcher en.html
Publish
© 2012 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential.
5
Why do I need a dispatcher?
§
Why?
§ § § §
Reduce load on publish instances Improve site performance Implement load balancing Filter out unwanted traffic
§
Can’t I just use a CDN instead?
§
Yes, however…
§
You should also use