I am currently building a React Native application for a college project. The app is a simple social network that lets you do the basic things and uses Firebase to store user data.
Like every other social network, the app will have a timeline/feed for each user and users will be able to follow each other on the platform.
Now, how would you go about building a (fairly) scalable news feed with Firebase?
My current implementation stores the timeline for each user, and whenever someone they follow posts something, the timeline field gets updated. This is obviously not scalable at all, as it would use up a lot of resources when a user has millions or thousands of followers.
Would really appreciate any kind of help here, this has been a tricky solution for me to solve :)