Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Cassandra Design Patterns

You're reading from   Cassandra Design Patterns Build real-world, industry-strength data storage solutions with time-tested design methodologies using Cassandra

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781785285707
Length 168 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Rajanarayanan Thottuvaikkatumana Rajanarayanan Thottuvaikkatumana
Author Profile Icon Rajanarayanan Thottuvaikkatumana
Rajanarayanan Thottuvaikkatumana
Arrow right icon
View More author details
Toc

Application design and use cases


The RDBMS backend of the application consisted of the core tables given in the following screenshot:

Figure 1

The signed-up user's details are captured in the User table. When a given user establishes a connection with other users, their relationship is captured in the Connection table. When a user posts a message, it is captured in the Post table. When a message is posted, the users from the message owners' connection list can like the message post, and this detail is captured in the UserLike table. The cardinality of the relationships is also captured in the preceding screenshot.

The biggest problem the application faced was in displaying the contents in the home page of the application. The number of users was high, the number of connections each users had was high, and the table joins required to prepare the records was complex. The performance of the home page that contained recent message posts from all the connections of the signed-in users had to be...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at R$50/month. Cancel anytime