design suggestion for REST API in AEM 6.5

Avatar

Avatar

helloosuman

Avatar

helloosuman

helloosuman

08-04-2021

Our company already use adobe managed services for our contents. We have 1 author n 2 publishers instances and are hosted in adobe managed AWS. We have few REST API's  exposed for other applications  through author instance. This design have been implemented by adobe common services team. Existing design has 2 major flaws. With increased api calls, author instance performance has gone down. Also, it's not scalable. Additionally, new design should be able to alert consumer if there is any change in the actual asset during/after publish.  Please advise best solution for the above problem. If you can share architecture solution diagram for the above solution, that'll be really great.

Replies

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

11-04-2021

@asutosh_jena @Vijayalakshmi_S @vanegi @Arun_Patidar  Request your help.

-Kautuk

Avatar

Avatar

asutosh_jena

Avatar

asutosh_jena

asutosh_jena

12-04-2021

Hi @helloosuman 

Could you please provide some more information for the below questions:

  1. What is the nature of the REST API that is exposed for other applications via author? What it actually does?
  2. Is it exposing assets for any external domain?

Ideally the REST API should have been exposed from the publish instance over an ALB which will distribute the load in between the app servers(i.e. 2 publish instance). Author instance should only be used to author, update and manage the content for the website and should not be directly exposed to outside.

 

Thanks!

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
MVP

12-04-2021

Hi,

I am not sure ehy third party consumer API are fecthing date from Author.

It should be on the publisher to improve performance(configured for end user load but not for author and multiple instance), I think if you move your API to publish then it may work from a performance point of view.

The alert you can set up based on the launcher(jcr or sling even + email service).