This interview with Cockroach Labs CEO Spencer Kimball provides some good insights into how the company modeled CockroachDB on Google Spanner, and how it uses an "honor system" for enterprise licensing.