What is the best practice for storage of 10,000+ strings in Firebase?
long_lists/
<user1>/
string1
string2
...
string15000
<user2>/
string1
string2
...
string15000
According to The Firebase Blog – Best Practices: Arrays in Firebase, arrays are a big no-no.
Right now, it looks like using the push() method to generate a unique key for every item (key1: string1, key2: string2, ...) makes the most sense:
firebase.database().ref('long_lists/<uid>').push().key
I understand the seemingly subjective nature of this question, but I'm guessing there are really only one or two ways to store long single-level lists for users in a high-performance way.