LinkedIn Open Sources Mobile Data Framework

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.

Scalability

“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.

Performance benefits

“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.

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

Craig Wright Sentenced For Contempt Of Court

Suspended prison sentence for Craig Wright for “flagrant breach” of court order, after his false…

2 days ago

El Salvador To Sell Or Discontinue Bitcoin Wallet, After IMF Deal

Cash-strapped south American country agrees to sell or discontinue its national Bitcoin wallet after signing…

2 days ago

UK’s ICO Labels Google ‘Irresponsible’ For Tracking Change

Google's change will allow advertisers to track customers' digital “fingerprints”, but UK data protection watchdog…

2 days ago

EU Publishes iOS Interoperability Plans

European Commission publishes preliminary instructions to Apple on how to open up iOS to rivals,…

3 days ago

Momeni Convicted In Bob Lee Murder

San Francisco jury finds Nima Momeni guilty of second-degree murder of Cash App founder Bob…

3 days ago