Thanks to visit codestin.com
Credit goes to subscription.packtpub.com

Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Apache Cassandra
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Apache Cassandra

Learning Apache Cassandra

By : Brown
4.4 (12)
close
close
Learning Apache Cassandra

Learning Apache Cassandra

4.4 (12)
By: Brown

Overview of this book

If you're an application developer familiar with SQL databases such as MySQL or Postgres, and you want to explore distributed databases such as Cassandra, this is the perfect guide for you. Even if you've never worked with a distributed database before, Cassandra's intuitive programming interface coupled with the step-by-step examples in this book will have you building highly scalable persistence layers for your applications in no time.
Table of Contents (14 chapters)
close
close
13
Index

Chapter 6. Denormalizing Data for Maximum Performance

In the previous chapter, we created a structure that allows a user to follow other users. The goal of the follow system was to allow users to see all of their followed users' status updates in one place that we'll call the "home timeline". In this chapter, we will build a table to store users' home timelines.

The follow structures in Chapter 5, Establishing Relationships introduced the concept of denormalization, the practice of storing the same piece of data in more than one place in order to optimize read performance. The denormalization we used for follows was fairly mild, however, each follow relationship is stored in exactly two places. For home timelines, we will create a much more aggressively denormalized data structure: a given piece of data will be stored in an arbitrary number of places.

While this highly denormalized structure will be the end result of our work in this chapter, we'll...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Apache Cassandra
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon