Apple-Owned Company FoundationDB Open Sources FoundationDB Record Layer Used by CloudKit - MacRumors
Skip to Content

Apple-Owned Company FoundationDB Open Sources FoundationDB Record Layer Used by CloudKit

by

Apple-owned company FoundationDB today announced the open source release of the FoundationDB Record Layer, which it says offers up relational database semantics on top of FoundationDB with schema management, indexing facilities, and a "rich set of query capabilities.

Apple uses the Record Layer to support applications and services for hundreds of millions of users, and combined with FoundationDB, it forms the backbone of Apple's CloudKit service.

foundationdb 1

Built on top of FoundationDB, the Record Layer inherits FoundationDB's strong ACID semantics, reliability, and performance in a distributed setting. The Record Layer also uses FoundationDB's transactional semantics to provide features similar to a traditional relational database, but in a distributed setting. For example, the Record Layer's secondary indexes are maintained transactionally, so they're always up-to-date with the latest changes to the data. Transactions reduce the number of bugs in application code and greatly simplify application development.

FoundationDB also wrote a full paper describing how the Record Layer was built to run at a massive scale and just how CloudKit uses it. That paper is available in PDF form here.

In a nutshell, CloudKit uses the Record Layer to host billions of independent databases, and its feature set lets CloudKit provide rich APIs and strong semantics with improved scalability and reduced maintenance.

FoundationDB has also written a getting started guide designed to walk users through creating an application that uses the Record Layer, along with a detailed overview and a forum, all of which is available via the open source announcement.

Apple purchased FoundationDB back in 2015, and made the FoundationDB core open source in April 2018.

Top Rated Comments

100 months ago
Just in case anyone was wondering whether they should camp out at an Apple Store to be early in line the get "this"... you shouldn't.
Alright, everyone: the gig is up. Pack it up.

*puts away tent and camping equipment*
Score: 2 Votes (Like | Disagree)
100 months ago
Just in case anyone was wondering whether they should camp out at an Apple Store to be early in line to get "this"... you shouldn't.
Score: 2 Votes (Like | Disagree)

Popular Stories

iPhone Handoff iOS 27 Feature

T-Mobile to Charge $5 a Month for iOS 27 iPhone Handoff

Thursday September 10, 2026 3:58 pm PDT by
T-Mobile will charge customers $5 per month to use iPhone Handoff, an e-SIM feature that allows the same phone number to be used on two separate iPhones. iPhone Handoff requires carrier support, and at launch, only T-Mobile users in the U.S. and Deutsche Telekom users in Germany will be able to use it. T-Mobile says customers can use their number across two compatible iPhone models and...
iphone duo

IMAX Reacts to iPhone Duo's 1:1.4 Aspect Ratio Displays

Friday September 11, 2026 4:42 am PDT by
Production theater company IMAX has responded in a mixed way to Apple's embrace of a 1:1.4 aspect ratio on the iPhone Duo's inner and outer displays. The boxier ratio happens to be very close to the classic "full-frame" IMAX 1.43:1 aspect ratio, which comes from the geometry of the company's original 15-perforation/70mm film system. In response to an X post from someone wondering if we'll see...
iOS 27 Feature Dark

Apple Announces iOS 27 Release Date

Wednesday September 9, 2026 10:46 am PDT by
At its event today unveiling the iPhone 18 Pro, AirPods 5, Apple Watch Series 12, and more, Apple announced that iOS 27 will be released later this month. iOS 27 has already been available as a developer beta since June and as a public beta since July, and Apple today said that the update will be released for all users with a compatible iPhone model on Monday, September 14. iOS 27 is...