best practice or strategies for large scale firestore docs retrieval

Database & APIs

Hey guys, I'm working on a FlutterFlow app that needs to query over 2000 documents from Firestore on page load, with requirements for sorting and categorization. I'm observing performance issues with such large-scale data retrieval. Anyone know what is the best practices or strategies within FlutterFlow to optimize the performance of these operations?

What have you tried so far?

Now I use an action to query when the page loads, and then use the output result in different listview or text (count the number). It takes me more than 30 seconds to load the data. Any good idea to optimize it? Thank you very much.

Did you check FlutterFlow's Documentation for this topic?
No
2 replies