O'Reilly logo

Redis Applied Design Patterns by Arun Chinnachamy

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 11. Redis in Social Networks

In this chapter, we will explore various features where Redis can be effectively used in a social network. Redis is being used in leading social networking sites such as Twitter, Instagram, Flickr, Quora, and Stack Overflow to maintain social relationships or to generate dynamic news feeds for users.

Note

You can read how Pinterest uses Redis to maintain its social graph at http://engineering.pinterest.com/post/55272557617/building-a-follower-model-from-scratch.

In this chapter, we will cover the following topics:

  • Building a simple social network with authentication
  • Designing friendship circles
  • Handling posts and news feeds in our social network

Building your own social network

In this section, we will build a simple ...

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