Expand my Community achievements bar.

SOLVED

Explain About the role of the AEM Dispatcher

Avatar

Level 1

Adobe Experience Manager (AEM), is a java based content management system that is offered from Adobe. It is also known as Adobe CQ Content Management and was previously called Day CQ5, but was acquired from Adobe in 2010. AEM is based on a content repository and uses the JCR(Java Content Repository) to access the content in the repository. Adobe Experience Manager uses the Apache Sling framework to map request url to the corresponding node in the content repository. It also uses the OSGi (Open Service Gateway Initiative) framework to internally allow modular application development.

The dispatcher is AEM’s caching and/or load balancing tool. By using the dispatcher it can also help protect your Adobe Experience Manager server from attack since it will be using cached pages. The goal of the dispatcher is to cache as much content as possible, so it does not need to access the layout engine. Load balancing is the practice of distributing computational load of the website across several instances of AEM. The benefits of using the dispatcher as a load balancing tool is so that you gain increased processing power since the dispatcher shares document requests between several instances of AEM, and to have increased fail-safe coverage. This is accomplished by if the dispatcher does not receive responses from an instance, it will automatically relay the request to another instance.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Dispatcher in system architecture plays the role of reverse proxy which can be seen as below - 

Rohan_Garg_0-1685345475715.png

There are certain things expected from a well-functioning website like security, caching, redirects, load balancing access requests, and more. That’s where Dispatcher comes into action to serve all this functionality configured with a web server communicating between AEM and the end user.

 

Pointing to below URLs for better understanding - 

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/dispatcher.html?lang=en

https://blogs.perficient.com/2022/09/02/overview-of-dispatcher-configuration-in-apache-web-server-fo...

View solution in original post

2 Replies

Avatar

Community Advisor

Apart from caching/loadbalancing , Dispatcher can be utilized to allow or deny the requested which can be forward to publish instance.

Thanks,
Siva

Avatar

Correct answer by
Community Advisor

Dispatcher in system architecture plays the role of reverse proxy which can be seen as below - 

Rohan_Garg_0-1685345475715.png

There are certain things expected from a well-functioning website like security, caching, redirects, load balancing access requests, and more. That’s where Dispatcher comes into action to serve all this functionality configured with a web server communicating between AEM and the end user.

 

Pointing to below URLs for better understanding - 

https://experienceleague.adobe.com/docs/experience-manager-dispatcher/using/dispatcher.html?lang=en

https://blogs.perficient.com/2022/09/02/overview-of-dispatcher-configuration-in-apache-web-server-fo...