I want to ask something about read counts of firebase.
Let's say i have a collection of posts and for every post-doc i have an array of the users ids. Basically storing the ids of every user which liked the current post.
Now, let's say i load the data of first 10 posts and every post-doc array field consists of 10,000 userIds : ['id1', 'id2' .........'id1000']
So my question here is that what should be the read count :
- Is it 10 * 10,000 ? If this is the case then it's really bad.
- Is it only 10 ? The firebase counts the array field as 1 read no matter it's size.
Basically, i am trying to implement a system of liking the posts. Every User can like post but the read count of firebase is somewhat unknown to me.
Any suggestions or help on firebase read counts or this topic?