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 duo

Apple Announces Foldable 'iPhone Duo'

Wednesday September 9, 2026 10:56 am PDT by
Apple today announced the "iPhone Duo," a new kind of iPhone featuring two screens and a foldable inner display. The two halves of the iPhone Duo connect into a single continuous frame with the same aspect ratio across both displays, and Apple said the transition between open and closed is designed to feel fluid. When fully open, Apple says it is the thinnest iPhone ever made, with an...
Surprise and Shine Live Coverage Article

Apple Event Live Blog: iPhone Duo, iPhone 18 Pro, and More Expected

Wednesday September 9, 2026 9:10 am PDT by
Apple's "Surprise and Shine" event kicks off today at 10:00 a.m. Pacific Time, where we're expecting to see the foldable iPhone Duo, the iPhone 18 Pro and Pro Max, Apple Watch Series 12 and Ultra 4 models, new AirPods 5 earphones, and perhaps some other announcements. Apple is providing a live video stream on its website, on YouTube, and in the company's TV app across various platforms. We...
apple surprise and shine event

Apple Event Today: iPhone 18 Pro and iPhone Duo Cheat Sheet

Tuesday September 8, 2026 10:24 am PDT by
Apple's biggest event of the year is almost here, and all eyes are on Cupertino. With the first foldable iPhone expected to headline Apple's "Surprise and Shine" event on Wednesday, September 9, at 10:00 a.m. Pacific Time, the rumor mill has been running full throttle, fuelled by the biggest single design change in the life of the iPhone. To get you up to speed, here's a quick reference...