Parse.com - Performance problems with 100K users -


we have parse application 100k users.

our queries on user tables timeout.

for example, i'm doing following query:

var query = new parse.query(parse.user); query.exists("email"); query.find(...); 

this query timeout. if limit results low number, e.g. 10, can first 10 results. next pages timeout. i.e. timeout:

query.limit(10);     query.skip(500); query.find(...); 

we @ situation not able manage our users. whenever try list of users attribute or change batch of users timeout.

we tried doing queries in cloud code , using javascript sdk. both methods fail timeouts eventually.

am doing wrong or parse limitation?

parse cloud functions have timeout of 15 seconds, , before/after save triggers have timeout of 3 seconds.

if need more time, should find way need done in background job rather cloud function. have 15 minute timers, more enough reasonable, , requires more time, you'll have find way save left off, , have function run multiple times until wanted complete.


Comments

Popular posts from this blog

c# - ajax - How to receive data both html and json from server? -

spring - "Dispatcher has no subscribers" during startup -