AEM Scalability

Avatar

Avatar

nsvsrk

Avatar

nsvsrk

nsvsrk

29-01-2019

Hi all,

Kindly suggest how Scalability could be increased for AEM.

I am aware of MongoMK architecture, that enables horizontal scalability.

I also looked in to AEM Scalability Issues  forum post that directs to Common product issues .

Here also I did not get much on this subject.

I highly appreciate all your support.

Thanks,

Rama.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

30-01-2019

The application design/code should not be a constraint to support scalability.

I'll take a best practices example here - The app should not have hardcoded absolute paths that would cease to work on another server. Similar approach goes for environment variables, shared content storage, session based use cases etc.

Answers (10)

Answers (10)

Avatar

Avatar

nsvsrk

Avatar

nsvsrk

nsvsrk

30-01-2019

Hi Gaurav,

When I say SW,I mean custom application code on AEM.

If I add a new node for horizontal scaling but my custom application code can't even support it because of various reasons. I would not count it as a scalable system.

Do I need to take care of Scaling in custom application code on AEM also?

Thanks,

Rama.

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

30-01-2019

When you say SW, do you mean AEM (as software) or your custom application code (as software)?

What if you add a new node for horizontal scaling but your custom application code can't even support it because of various reasons? Would that still count as a scalable system? Hope you can connect the dots and see the big picture.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

30-01-2019

The GEMS team recommends that you watch this too:

Experiments in AEM Author Scalability

Avatar

Avatar

nsvsrk

Avatar

nsvsrk

nsvsrk

30-01-2019

Hi Gaurav,

It is an on-premise installation with MongoMK.

From HW point of view or SW point of view, what all else shall I do for enhancing AEM Scaling?

Is Scaling got anything to do with SW? I can not imagine.

Thanks,

Rama.

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

30-01-2019

These are general concepts/guiding principles to achieve what you want to do. The implementation of these principles might have a range with specifics tasks based on a lot of factors e.g. if you are on Cloud vs on-premise etc.

If you've any specific questions, please share your requirements and details about your existing setup. Alternatively, you could open a ticket with DayCare and ask for specific recommendations regarding your use case.

Avatar

Avatar

nsvsrk

Avatar

nsvsrk

nsvsrk

30-01-2019

Hi Scott, I already have gone through this whitepaper.

Hi Gaurav, I understood these concepts.

With Vertical scaling, we increase HW resources of a single computer system and with Horizontal, we add extra computer systems.

Apart from these concepts, is there a measure taken from HW point of view or SW point of view, for enhancing AEM Scaling?

Appreciate your support.

Thanks,

Rama.

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

30-01-2019

What is your use case/context here? You may need to understand the concept before concluding how scaling works. E.g. TarMK Farm is also an example of scaling (read-only since its not clustered). Whatever setup you currently have, if you are able to more nodes without breaking your app etc., that would be termed as a scalable system.

Below are the definitions that might help for the concept:

scale horizontally (or scale out/in) means to add more nodes to (or remove nodes from) a system, such as adding a new computer to a distributed software application.

scale vertically (or scale up/down) means to add resources to (or remove resources from) a single node in a system, typically involving the addition of CPUs or memory to a single computer

source: Scalability - Wikipedia

Autoscaling - Wikipedia

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

30-01-2019

Avatar

Avatar

nsvsrk

Avatar

nsvsrk

nsvsrk

30-01-2019

Hi Gaurav,

Thanks for responding.

I guess that Scalability-In is for cutting down on usage volume and Scalability-Out is for increasing usage volume.

I am concerned about increasing usage volume.

I  have been through that URL already and concluded that Mongo MK supports horizontal scaling.

This is indeed a great input.

Are there any other inputs you could offer on Scaling please?

Thanks,

Rama.

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

30-01-2019

What kind of scalability (in/out) are you looking for? Could you elaborate on it?

Does this help - Recommended Deployments ?