AEM 6.1 - Store data (in session?) | Community
Skip to main content
New Participant
October 16, 2015
Solved

AEM 6.1 - Store data (in session?)

  • October 16, 2015
  • 2 replies
  • 1461 views

In our AEM instance we are getting data from an external system, per user this data is the same during his session. So it make sense to store this data in their session / cache or something like that. With another CMS we used before we always stored such data in the session.

Is that also the right solution here for AEM 6.1 or are there better alternatives?

Call 1 that needs to be stored: Size in bytes: 34597

Call 2 that needs to be stored: Size in bytes: 2201

Thanks for your response.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

AEM works on stateless !! So if you use session in AEM, then you may have to think about 'Sticky Sessions' so you dont loose your session data !  Using cache is also one of the solution but it depends on your usecase and application architecture.

2 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

AEM works on stateless !! So if you use session in AEM, then you may have to think about 'Sticky Sessions' so you dont loose your session data !  Using cache is also one of the solution but it depends on your usecase and application architecture.

kautuk_sahni
Employee
October 16, 2015

Hi Danny Gloudemans

 

Please go through the article mentioned below, it is covering one of the architecture of caching.

The major thing covered in this article include designing part of caching, client side storage, CDN, Varnish (server on steroid) etc.

Link:- http://scratchpad101.com/2014/07/25/caching-architecture-adobe-aem-part-1/

I hope this would help you to scale and to optimize performance.

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni