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

Idea: ParseException.ErrorCode.Migrated #443

Closed
rihadavid opened this issue Feb 16, 2016 · 3 comments
Closed

Idea: ParseException.ErrorCode.Migrated #443

rihadavid opened this issue Feb 16, 2016 · 3 comments

Comments

@rihadavid
Copy link
Contributor

What if some of us choose some hosting solution that one day will stop its service? Maybe we could avoid the "now, update your client to point to the location of the API" step for next potential migration.

There could be ParseException.ErrorCode.Migrated error, containing the new server url in description of the error and then client app would save the new url to local database and use it for all forthcoming calls to parse server. The previous instance of server would have some "button" to turn it off and point all requests to new server with ParseException.ErrorCode.Migrated.

I think this could save a business for those of us who will choose bad provider.

It's just and idea, I am not able to implement this, but would be nice if someone could.

@natanrolnik
Copy link
Contributor

In a similar idea, I wonder what would happen to our users who never update their apps and are stuck pointing to api.parse.com - their apps would be broken forever if they don't update it. And believe me, there are people who have 48 as badge in the App Store icon.

Wouldn't it be great if Hosted Parse could, for a specific amount of time, (say, 3-6 months after Jan./17) simply redirect the requests to our new servers, that we would configure the address in the dashboard, for example.

@gfosco @drew-gross do you think it's something possible at all?

@drew-gross
Copy link
Contributor

This is something we are considering, especially for our Parse for IoT customers who have api.parse.com baked into their firmware. We are unsure if it will be available to everyone or only to customers who have a specific need.

@gfosco
Copy link
Contributor

gfosco commented Mar 6, 2016

It's a cool idea, and along with various redirection strategies, we'll no doubt be considering all options. It is however super important that developers work towards moving to their own API server several months before the sunset date. I think it's reasonable to migrate your database by the end of April, and release a new app by the end of July.

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

No branches or pull requests

4 participants