ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Evolution of applications - from enterprise to cloudMani DoraisamyCo-Founder & Chief Technology Officer, OrangeScape@manidoraisamy
AgendaPart 1:Enterprise computing in plain EnglishPart 2:Journey from the Enterprise to Cloud
4 years of Computer Science in 2 words:ProcessData
What is a process?ProgramminglanguageProcessProgrammerThe magic that controls the processor!
What is data?DataDatabaseLives inside for years! It is called ¡°durability¡±
How do you make the data durable?ReplicateMemoryHard DiskData is stupid ¨C the ¡°mug up¡± kind.Vomits whatever was sent inside!
How does process deal with data?ObjectsStructuresVariablesProcess is intelligent. It ¡°makes sense¡± out of data.We call it the ¡°state¡±!
Summary of Part 1: Enterprise computing in plain EnglishIt is all aboutHow data is stored?How data is transformed into state?How process deals with state?
Problem 1: Data representation became a political fight!EntitiesObjectsData:Relational DatabasesProcess:Programming languages
Solution: ORM was born!ORM - Entities to Objects
Problem 2: HTTP is a born amnesia patient!This was not my job description!HTTP was meant for browsing web pages. Not to serve applications!
Solution: Identify yourselves!Mr. Gajini,	I am your girlfriend.You proposed me yesterday. Remember?Hmm.. I guess so!Once the user identifies herself (Photo = SesssionId) the server links it to the ¡°state¡± in it¡¯s ¡°memory¡±
Problem 3: When everyone wants to do the same thing..VsTime to come outafter the movie- ScalabilityTime to buy pop cornduring the movie- Performance
Solution: Building bigger exit Vsmore exitsScale OutScale upExitBigger machine sellers got greedy!Scale out replicates ¡°state¡± into multiple ¡°servers¡±
Problem 4: Cloud computing is all about ¡°Sharing¡±Sharing needs elasticity!Expand & shrink back, when you don¡¯t need them.
Solution: You can request anybody!Move ¡°state¡± to the database!Now, Send request to any server. Shut down unwanted.
Problem 5: What does the poor database do?In addition to more processing machines,App servers start pushing ¡°state¡± to the database.
Solution: You know it - Buy more donkeys!Have a master to manage donkeys (slaves) - PartitioningNoSQL originated from distributing databases.
What was I saying for the past 1 hour ?Both Enterprise & Cloud is about Process & DataHow data is stored?How data is transformed into state?How process deals with state?State in App server(Stateful)State in many servers(Scale out)Entities to Objects(ORM)Move State to DB(Stateless)Distribute database(NoSQL)
Shoot your questions!Twitter: @manidoraisamyBlog: http://manidoraisamy.blogspot.com

More Related Content

Evolution of applications - from Enterprise to Cloud

  • 1. Evolution of applications - from enterprise to cloudMani DoraisamyCo-Founder & Chief Technology Officer, OrangeScape@manidoraisamy
  • 2. AgendaPart 1:Enterprise computing in plain EnglishPart 2:Journey from the Enterprise to Cloud
  • 3. 4 years of Computer Science in 2 words:ProcessData
  • 4. What is a process?ProgramminglanguageProcessProgrammerThe magic that controls the processor!
  • 5. What is data?DataDatabaseLives inside for years! It is called ¡°durability¡±
  • 6. How do you make the data durable?ReplicateMemoryHard DiskData is stupid ¨C the ¡°mug up¡± kind.Vomits whatever was sent inside!
  • 7. How does process deal with data?ObjectsStructuresVariablesProcess is intelligent. It ¡°makes sense¡± out of data.We call it the ¡°state¡±!
  • 8. Summary of Part 1: Enterprise computing in plain EnglishIt is all aboutHow data is stored?How data is transformed into state?How process deals with state?
  • 9. Problem 1: Data representation became a political fight!EntitiesObjectsData:Relational DatabasesProcess:Programming languages
  • 10. Solution: ORM was born!ORM - Entities to Objects
  • 11. Problem 2: HTTP is a born amnesia patient!This was not my job description!HTTP was meant for browsing web pages. Not to serve applications!
  • 12. Solution: Identify yourselves!Mr. Gajini, I am your girlfriend.You proposed me yesterday. Remember?Hmm.. I guess so!Once the user identifies herself (Photo = SesssionId) the server links it to the ¡°state¡± in it¡¯s ¡°memory¡±
  • 13. Problem 3: When everyone wants to do the same thing..VsTime to come outafter the movie- ScalabilityTime to buy pop cornduring the movie- Performance
  • 14. Solution: Building bigger exit Vsmore exitsScale OutScale upExitBigger machine sellers got greedy!Scale out replicates ¡°state¡± into multiple ¡°servers¡±
  • 15. Problem 4: Cloud computing is all about ¡°Sharing¡±Sharing needs elasticity!Expand & shrink back, when you don¡¯t need them.
  • 16. Solution: You can request anybody!Move ¡°state¡± to the database!Now, Send request to any server. Shut down unwanted.
  • 17. Problem 5: What does the poor database do?In addition to more processing machines,App servers start pushing ¡°state¡± to the database.
  • 18. Solution: You know it - Buy more donkeys!Have a master to manage donkeys (slaves) - PartitioningNoSQL originated from distributing databases.
  • 19. What was I saying for the past 1 hour ?Both Enterprise & Cloud is about Process & DataHow data is stored?How data is transformed into state?How process deals with state?State in App server(Stateful)State in many servers(Scale out)Entities to Objects(ORM)Move State to DB(Stateless)Distribute database(NoSQL)
  • 20. Shoot your questions!Twitter: @manidoraisamyBlog: http://manidoraisamy.blogspot.com