I have a firebase array that a node process appends to and browser clients query with limitToLast(20). What I noticed was that as the array grew significantly larger, the amount of time it took the client to get the initial 20 items took longer and longer. It felt linear, almost like the server side is walking through the array from the front to figure out the last 20 items. Once the initial sync is done, the speed of client updates appears to be the same regardless of the array size.
Is this intentional / By Design? Is it a result of firebase not having 'real' array support? Is there anything I can do (outside of keeping the array smaller) to speed up the initial sync?
Thanks, everyone!!
James