Modernizing from PostgreSQL to Serverless with Fauna

Fauna is a flexible, developer-friendly, transactional cloud database delivered to you as a secure Data API. Sign up for free. | Continue reading | 5 days ago

Comparing FaunaDB and DynamoDB – Pricing and Features

Fauna is a flexible, developer-friendly, transactional database delivered to you as a secure, web-native API. | Continue reading | 21 days ago

Control Theory for Fun and Profit

FaunaDB is a distributed system. Like all distributed systems, we have the somewhat vexing problem of an unreliable network and faulty nodes (not byzantine faulty, just the regular slow or dead kind). The chance that a faulty node received a share of work in a request is greatly … | Continue reading | 8 months ago

Show HN: Aggregate Functions in FaunaDB

We’re pleased to announce new FQL capabilities that empower users to write more concise and powerful FQL statements with aggregate functions for sets (Count, Mean, Sum); string predicate functions (StartsWith, EndsWith, ContainsStr, ContainsStrRegex, RegexEscape); the MoveDatabas … | Continue reading | 1 year ago

How FaunaDB's GraphQL API Solves the N+1 Problem

Now, the n+1 problem occurs when processing a query involves performing one initial request to a data source along with n subsequent requests in order to fetch all of the data. } And we call the allBooks query to get all of the Books along with their Authors: query { allBooks { # … | Continue reading | 1 year ago

Deciphering the Distributed Database: Isolation vs. Consistency

In particular, I wrote two posts (Part 1 & Part 2) on the subject of isolation levels, and one post on the subject of consistency levels. And this paper from well-known researchers at MIT and Harvard --- including a Turing Award laureate --- (incorrectly) call snapshot isolation … | Continue reading | 1 year ago

Trend-Spotting with Stackoverflow and GitHub

As a sort-of-developer and a long time data analyst, I knew that Stack Overflow (SO) questions and GitHub repos point to the truth over buzzwords. I decided to look for the number of SO questions and GitHub repos over time to gauge the popularity of the serverless architecture. B … | Continue reading | 1 year ago

Demystifying Databases: Correctness Anomalies Under Serializable Isolation

Most database systems support multiple isolation levels that enable their users to trade off exposure to various types of application anomalies and bugs for (potentially small) increases in potential transaction concurrency. As long as particular transaction code is correct in th … | Continue reading | 1 year ago

Spanner vs. Calvin: Distributed Consistency at Scale

Ordering Transactions in Time Let us start our comparison of Calvin and Spanner with the most obvious difference between them: Spanner’s use of “TrueTime” vs. If two transactions are processed during time periods that do not have overlapping uncertainty bounds, Spanner can be cer … | Continue reading | 1 year ago

The world’s best serverless database, now with native GraphQL

FaunaDB’s GraphQL API was first released in preview mode back in April on FaunaDB cloud. (If you need help with this, reach out to us in Community Slack.) In the following section, we will cover highlights of this release.  GraphQL Support in FaunaDB Cloud Console The FaunaDB Clo … | Continue reading | 1 year ago

Show HN: Try FaunaDB's GraphQL API

This means developers who want a backend data API for their app can get started just by importing a basic GraphQL schema, and FaunaDB will take care of creating the underling collections, indexes, and relationships. Instantly query FaunaDB from any GraphQL client The easiest way … | Continue reading | 1 year ago

Demystifying Database Systems: An Introduction to Transaction Isolation Levels

For decades, database systems have given their users multiple isolation levels to choose from, ranging from some flavor of “serializability” at the high end down to “read committed” or “read uncommitted” at the low end. Nonetheless, many database users stick with the default isol … | Continue reading | 1 year ago

Native Polyglot APIs in FaunaDB: GraphQL Now, CQL, SQL Forthcoming

 The New APIs Developers using FaunaDB will now be able to manipulate data directly using multiple languages such as GraphQL for serverless applications, as well as CQL and SQL, which have historically been popular in the enterprise. These languages will be supported as nat … | Continue reading | 1 year ago

FaunaDB Native GraphQL

Simply supply a GraphQL schema definition and FaunaDB is ready to handle your queries. 1. GraphQL schema definition file First you need a GraphQL schema definition file. completed: Boolean } type Query { allTodos: [Todo!] todosByCompletedFlag(completed: Boolean!): [Todo!] } To fo … | Continue reading | 1 year ago

Partitioned Consensus and Its Impact on Spanner’s Latency

This results in stronger consistency guarantees: unified consensus systems can guarantee consistency at all times, while partitioned consensus systems can only guarantee consistency if the clock skew stays within an expected bound. When I read the comments to my post (both on the … | Continue reading | 2 years ago

Consistency Without Clocks: The FaunaDB Distributed Transaction Protocol

For each batch of parallel transactions, they are inserted into a distributed, write-ahead transaction log and the FaunaDB execution engine ensures that the final result of processing this batch of transactions is equivalent to as if they were processed one-by-one in the order th … | Continue reading | 2 years ago