O'Reilly logo

Beginning Mobile Application Development in the Cloud by Richard Rodger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Working with the Cloud

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Working with the Amazon S3 service
  • Streaming data efficiently
  • Understanding the OAuth protocol
  • Signing in to your app with Twitter
  • Signing in to your app with Facebook
  • Designing a large-scale system
  • Designing a shared-nothing architecture
  • Using a memcached server
  • Using the consistent hashing algorithm
  • Dealing with complex cache invalidation

It’s time to move on from the To Do List application and build something more exciting. In this chapter, you’ll build a social networking app called Lifestream. It will be similar to Twitter for photos. Instead of posting 140-character messages, your users will post photos direct from their mobile phones using your app. Your Lifestream app will allow users to follow each other in the same way Twitter does.

To build the Lifestream app, you’ll need to pull together some cloud services, extend your existing knowledge of server-side JavaScript, and work out how handle a truly large-scale application. You want to build an app that can handle millions of users and millions of photos. The techniques you’ll learn in putting together the Lifestream app are applicable to a wide range of apps and services. After you’ve build this app, you’ll be ready to build the next revolutionary cloud and mobile startup!

In this chapter, you’ll find out how to answer some big questions:

  • How do you store millions of photos?
  • How do you link a service to social networking sites?
  • How do you handle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required