Expand my Community achievements bar.

SOLVED

AEM 6.1 - Store data (in session?)

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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.

Avatar

Administrator

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