paint-brush
Event Driven Systems: Building A Facebook Like Counter & Notification Systemby@elan-srinivasan
2,860 reads
2,860 reads

Event Driven Systems: Building A Facebook Like Counter & Notification System

by Elankumaran Srinivasan2mSeptember 22nd, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Most of the applications have some sort of badging functionality which is used to display certain counts to the users for CTA (Call To Action) Once the user clicks or acknowledges the counter, the value associated with the counter will need to be reset. Given a system with large number of users and a large data set, it's not always possible to compute the counter values in real time. Counts in the database world are aggregation operations and would need to perform a whole table scan. An alternative approach to doing count operation is to keep track of the counts in separate fields/columns.

Company Mentioned

Mention Thumbnail
featured image - Event Driven Systems: Building A Facebook Like Counter & Notification System
Elankumaran Srinivasan HackerNoon profile picture
Elankumaran Srinivasan

Elankumaran Srinivasan

@elan-srinivasan

Large Scale Distributed Computing Architect

Learn More
LEARN MORE ABOUT @ELAN-SRINIVASAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Elankumaran Srinivasan HackerNoon profile picture
Elankumaran Srinivasan@elan-srinivasan
Large Scale Distributed Computing Architect

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite