CipherHealth

Serverless database from the team that scaled Twitter

FaunaDB is the first adaptive operational database — built from the ground up to scale digital business without compromising productivity or agility.

About

FaunaDB is a mission-critical component for companies that need to deliver products at global scale, increase infrastructure utilization, decrease operational overhead, and improve time to market.

Fauna's Website →

LOCATION

San Francisco, CA

FOUNDERS

Evan Weaver,
Matt Freels

PROJECT DURATION

2 months

FUNDING

$4.5M

The challenge

Drawing from their experience scaling Twitter infrastructure, the team behind Fauna set out to build the database they would have used then. Fauna lets digital businesses comprehensively address the requirements of modern applications, without sacrificing agility. Enterprises adopting FaunaDB include NVIDIA, as well as industry leaders in data-rich industries such as social, mobile, SaaS, IoT, and gaming.

Fauna wanted to build a Swift driver to improve the experience of their clients integrating the database into their Swift projects. Developers should be able to take advantage of the Fauna query language and data model, as first class citizens in Swift.

The purpose of this project was to provide a developer-friendly and idiomatic Swift driver on top of the Fauna API.

“Based on our track record building Swift libraries and development tools, we were a natural fit for this project.”

Martin Barreto - Xmartlabs' iOS Developer

The solution

We set out to build an idiomatic Swift driver taking full advantage of the Swift language capabilities.

The driver core is a type-safe query language that consists in embedded DSLs which are relayed to the Fauna API. When interacting with the API, data entities in API requests are encoded/decoded into Swift model types.

Requests are performed asynchronously over https, and the driver handles the database errors and exceptions.

Fauna Swift driver has automated test coverage and a continous integration setup. It supports the different platforms within the Apple ecosystem: iOS, Mac, tvOS and watchOS.

Finally, the Swift driver is available as an Open Source library in github, check it out!

"We've enjoyed working with your team. We're happy with the development process and the results, the end product combined our domain expertise and your know how of the Swift ecosystem."

EVAN WEAVER
FAUNA CEO 

Want a technical leader with years of experience?

Let's talk