Microservices for AEM by Maciej Majchrzak

42
Microservices Architecture for AEM Maciej Majchrzak / majchrzak_m

Transcript of Microservices for AEM by Maciej Majchrzak

Page 1: Microservices for AEM by Maciej Majchrzak

Microservices Architecture for AEM

Maciej Majchrzak / majchrzak_m

Page 2: Microservices for AEM by Maciej Majchrzak

System architecture

Page 3: Microservices for AEM by Maciej Majchrzak

What?

Page 4: Microservices for AEM by Maciej Majchrzak

What? With what?

Page 5: Microservices for AEM by Maciej Majchrzak

What? With what? How?

Page 6: Microservices for AEM by Maciej Majchrzak

What? With what? How?

What next?

Page 7: Microservices for AEM by Maciej Majchrzak

http://woms.dyndns.org/fashion-designer-clothing.html

Page 8: Microservices for AEM by Maciej Majchrzak

Scalability

Page 9: Microservices for AEM by Maciej Majchrzak

Simple AEM system

Page 10: Microservices for AEM by Maciej Majchrzak
Page 11: Microservices for AEM by Maciej Majchrzak

Scalability (1)

Caching layer

Page 12: Microservices for AEM by Maciej Majchrzak

Scalability (1)

Caching layer

Page 13: Microservices for AEM by Maciej Majchrzak

Scalability (2)

AEM layer

Page 14: Microservices for AEM by Maciej Majchrzak

Simple AEM system

Complex system

Page 15: Microservices for AEM by Maciej Majchrzak
Page 16: Microservices for AEM by Maciej Majchrzak

Scalability

Page 17: Microservices for AEM by Maciej Majchrzak

• Development

• Deployment

• Scalability

• Time to market and cost

Challenges

Page 18: Microservices for AEM by Maciej Majchrzak

Microservices architecture

Page 19: Microservices for AEM by Maciej Majchrzak

Architecture

Page 20: Microservices for AEM by Maciej Majchrzak
Page 21: Microservices for AEM by Maciej Majchrzak
Page 22: Microservices for AEM by Maciej Majchrzak
Page 23: Microservices for AEM by Maciej Majchrzak

{{ /search/adverts }}

Page 24: Microservices for AEM by Maciej Majchrzak
Page 25: Microservices for AEM by Maciej Majchrzak
Page 26: Microservices for AEM by Maciej Majchrzak
Page 27: Microservices for AEM by Maciej Majchrzak
Page 28: Microservices for AEM by Maciej Majchrzak

Architecture Scalability

Page 29: Microservices for AEM by Maciej Majchrzak
Page 30: Microservices for AEM by Maciej Majchrzak

Architecture Scalability

Performance

Page 31: Microservices for AEM by Maciej Majchrzak

Traditional approach

Page 32: Microservices for AEM by Maciej Majchrzak

Microservices approach

Page 33: Microservices for AEM by Maciej Majchrzak

TraditionalMSA

Page 34: Microservices for AEM by Maciej Majchrzak

Architecture Scalability

Performance Development

Page 35: Microservices for AEM by Maciej Majchrzak

https://flic.kr/p/4gLRqc

Benefits

Page 36: Microservices for AEM by Maciej Majchrzak

• Improved scalability – you can scale a part of the system which really needs it. You don’t need additional AEM

licences to scale heavy-processing part of the system, like search, user management, etc.

• Faster development – you can use technology which best suits your needs, you’re no longer limited to AEM/OSGi

stack. You can also separate your teams easily as they may work on separate applications with seperate technology stacks.

• Better performance – the system is performing better and more stable than a pure AEM-based one

• Increased agility – thanks to well seperated services any change introduction is simpler and takes less time

Benefits

Page 37: Microservices for AEM by Maciej Majchrzak

Benefits Drawbacks

Page 38: Microservices for AEM by Maciej Majchrzak

• More complicated infrastructure

• More discipline needed during design and services maintenance

Drawbacks

Page 39: Microservices for AEM by Maciej Majchrzak

Benefits Drawbacks

Success factors

Page 40: Microservices for AEM by Maciej Majchrzak

• Infrastructure provisioning and deployment automation – tools like Chef and Vagrant are your friends

• Be careful when deciding what should be a separate service

Success factors

Page 41: Microservices for AEM by Maciej Majchrzak

Benefits Drawbacks

Success factors Take-

aways

Page 42: Microservices for AEM by Maciej Majchrzak

Q&Amajchrzak_m