Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Does AEM support using Nginx as a dispatcher server?

jkpanera
Level 5
Level 5

Does AEM support using Nginx as a dispatcher server?

1 Accepted Solution
Vish_dhaliwal
Correct answer by
Employee
Employee

Hello,

There are no plans on supporting AEM Dispatcher on Nginx. But you can use Nginx in front of the Dispatcher as an additional caching layer.

Regards,

Vishu

View solution in original post

6 Replies
Vish_dhaliwal
Correct answer by
Employee
Employee

Hello,

There are no plans on supporting AEM Dispatcher on Nginx. But you can use Nginx in front of the Dispatcher as an additional caching layer.

Regards,

Vishu

jkpanera
Level 5
Level 5

I believe that there was a formal request to develop a dispatcher module for Nginx. What happened? Why did you guys decide not to implement it?

Vish_dhaliwal
Employee
Employee

Yes, the internal tracking number is DISP-338 but it is deferred at this point.

lnl-jlanssie
Level 2
Level 2

Have there been any developments on NginX track yet?

 

If so, where can we follow this? 

Is there a way to show our interest and support for this feature request?

jkpanera
Level 5
Level 5

Well, let me give you some motivation. Nginx is an all around superior product to Apache.

In the context of AEM, it has particular advantages.

(Please correct me if I am wrong about any of this.)

The way Apache works is that when a thread handles a request, it blocks on submitting the request to publish. Not a big deal when load is low and publish responds quickly. However, when load gets high and publish responds slowly or not at all, these blocking threads keep Apache from responding at al.

Nginx uses a task queue that frees up threads rather than blocking waiting for a response.

https://www.nginx.com/blog/thread-pools-boost-performance-9x/

This would give AEM an extra level of resiliency where dispatcher could serve pre-cached content even when publish is under heavy load.

jdd-1958
Level 1
Level 1

Hi,

I agree with this requests, but not only for the purposes described above, but also because development on both Apache and Dispatcher has slowed (e.g. where is the new dispatcher plugin for Windows?).

 

Nginx is a superior solution and wins over Apache in most studies:

https://serverguy.com/comparison/apache-vs-nginx/

https://www.nginx.com/blog/nginx-vs-apache-our-view/

https://www.plesk.com/blog/various/nginx-vs-apache-which-is-the-best-web-server/

https://www.hostingadvice.com/how-to/nginx-vs-apache/

 

All that being said, we also use Varnish, which is largely ignored as a solution to AEM performance issues. Along with a lot of other advantages, Varnish offers ESI, which is not available on Apache or CloudFront...

 

Seems like visiting modern day technologies might be helpful. I hope you can share a road map for how Adobe plans (if they do) to address these items.

 

David