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