Evolution of applications - from Enterprise to Cloud
-
Upload
mani-doraisamy -
Category
Technology
-
view
5.064 -
download
1
description
Transcript of Evolution of applications - from Enterprise to Cloud
© 2003-10, OrangeScape Technologies Limited. Confidential 1
Evolution of applications - from enterprise to cloud
Mani DoraisamyCo-Founder & Chief Technology Officer, OrangeScape
@manidoraisamy
© 2003-10, OrangeScape Technologies Limited. Confidential 2
Agenda
• Part 1:Enterprise computing in plain English
• Part 2:Journey from the Enterprise to Cloud
© 2003-10, OrangeScape Technologies Limited. Confidential 3
4 years of Computer Science in 2 words:
Process
Data
© 2003-10, OrangeScape Technologies Limited. Confidential 4
What is a process?
Programmer
The magic that controls the processor!
Process
Programminglanguage
© 2003-10, OrangeScape Technologies Limited. Confidential 5
What is data?
Database
Lives inside for years! It is called “durability”
Data
© 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
© 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
© 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?
© 2003-10, OrangeScape Technologies Limited. Confidential 9
Problem 1: Data representation became a political fight!
Data:Relational Databases
Process:Programming languages
Objects Entities
© 2003-10, OrangeScape Technologies Limited. Confidential 10
Solution: ORM was born!
ORM - Entities to Objects
© 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!
© 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!
© 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
© 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”
© 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.
© 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.
© 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.
© 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.
© 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)
© 2003-10, OrangeScape Technologies Limited. Confidential 20
Shoot your questions!
Twitter: @manidoraisamyBlog: http://manidoraisamy.blogspot.com