How CloudComputing                           changed Mobile                             Development                       ...
Who am I?          ✦      Author          ✦      Building                 Applications in                 the Cloud       ...
Author          ✦      Now available in                 multiple                 languages          ✦      Available throu...
Newstex VP          ✦      VP of Technology:                 Newstex, LLC          ✦      Took Newstex from               ...
Mobile + CloudMonday, October 1, 12
What is a cloud                          service?Monday, October 1, 12
Do you have a                        smartphone or                            tablet?Monday, October 1, 12
The original Mobile                                Phone                        Radio Common Carrier                      ...
Smartphones - Business                         only                        Blackberry introduces                        a ...
Smartphones for                             everyone!                        Smartphones for                        normal...
What do you use your                   mobile for?Monday, October 1, 12
Data usage increasingMonday, October 1, 12
Faster processors use                            more battery                        Small - Not a desktop                ...
Selling a service, not an                        application                        Applications have                     ...
But where do I run                            these tasks?                        Traditional DCs don’t                   ...
Offloading data/                        processing to a Cloud                        Elastic back-end                     ...
Lets put everything on                         the backend!                        HTML5 Only apps                        ...
How often are you                   on-the-go with your                         mobile?Monday, October 1, 12
Speed is everythingMonday, October 1, 12
LTE “Speed”Monday, October 1, 12
Mobile net works                        Latency is much                        higher                        Users pay for...
Big Data, Big                         analyticsMonday, October 1, 12
Tracking: Device or API?                        Track on Device:                          Interactions                    ...
What about the                           User?Monday, October 1, 12
Mobile devices are                             disposable                        Phones get lost,                        d...
Sync everywhere                        One login, any device                        Makes you mobile                      ...
External Ser vices                                                Newstex                        Real Time updates        ...
Newstex’s SolutionMonday, October 1, 12
One API to rule them                                all?                        Not all devices have                      ...
Taking a cue from                                Netflix                        Different APIs for                        ...
Adapters                        Plug in Cloud Ser vices    CloudSearch   DynamoDB              SimpleDB   S3              ...
REST is not always best                        Version 1:                          REST + JSON                          Sl...
Custom APIs                        Version 2:                          Custom “Socket” API                          Simple...
Request Routing                        Location-based DNS                                                   us-west       ...
We’re hiring!                        newstex.com/about/jobs                        Web Developers                        M...
Upcoming SlideShare
Loading in …5
×

Cloud computing and mobile rit

640 views

Published on

Chris Moyer's guest lecture on Mobile and Clo

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
640
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cloud computing and mobile rit

  1. 1. How CloudComputing changed Mobile Development Chris Moyer VP of Technology @ Newstex, LLCMonday, October 1, 12
  2. 2. Who am I? ✦ Author ✦ Building Applications in the Cloud ✦ Not just about AWS, but cloud computing “patterns” in generalMonday, October 1, 12
  3. 3. Author ✦ Now available in multiple languages ✦ Available through Amazon.comMonday, October 1, 12
  4. 4. Newstex VP ✦ VP of Technology: Newstex, LLC ✦ Took Newstex from a datacenter to AWS ✦ All applications run entirely within AWSMonday, October 1, 12
  5. 5. Mobile + CloudMonday, October 1, 12
  6. 6. What is a cloud service?Monday, October 1, 12
  7. 7. Do you have a smartphone or tablet?Monday, October 1, 12
  8. 8. The original Mobile Phone Radio Common Carrier 1960s by AT&T Voice onlyMonday, October 1, 12
  9. 9. Smartphones - Business only Blackberry introduces a phone with Email Lets you keep in contact with the office outside the office Allows you to be mobileMonday, October 1, 12
  10. 10. Smartphones for everyone! Smartphones for normal people “Apps” become more useful then the phone Usage shifts “Mobile” doesn’t just mean “phone” anymoreMonday, October 1, 12
  11. 11. What do you use your mobile for?Monday, October 1, 12
  12. 12. Data usage increasingMonday, October 1, 12
  13. 13. Faster processors use more battery Small - Not a desktop Use less power Produce less heat Don’t process: Background Tasks Expensive TasksMonday, October 1, 12
  14. 14. Selling a service, not an application Applications have short lifespan Services give you paying customers forever Think “World of Warcraft” vs “Warcraft 3”Monday, October 1, 12
  15. 15. But where do I run these tasks? Traditional DCs don’t scale Users may jump from 500 to 5 million overnight Users may drop, need to be flexibleMonday, October 1, 12
  16. 16. Offloading data/ processing to a Cloud Elastic back-end Scale when you get more users Net work accessible Allow localized accessMonday, October 1, 12
  17. 17. Lets put everything on the backend! HTML5 Only apps HTML5 is slow Not everything is “standard” Not all devices deser ve the same layout Transmitting data + layout over high- latency net worksMonday, October 1, 12
  18. 18. How often are you on-the-go with your mobile?Monday, October 1, 12
  19. 19. Speed is everythingMonday, October 1, 12
  20. 20. LTE “Speed”Monday, October 1, 12
  21. 21. Mobile net works Latency is much higher Users pay for data usage Net works are unreliable Minimal offline functionalityMonday, October 1, 12
  22. 22. Big Data, Big analyticsMonday, October 1, 12
  23. 23. Tracking: Device or API? Track on Device: Interactions User Workflow Track in API: API Calls Usage statisticsMonday, October 1, 12
  24. 24. What about the User?Monday, October 1, 12
  25. 25. Mobile devices are disposable Phones get lost, destroyed, or stolen Enterprise: Prevent unauthorized access on stolen devices Protect your dataMonday, October 1, 12
  26. 26. Sync everywhere One login, any device Makes you mobile Use ser vices, not apps “My data is in the cloud”Monday, October 1, 12
  27. 27. External Ser vices Newstex Real Time updates System Push notifications Email notifications Social Sharing Twitter FacebookMonday, October 1, 12
  28. 28. Newstex’s SolutionMonday, October 1, 12
  29. 29. One API to rule them all? Not all devices have the same “workflow” Not all devices authenticate the same API developer and client developer disconnectMonday, October 1, 12
  30. 30. Taking a cue from Netflix Different APIs for different clients One underlying API with different adapters Client Adapter written specifically for each development teamMonday, October 1, 12
  31. 31. Adapters Plug in Cloud Ser vices CloudSearch DynamoDB SimpleDB S3 to Centralized API Build adapters on top of Newstex API this API for individual Web Device use-cases Adapter Adapter Web adapter - HTTP/ REST + JSON Mobile devices: Socket + XDRMonday, October 1, 12
  32. 32. REST is not always best Version 1: REST + JSON Slow Lots of overhead Not Bandwidth efficient No Sessions Text parsing is expensive on mobileMonday, October 1, 12
  33. 33. Custom APIs Version 2: Custom “Socket” API Simple XDR based output Compact data representation Fast - Session based Cheap to decodeMonday, October 1, 12
  34. 34. Request Routing Location-based DNS us-west Takes you to the closest ser vers DNS us-east Reduce latency eu-west Synchronize databasesMonday, October 1, 12
  35. 35. We’re hiring! newstex.com/about/jobs Web Developers Mobile Developers Python DevelopersMonday, October 1, 12

×