evolution of applications - from enterprise to cloud
DESCRIPTION
My presentation at Anna University & Cy BarCamp: Technologies behind Enterprise & Cloud computing in plain english.TRANSCRIPT
![Page 1: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/1.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 1
Evolution of applications - from enterprise to cloud
Mani DoraisamyCo-Founder & Chief Technology Officer, OrangeScape
@manidoraisamy
![Page 2: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/2.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 2
Agenda
• Part 1:Enterprise computing in plain English
• Part 2:Journey from the Enterprise to Cloud
![Page 3: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/3.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 3
4 years of Computer Science in 2 words:
Process
Data
![Page 4: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/4.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 4
What is a process?
Programmer
The magic that controls the processor!
Process
Programminglanguage
![Page 5: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/5.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 5
What is data?
Database
Lives inside for years! It is called “durability”
Data
![Page 6: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/6.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 6
How do you make the data durable?
Memory
Data is stupid – the “mug up” kind.Vomits whatever was sent inside!
Hard Disk Replicate
![Page 7: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/7.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 7
How does process deal with data?
Variables
Process is intelligent. It “makes sense” out of data.We call it the “state”!
Structures
Objects
![Page 8: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/8.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 8
Summary of Part 1: Enterprise computing in plain English
It is all about
• How data is stored?
• How data is transformed into state?
• How process deals with state?
![Page 9: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/9.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 9
Problem 1: Data representation became a political fight!
Data:Relational Databases
Process:Programming languages
Objects Entities
![Page 10: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/10.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 10
Solution: ORM was born!
ORM - Entities to Objects
![Page 11: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/11.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 11
Problem 2: HTTP is a born amnesia patient!
HTTP was meant for browsing web pages. Not to serve applications!
This was not my job description!
![Page 12: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/12.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 12
Solution: Identify yourselves!
Once the user identifies herself (Photo = SesssionId) the server links it to the “state” in it’s “memory”
Mr. Gajini,I am your girlfriend.You proposed me yesterday. Remember?
Hmm.. I guess so!
![Page 13: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/13.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 13
Problem 3: When everyone wants to do the same thing..
Time to buy pop cornduring the movie
- Performance
Time to come outafter the movie
- Scalability
Vs
![Page 14: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/14.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 14
Solution: Building bigger exit Vs more exits
Scale up Scale Out
Bigger machine sellers got greedy!
Exit
Scale out replicates “state” into multiple “servers”
![Page 15: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/15.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 15
Problem 4: Cloud computing is all about “Sharing”
Sharing needs elasticity!Expand & shrink back, when you don’t need them.
![Page 16: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/16.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 16
Solution: You can request anybody!
Move “state” to the database!Now, Send request to any server. Shut down unwanted.
![Page 17: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/17.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 17
Problem 5: What does the poor database do?
In addition to more processing machines,App servers start pushing “state” to the database.
![Page 18: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/18.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 18
Solution: You know it - Buy more donkeys!
Have a master to manage donkeys (slaves) - PartitioningNoSQL originated from distributing databases.
![Page 19: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/19.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 19
What was I saying for the past 1 hour ?
• Both Enterprise & Cloud is about Process & Data● How data is stored?● How data is transformed into state?● How process deals with state?
Entities to Objects(ORM)
State in many servers(Scale out)
Move State to DB(Stateless)
State in App server(Stateful)
Distribute database(NoSQL)
![Page 20: Evolution of applications - from Enterprise to Cloud](https://reader034.vdocuments.mx/reader034/viewer/2022052619/556205f6d8b42ae04e8b5acc/html5/thumbnails/20.jpg)
© 2003-10, OrangeScape Technologies Limited. Confidential 20
Shoot your questions!
Twitter: @manidoraisamyBlog: http://manidoraisamy.blogspot.com