trillian

Trillian Feature/Implementation Matrix

Overview

This page summarises the various features which are present in Trillian, and their implementation status.

The status of features is listed as one of:

Functionality

  Status Deployed in production Notes
Log V1 GA  

Trillian Log V1

This is feature complete, and is actively used in production by multiple CT log operators, including Google.

Trillian Log V2 (Skylog)

Skylog is an append-only log with considerably higher throughput and lower integration latency than the v1 log. It currently exists as internal prototype.

Concrete implementations

This section lists the status of implementations for the pluggable subsystems which Trillian supports.

Build tags can be used to control which storage and quota implementations are compiled in to Trillian binaries.

Storage

Trillian supports “pluggable” storage implementations for durable storage of the merkle tree data. The state and characteristics of these implementations are detailed below.

V1 log storage

The Log storage implementations supporting the original Trillian log.

Storage Status Deployed in prod Notes
Spanner GA Google internal-only, see CloudSpanner for external use.
CloudSpanner Beta   Google maintains continuous-integration environment based on CloudSpanner.
MySQL GA  
CockroachDB Alpha   Supported by Equinix Metal.
PostgreSQL Alpha   Supported by Rob Stradling at Sectigo.
Spanner

This is a Google-internal implementation, and is used by all of Google’s current Trillian deployments.

CloudSpanner

This implementation uses the Google CloudSpanner APIs in GCE. It’s been tested to tens of billions of entries and tens of log tenants.

Performance largely depends on the number of CloudSpanner servers allocated, but write throughput of 1000+ entries/s has been observed.

Issue #1681 tracks this becoming ready for GA.

MySQL

This implementation has been tested with MySQL 5.7. It’s currently in production use by at least one CT log operator.

Write throughput of 4-500 entries/s has been observed.

CockroachDB

This implementation has been tested with CockroachDB 22.1.10.

It’s currently in alpha mode and is not yet in production use.

PostgreSQL

This implementation has been tested with PostgreSQL 17.0.

It’s currently in alpha mode and is not yet in production use.

Monitoring

Supported monitoring frameworks, allowing for production monitoring and alerting.

Monitoring Status Deployed in prod Notes
Prometheus GA  
OpenCensus Partial   Currently, only support for Tracing is implemented.

Master election

Supported frameworks for providing Master Election.

Election Status Deployed in prod Notes
Chubby GA Google internal-only.
etcd GA  

Quota

Supported frameworks for quota management.

Implementation Status Deployed in prod Notes
Google internal GA  
etcd GA  
MySQL Beta ?  
Redis Alpha  
CockroachDB Alpha   Supported by Equinix Metal.
PostgreSQL Alpha   Supported by Rob Stradling at Sectigo.

Key management

Supported frameworks for key management and signing.

Election Status Deployed in prod Notes
Google internal GA  
golang stdlib GA   i.e PEM files, etc.
PKCS#11 GA ?