Quantcast
Channel: Active questions tagged feed - Stack Overflow
Viewing all articles
Browse latest Browse all 539

Social News feed architecture approach

$
0
0

We are building a social network system that includes user feed as a part. In user feeds we are explored two approaches pull model and push model. Since we got confused to choose between these two models. Assume our traffic will be 0.5 Million active users.

Push Model

Whenever the user posts new data it'll be pushed to the user's feed table via messaging queue. Using the push model results in lower latency when fetching feeds because they are pre-generated. This involves a huge number of writes, but reads are really fast.

Pull Model

Instead of pushing data to each user's table, Feed can be generated realtime but it requires more processing time to generate a feed

Suggest some approaches to solve our use case


Viewing all articles
Browse latest Browse all 539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>