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

Russia Accused Of Cyberattack On Germany’s Ruling Party, Defence Firms

German foreign minister warns Russia will face consequences for “absolutely intolerable” cyberattack on ruling party,…

2 days ago

Alphabet Axes Hundreds Of Staff From ‘Core’ Organisation

Google is reportedly laying off at least 200 staff from its “Core” organisation, including key…

2 days ago

Apple Announces Record Share Buyback, Amid iPhone Sales Decline

Investor appeasement? Apple unveils huge $110 billion share buyback program, as sales of iPhone decline…

2 days ago

Tesla Backs Away From Gigacasting Manufacturing – Report

Tesla retreats from pioneering gigacasting manufacturing process, amid cost cutting and challenges at EV giant

3 days ago

US Urges No AI Control Of Nuclear Weapons

No skynet please. After the US, UK and France pledge human only control of nuclear…

3 days ago