A lot of requests android -


i have android , activity need checking whether database record has changed, has something, not continue checking.

i checked several ways this, 1 creating service , make requests volley in restful server, example, every 5 minutes. impossible since server receive thousands of requests per minute.

it can done backend, believe. using push notification (gcm) or http pulling, whenever data has been changed on database, send message client, client respond based on that.waiting hear master on things. , best of luck


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -