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

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

macworld iphone 18 pro colors

iPhone 18 Pro's Four Rumored Colors Revealed, Including 'Dark Cherry'

Friday April 17, 2026 3:50 am PDT by
A source said to be familiar with Apple's supply chain today revealed the color options Apple is planning for the iPhone 18 Pro, iPhone 18 Pro Max, and the upcoming foldable iPhone. Image via Macworld. The information comes from Macworld, which says the signature new color for this year's Pro models will be Dark Cherry, a deep wine-like red. While other sources had previously reported on a...
macOS 27 on MacBook Pro

macOS 27 Will Mark the End of an Era

Saturday April 18, 2026 6:45 am PDT by
During its Platforms State of the Union segment at WWDC 2025, Apple revealed that macOS 26 Tahoe is the final major macOS version for Intel-based Macs. The upcoming macOS 27 release will be compatible with Apple silicon Macs only, meaning that you will need a Mac with an M-series chip or a MacBook Neo with an A18 Pro chip in order to install the software update. macOS 27 should be available...
Aston Martin CarPlay Ultra Screen

Apple Says CarPlay Ultra is Coming to These Vehicle Brands

Saturday April 18, 2026 5:59 am PDT by
Last year, Apple launched CarPlay Ultra, the long-awaited next-generation version of its CarPlay software system for vehicles. Nearly a year later, CarPlay Ultra is still limited to Aston Martin's latest luxury vehicles, but that should change fairly soon. In May 2025, Apple said many other vehicle brands planned to offer CarPlay Ultra, including Hyundai, Kia, and Genesis. CarPlay Ultra...