Retail Pos app is an android app which will use parse as it's backend. here is the description and design requirements of app :
Description:
Pos app will be used to replace regular PC based solutions. It consists Product creation, category definition, product sell and purchase menus which utilize barcode scanner, product quantity report, sell and profit reports.
here are some cloud requirements of app:
- database should be be synced like the realm sync technology using Live queries.
- App should be offline first with the conflict resolution capability like what realm or couchbase offers (I think Parse Local storage can be used for this but not as strong as realm)
Question:
Parse database can be designed in two way:1- Create App in back4App for every user
pro: the database size of app will be small which will lead to less query times for every user ( some users will have a lot of parseobjects in table suppose more than 10k)
cons: there will be a lot of apps in the cloud
2- Create one common app for all of users:
pro: integrated database which can simplify product definition and insertion for individual customers since they have many products in common
cons: very big Product Table in one app ( suppose for 1000 customers each having 10k products leads to 10M parse objects in one table)
scenario 1 can be used for a big stores with a lot of branches which should work together in different places
What is your idea about query speed from a giant Table like the scenario 2 in parse? which scenario is best for this app.