Live data from Hacker News

Frustrated with iCloud, Apple’s developer community speaks up

arstechnica.com

191–192 of 192 posts

Re: Frustrated with iCloud, Apple’s developer community speaks up

#191
post #190

Earlier quoted context omitted.

Fetch and save operations get pretty slow with even just 10,000 entities (if you touch all those entities). It gets a little better if you pre-fetch all the entities rather than one at a time, but the save is still very slow. Breaking that out into a backround thread is feasible, but as the previous commenter mentions, then you risk momentary divergence between the UI and the backend.

Index properly. Save in a queue.

This is fetching every entity by its indexed key. My understanding of saving in a background queue is that during that 1-2 seconds, the ui will still be using the pre-modification data set, so very briefly the ui may appear incorrect, no? Not a huge deal, but if the ui will be wrong, then for our app that would still force us to pause the ui until the save finishes.

Re: Frustrated with iCloud, Apple’s developer community speaks up

#192

Earlier quoted context omitted.

The only thing I can think of is to set up contact, calendar etc. sync to Google (via ActiveSync or otherwise). Calendars won't magically transfer over since they're assigned to a particular calendar, on iCloud in your case, but contacts should get pushed to Google. That'll at least give you a backup of your contacts, and setting up the other devices the same way should sync them all up. Can anyone else chime in? Doe…

I might try that. Frankly, I'm just thinking of writing an app to export everything to a MySQL database on one of my servers and do my own version controlled backup. Not sure Apple would ever approve such an app, but I can certainly write it and use it internally. A long time ago I learned there is nothing more important than ensuring your data is safe. I learned this the hard way in college when a drive failure evap…

That's the downside of keeping your data in a service. This is a conceptual problem due to the lack of agreed upon data protocols. Google Reader has highlighted the issue well, and more services are to follow I'm sure. This is an issue that never existed for files since they by definition conform to a specific format.

RSS and CalDAV are examples of web data formats which do work. I'd like to see more formats like that, or perhaps an ability to fall back to export data as files from web services.

Post reply on HN