3. 4 years of Computer Science in 2 words: Process Data
4. What is a process? Programming language Process Programmer The magic that controls the processor!
5. What is data? Data Database Lives inside for years! It is called “durability”
6. How do you make the data durable? Replicate Memory Hard Disk Data is stupid – the “mug up” kind. Vomits whatever was sent inside!
7. How does process deal with data? Objects Structures Variables Process is intelligent. It “makes sense” out of data. We call it the “state”!
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?
9. Problem 1: Data representation became a political fight! Entities Objects Data: Relational Databases Process: 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.. Vs Time to come out after the movie - Scalability Time to buy pop corn during the movie - Performance
14. Solution: Building bigger exit Vsmore exits Scale Out Scale up Exit Bigger 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) - Partitioning NoSQL originated from distributing databases.
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? 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: @manidoraisamy Blog: http://manidoraisamy.blogspot.com