Web applications scalability prolems - eslam mahmoud

22
Web applications Scalability problems CAT Scope 12 Eslam Mahmoud http://eslam.me

Transcript of Web applications scalability prolems - eslam mahmoud

Page 1: Web applications scalability prolems  - eslam mahmoud

Web applicationsScalability problems

CAT Scope 12

Eslam Mahmoud

http://eslam.me

Page 2: Web applications scalability prolems  - eslam mahmoud

me

• Founder http://HuntEvents.net

• Web Developer http://AqarMap.com

• Started in software 2005

• My website http://eslam.me

Page 3: Web applications scalability prolems  - eslam mahmoud

What is Scalability ?

Page 4: Web applications scalability prolems  - eslam mahmoud

What is Scalability ?

“doing what you do in a bigger way”

Page 5: Web applications scalability prolems  - eslam mahmoud

When to start thinking about Scalability ?

Page 6: Web applications scalability prolems  - eslam mahmoud

When to start thinking about Scalability ?

“From Day 0”

Page 7: Web applications scalability prolems  - eslam mahmoud

How to think in Scalability ?

Page 8: Web applications scalability prolems  - eslam mahmoud

How to think in Scalability ?

the golden rule “Simplicity”

Page 9: Web applications scalability prolems  - eslam mahmoud

Scaling is like replacing all components on a car while driving it at 100 km/h

Page 10: Web applications scalability prolems  - eslam mahmoud

40+ Million user

*http://techcrunch.com/2012/04/12/how-to-scale-a-1-billion-startup-a-guide-from-instagram-co-founder-mike-krieger/

Page 11: Web applications scalability prolems  - eslam mahmoud

Do you really need to scale ?

Page 12: Web applications scalability prolems  - eslam mahmoud

Do you really need to scale ?may be you just need a fix…

Page 13: Web applications scalability prolems  - eslam mahmoud

How to investigate ?

Page 14: Web applications scalability prolems  - eslam mahmoud

How to investigate ?•Database ( Longest query & Most used query)•Database connections•Error logs ( Database & Logic )•CPU ( Processing/User & Zompi )•Large files•When to cach & what to cach

Page 15: Web applications scalability prolems  - eslam mahmoud

Scalability lessons

Page 16: Web applications scalability prolems  - eslam mahmoud

Lesson #0 : Simplicity

Page 17: Web applications scalability prolems  - eslam mahmoud

Lesson #1 : Don’t over design

Page 18: Web applications scalability prolems  - eslam mahmoud

Lesson #2 : Iterate in scaling

Page 19: Web applications scalability prolems  - eslam mahmoud

Lesson #3 : Monitor every thing & ask

Page 20: Web applications scalability prolems  - eslam mahmoud

Lesson #4 : One tool for each task

Page 21: Web applications scalability prolems  - eslam mahmoud

Lesson #5 : surround yourself with great advisors

Page 22: Web applications scalability prolems  - eslam mahmoud

Smile :)