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

93 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)
93 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)

Popular Stories

Apple Announces Special Event in New York Feature 1

Apple Teases 'A Big Week Ahead' With Announcements Starting Monday

Thursday February 26, 2026 6:06 am PST by
Apple CEO Tim Cook today teased "a big week ahead," with announcements starting Monday. His post included an #AppleLaunch hashtag with a colorful Apple logo, along with a short video that ultimately shows an Apple logo on the lid of a Mac. Apple is reportedly planning a three-day stretch of product announcements from Monday, March 2 through Wednesday, March 4, with up to five new products...
iphone fold text

iPhone Fold Crease Measurements Revealed as Device Hits Production

Wednesday February 25, 2026 5:37 am PST by
Apple has submitted production line orders for its upcoming foldable iPhone, effectively confirming that the device will launch this year, claims a Chinese leaker. According to the Weibo account "Fixed Focus Digital," assembly lines recently received the orders from Apple, which has apparently allowed the leaker to learn the crease measurements for the device's 7.8-inch inner display....
m3 macbook pro blue

M5 Pro and M5 Max MacBook Pro: What to Expect

Wednesday February 25, 2026 3:02 pm PST by
Apple is working on a new MacBook Pro that could launch next week ahead of the "Special Experience" planned for March 4, so we thought we'd highlight all of the rumors about the device so far. Design There are no rumors of design changes, and we are expecting the upcoming M5 MacBook Pro models to look just like the M4 versions. Apple will continue to offer 14-inch and 16-inch size options,...