AEM Scalability | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Jan 31, 2019 4:16 AM UTC

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.

11 replies

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
Jan 31, 2019 4:16 AM UTC

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.

Translate
nsvsrkAuthor
Level 8
Jan 31, 2019 3:58 AM UTC

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.

Translate
Gaurav-Behl
Level 10
Jan 30, 2019 6:49 PM UTC

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.

Translate
smacdonald2008
Level 10
Jan 30, 2019 6:42 PM UTC

The GEMS team recommends that you watch this too:

Experiments in AEM Author Scalability

Translate
nsvsrkAuthor
Level 8
Jan 30, 2019 3:34 PM UTC

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.

Translate
Gaurav-Behl
Level 10
Jan 30, 2019 3:27 PM UTC

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.

Translate
nsvsrkAuthor
Level 8
Jan 30, 2019 3:16 PM UTC

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.

Translate
Gaurav-Behl
Level 10
Jan 30, 2019 3:03 PM UTC

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

Translate
nsvsrkAuthor
Level 8
Jan 30, 2019 12:44 PM UTC

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.

Translate