Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reducing total requests #72

Open
jsealey opened this issue May 9, 2013 · 0 comments
Open

Reducing total requests #72

jsealey opened this issue May 9, 2013 · 0 comments

Comments

@jsealey
Copy link
Owner

jsealey commented May 9, 2013

Keeping the total number of API requests down accomplishes two things:

  1. The total amount of data usage for the client is lower, which is important to people who have a limited data plan.
  2. We keep under the maximum number of API requests for the "free" plan provided by our cloud storage platform, Parse.

With that in mind, I would like to brainstorm and figure out the best ways to reduce the number of requests.

One way, as mentioned in another issue, is to only send a request to update an item after all changes to that item have been made.

Another way, would be to have a mini state machine for when users are checkmarking an item, to give them a chance to uncheck if they accidentally checkmarked. That way, the update to set an object to checked would only happen when the user checks and item and doesn't uncheck it within 2 seconds (or maybe a shorter amount of time) or vice versa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant