BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Fauna Introduces Fauna Labs to Help Developers Adopt Database Service

Fauna Introduces Fauna Labs to Help Developers Adopt Database Service

This item in japanese

The company behind the Fauna transactional database has recently announced Fauna Labs, a collection of experimental tools to help developers integrate Fauna in their applications, including infrastructure as code and single sign-on application templates.

Among the already available tools, Fauna plugin for the Serverless Framework, Fauna Schema Migrate tool and Fauna blueprints, a collection of resources defined in the Fauna Query Language (FQL) to perform common tasks like email verification, password reset and rate limiting. Fauna Labs includes a collection of examples of real applications, for example Fwitter, a Twitter clone that demonstrates the database features, and a demo application to use document streaming for real time updates.

Source: https://fauna.com/blog/announcing-fauna-labs

In a separate article, Brecht De Rooms explains how to implement an advanced refresh token workflow in FQL and how Fauna blueprints can help rotating refresh tokens and detecting leaked tokens.

Rob Sutter, head of developer advocacy at Fauna, describes how the Fauna Serverless Framework plugin can help:

The Fauna plugin for the Serverless Framework allows you to manage your databases and resources directly in your serverless.yml file. You can integrate it in your test and CI/CD pipeliness to keep your databases in sync across multiple environments. There's also an example repository that demonstrates how to create, update, and delete collections, indexes, roles, and user-defined functions (UDFs).

Not every developer is convinced that releasing stand-alone software is the best option to increase adoption. Kay Plößer tweets about the Fauna Serverless Framework plugin:

If I had the choice, I'd rather see work poured in support for tools like Pulumi or Serverless than a stand-alone solution.

A distributed database developed by the team that scaled Twitter, Fauna is an object-relational, globally replicated as Matt Freels, chief architect and cofounder of Fauna, explained to InfoQ when the service was announced:

Fauna DB is an object-relational, globally replicated, strongly consistent, temporal database. (...) It’s JSON-friendly, in a NoSQL way, but it also supports joins, foreign keys, unique indexes, and other critical correctness features (...). It also offers native support for distributed graphs and graph functions.

All the Fauna Labs projects are available on GitHub, including the sample code from Fauna blog posts.

Rate this Article

Adoption
Style

BT