Store data request on live server. Need to refresh data on all pub servers

Avatar

Avatar
Validate 1
Level 2
adobecq-venkat
Level 2

Likes

3 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
adobecq-venkat
Level 2

Likes

3 likes

Total Posts

28 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
adobecq-venkat
Level 2

03-05-2021

Hi 

I wanted to store order data on live site. This data should be reflected on pub servers for adding additional orders in sequence.

 

I am not sure reverse replication is a good idea. What if multiple users submits at the same time to different pub servers.

 

Is database only solution?

any AEM related solutions available?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
Vaibhavi
MVP

03-05-2021

Hi @adobecq-venkat , 

You can use Sling Content Distribution to meet the above requirement . This distribute Sling resources between different Sling instances. This can be used to distribute/sync content between AEM Author and Publishers for different scenarios.

  • "pushing" from Sling instance A to Sling instance B
  • "pulling" from Sling instance B to Sling instance A
  • "synchronizing" Sling instances A and B via a (third) coordinating instance C

Also to answer user question, when multiple users submits at same time to different publisher, content will be pulled and synchronized between  all the publisher instance. 

For more details please have a check on below documents 

https://github.com/apache/sling-old-svn-mirror/blob/trunk/contrib/extensions/distribution/README.md

https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/sync.html?lang=...

https://medium.com/tech-learnings/sling-content-distribution-in-aem-part-2-3a66933be45d

https://medium.com/tech-learnings/sling-content-distribution-in-aem-part-3-sync-distribution-sync-co...

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 50
Employee
markus_bulla_adobe
Employee

Likes

148 likes

Total Posts

131 posts

Correct reply

62 solutions
Top badges earned
Affirm 50
Boost 100
Applaud 25
Affirm 25
Boost 50
View profile

Avatar
Affirm 50
Employee
markus_bulla_adobe
Employee

Likes

148 likes

Total Posts

131 posts

Correct reply

62 solutions
Top badges earned
Affirm 50
Boost 100
Applaud 25
Affirm 25
Boost 50
View profile
markus_bulla_adobe
Employee

04-05-2021

Hi @adobecq-venkat!

While there are different ways to store and synchronize user generated data on/between publish instances (@Vaibhavi already pointed out Sling Content Distribution), I would not recommend any of them for actual order data in terms of e-commerce or similar transactional data. AEM and especially the publish tier is not the right place to manage or store transactions and orders.

 

For online stores, AEM is usually integrated with some kind of e-commerce system (see [1]), e. g. leveraging the Commerce Integration Framework (CIF) [2]. There are integrations available e. g. for Adobe Commerce (aka Magento) [3] as well as many 3rd party e-commerce systems.

 

I would highly recommend to re-evaluate your requirements and check if a different solution approach fits better than storing orders in AEM. As a general rule, storing personally identifiable information (PII) within AEM is recommended to be kept to the absolute minimum and avoided whenever it is possible.

 

If you have to store order data, I would suggest to leverage an external system (e. g. e-commerce system or in simpler cases maybe a dedicated database) to store and manage this kind of data.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-65/commerce/home.html

[2] https://github.com/adobe/aem-core-cif-components

[3] https://experienceleague.adobe.com/docs/experience-manager-65/commerce/integrations/magento.html