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
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)