Hi everyone!
I am kind of stuck on improving performance on one of development:
Here is scenario:
- Around 60 users on Android devices scans barcodes and need to receive (SQL query at this point) information about specific item matching this barcode.
- SQL query is searching from table with ~500k rows.
- it has to be in offline mode
- at this moment I got query done in 0,85 sec on iPhone 14 Pro Max, but on the Android barcode scanners around 6 sec. Of course barcode scanners are not as powerful as iPhone, but maybe there is something I can do.
- there is alternative (custom native old app) which makes every scan in just around 0,5-0,7 sec. It uses SQLite DB on the device. But as I learned, Retool doesn't support SQLite. I believe, why it is possible to get such good performance is because of indexing. Retool Offline mode saves data in JSON? Old app is depreciated and I chose to use Retool for creating new app for this task. Overall app works very good, but cant find solution for offline performance issues.
Just wondering, maybe there is some other solutions what I haven't thought about?
Thank You for all advices!