Expand my Community achievements bar.

SOLVED

In which use case Multiple renderer is used in Dispatcher

Avatar

Level 6
 

I am trying to understand when it make sense to use multiple renderer in dispatcher.any configuration. For example I have this setup.

On Dispatcher-1 server:

 

 

 /renders {
   /0001 {
    /hostname "https://publish-1.com"
    /port "8443"
      }
  /0002 {
    /hostname "https://publish-2.com"
    /port "8443"
      }
  }  

 

 

On Dispatcher-2 server:

 

 

/renders {
   /0001 {
    /hostname "https://publish-1.com"
    /port "8443"
      }
  /0002 {
    /hostname "https://publish-2.com"
    /port "8443"
      }
  }  

 

 

Now as per my understanding dispatcher will forward the traffic to either publish-1 or publish-2 server depending on the time taken by the respective publish server.

When I look into this page then I see there is no configuration which makes it possible to direct the traffic from Dispatcher-1 to Publish-2. It is always Dispatcher-1 to Publish-1 or Dispatcher-2 to Publish-2. If Publish-2 goes down then the request landing on Dispatcher-2 will not be processed.

Could you please clarify what is the use of only one-to-one setup and when it make sense to have one-to-many setup?

Thanks for your help!

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hello @Sam205505050,

Your configuration looks correct, The following example /renders section distributes render requests equally among two AEM instances (Adobe documentation) :

 

/renders
  {
    /myFirstRenderer
      {
      /hostname "https://publish-1.com"
      /port "8443"
      }
    /mySecondRenderer
      {
      /hostname "https://publish-2.com"
      /port "8443"
      }
  }

 

We would need to further investigate your issue. From your AEM staging / development environment, you can change the apache web server's dispatcher configuration to show "error" logs. After the dispatcher is restarted, subsequent requests will be visible as new entries in the log file; you should be able to see detailed information about errors and requests here.
 
From a finger in the air guess, your dispatcher might not be able to access one of the publishers, therefore only one of the publishers can be resolved.
 
Regards,
Brian.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hello @Sam205505050,

Your configuration looks correct, The following example /renders section distributes render requests equally among two AEM instances (Adobe documentation) :

 

/renders
  {
    /myFirstRenderer
      {
      /hostname "https://publish-1.com"
      /port "8443"
      }
    /mySecondRenderer
      {
      /hostname "https://publish-2.com"
      /port "8443"
      }
  }

 

We would need to further investigate your issue. From your AEM staging / development environment, you can change the apache web server's dispatcher configuration to show "error" logs. After the dispatcher is restarted, subsequent requests will be visible as new entries in the log file; you should be able to see detailed information about errors and requests here.
 
From a finger in the air guess, your dispatcher might not be able to access one of the publishers, therefore only one of the publishers can be resolved.
 
Regards,
Brian.