Business social network LinkedIn has published an open source a data management system it says can help speed up mobile applications for Apple’s iOS, particularly those that handle large amounts of data.
LinkedIn said the framework, called Rocket Data, is intended as an alternative to Apple’s own Core Data, used in iOS and Mac OS.
“Core Data is a powerful framework, but it pays for this power with complexity,” said LinkedIn developer Peter Livesey in a blog post. “The framework is notorious for crashing the application when something goes wrong.”
Rocket Data originated with a rewrite of LinkedIn’s iOS mobile application that began early last year, according to Livesey.
The company wanted a caching system that would present content to the user while data was still being loaded from the network, but didn’t want to use Core Data due to its tendency to crash the application and because it didn’t scale well, Livesey said.
LinkedIn also wanted to use immutable data models, in which all the data remains in place, unlike the mutable models employed by Core Data, in which new values overwrite old values.
The resulting model management system uses immutable models, managing their consistency and caching.
“Rocket Data scales extremely well to large numbers of models and data providers,” LinkedIn said in the framework’s documentation. “Since it does nearly all of its work on a background thread, you never need to worry about one change slowing down the whole application.”
LinkedIn was able to add caching to all its application’s features with “very little” additional development work, Livesey said.
The company has made the project available on GitHub.
Mobile apps are increasingly used to handle heavy-duty data processing tasks as devices such as smartphones and tablets become standard tools for businesses and consumers, with usage of mobile banking services, for instance, growing rapidly while online banking usage levels off.
Do you know all about 4G and the mobile future? Take our quiz.
Multiple pension funds in Australia have been hit in co-ordinated hacking attacks, and unfortunately customers…
Inspector General at the Pentagon confirms investigation into the use of Signal app by US…
After a two month hiatus following crashes of a new drone model, Amazon has resumed…
Marking 50 years of Microsoft, this editorial reflects on its evolution from startup to tech…
But will Beijing or ByteDance allow sale? Amazon joins potential bidders for TikTok in US,…
Elon Musk dismisses report that Trump told cabinet that he expects Musk to leave his…