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
BedrockMission!

Learn More

View all

Sign in to view all badges

In which use case Multiple renderer is used in Dispatcher

Avatar

Avatar
Validate 25
Level 4
Sam205505050
Level 4

Likes

26 likes

Total Posts

200 posts

Correct Reply

30 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 3
Ignite 1
View profile

Avatar
Validate 25
Level 4
Sam205505050
Level 4

Likes

26 likes

Total Posts

200 posts

Correct Reply

30 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Ignite 3
Ignite 1
View profile
Sam205505050
Level 4

05-12-2020

 

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!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

591 likes

Total Posts

572 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

591 likes

Total Posts

572 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

05-12-2020

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.

Answers (1)

Answers (1)

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,089 likes

Total Posts

3,123 posts

Correct Reply

1,063 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

09-12-2020

I wrote a blog article about this question some time ago: https://cqdump.wordpress.com/2015/01/12/connecting-dispatchers-and-publishers/