Skip to content

Glossary

fdyno stores all data in FoundationDB. The other pages use the FoundationDB terms below, and two fdyno terms: the store format check and the in-flight request limit.

Cluster file

A small text file that tells a client where the FoundationDB cluster is. fdyno reads its path from FDB_CLUSTER_FILE. fdyno processes that use the same cluster file see the same tables. See the cluster file for production rules.

Transaction

A group of reads and writes that FoundationDB commits as one unit. Either all the writes commit, or none of them do. Transactions are strictly serializable: the result is the same as if they ran one at a time, in commit order.

A FoundationDB transaction has limits. Its writes must fit in 10 MB. It must finish within about five seconds, because FoundationDB keeps old versions only for about five seconds.

Commit

The step that makes the writes of a transaction durable. When fdyno returns success for a write, the commit is done.

Storage server

A FoundationDB process that keeps a range of keys on disk and answers reads. In a replicated cluster, each key is on more than one storage server, so one failure loses no data. One storage server runs on one thread, so it uses at most about one CPU core.

TLog

A transaction log process. A commit is done only when the TLogs have its writes on disk. Storage servers then copy the writes from the TLogs.

Ratekeeper

A FoundationDB role that slows down new transactions when storage servers or TLogs fall behind. It names a reason, for example storage_server_write_queue_size. When ratekeeper slows the cluster, requests take longer.

Store format check

An fdyno check that runs once at startup, before any listener or worker starts. It reads the store record in FoundationDB. The process serves only a store at record format 3, cluster version 12. On an empty FoundationDB it writes that record. On any other store it exits 1 with a log line that starts store format refused and says how to reset the store, and it writes nothing. See first start.

In-flight request limit

The most signed API requests that one fdyno process runs at the same time, set by DYNODB_MAX_INFLIGHT. A request counts against it after its signature is checked. When the limit is reached, a new request gets HTTP 400 ThrottlingException. Metric names call each counted request an admission slot, for example fdyno_admission_slots_in_use.