# Scaling with microservices architecture and multi-cloud platforms

- Speaker: [Aviran Mordo](/wiki/speakers/aviran-mordo.md)
- Event: [Reversim Summit 2015](/wiki/years/2015.md)
- Video: https://www.youtube.com/watch?v=AKuCYI7pKt0
- Transcript: [/transcripts/2015/23-AKuCYI7pKt0.md](/transcripts/2015/23-AKuCYI7pKt0.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Scalability](/wiki/topics/scalability.md), [Architecture](/wiki/topics/architecture.md), [Microservices](/wiki/topics/microservices.md), [Cloud Computing](/wiki/topics/cloud.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

The speaker discusses how a major web-building platform transitioned from a monolithic architecture to a microservices architecture across multiple cloud providers to scale effectively. The talk highlights architectural strategies such as separating concerns by business domain and SLA, handling data storage with immutable JSON and database archiving, and optimizing public rendering performance by offloading tasks to the client. The audience learns practical approaches to managing data consistency, achieving high availability, and overcoming the complexities of distributed systems.

## Key points

- [2:11](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=131s) The company originally started as a monolithic startup using a single Tomcat server and a MySQL database.
- [4:56](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=296s) The monolith eventually slowed down development, as changes in one part of the system could easily break other features and cause large QA cycles.
- [6:09](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=369s) The system was broken down into microservices based on business concerns and SLAs rather than arbitrary splitting.
- [16:42](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=1002s) The editor segment stores website data as immutable JSON revisions using partitioned and archived databases to handle massive amounts of data.
- [21:01](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=1261s) Website saving uses an application-level transaction mechanism rather than heavy database transactions to ensure reliability.
- [29:24](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=1764s) The public rendering segment utilizes CQRS patterns and heavy client-side processing to deliver ultra-fast website loading times.
- [34:48](https://www.youtube.com/watch?v=AKuCYI7pKt0&t=2088s) Multi-cloud platforms and automated failover mechanisms across data centers and CDNs ensure high availability and disaster recovery.

## Takeaways

- Break down monolithic systems into microservices based on specific business domains and SLAs.
- Replace heavy database transactions with application-level consistency and immutable data structures.
- Optimize read performance and scalability by offloading rendering logic to client browsers.
- Implement multi-layer redundancy and automated failovers across CDNs and cloud providers for high availability.

## Questions this talk answers

- How can you handle data transactions across multiple microservices without relying on heavy database transactions?
- What is an effective strategy for archiving old or inactive data in large-scale applications?
- How do you optimize public web page rendering performance using client-side execution?

## Technologies

MySQL, MongoDB

## Tags

architecture, high availability, microservices, multi-cloud, performance, scalability
