What happens if the Parse cloud data service fails?

android, ios, iphone, parse-platform, rest

Solution

The Parse support and sales team got in touch with me about this. Unfortunately they opted not to have a public discussion so I will paraphrase what they told me.

- It is not currently possible to change the server url of the SDK. They're not sure if this is a feature they want or not. (It should be noted that the server url is exposed in the JavaScript SDK and can be easily changed; search for `api.parse.com`.)

- Using Cloud Code, you can build your own server API on top of Parse. The Parse SDK has a `PFCloud` that can be used to talk with Cloud Code but I couldn't find any usage examples in the documentation yet. This is similar to what toadzki's answer, but should be much simpler to implement.

- They also offer custom server installations of Parse.

Problem

I'm considering using the Parse cloud data service for my iOS/Android mobile app. From what I can see from the documentation, my app would be highly coupled to the Parse SDK, which in turn uses the Parse REST API (I assume). What measures can be taken to redirect the app to another service if Parse is down or if I no longer want to use Parse? Ideally I would like to be tell the Parse SDK to use my own domain and redirect it to the Parse servers (how?). If Parse fails, I can change my DNS to somewhere else and attempt to replicate the Parse REST API (how?). Is this possible now? Is there a better way of preparing for this scenario?

Original source