I have two parts to the question.
I’m testing an app that is somewhat real time messaging which hits the database every few seconds to check for new messages.
When i minimized the app, it’s continuing to hit the database. I’m not sure how this can scale properly with multiple users.
- Is this common with apps? How do other apps handle this.
- Is there anyway I can detect when an app is minimized and potentially reduce the calls.