We Love GPLv3, but are Switching License to Apache 2.0: TerminusDB

Luke Feeney
TerminusDB Community
6 min readDec 8, 2020

Changing License from GPLv3 to Apache 2.0: TerminusDB

We have decided to re-license TerminusDB from GPLv3 to Apache 2.0. We want independent software developers (ISVs) to embed TerminusDB in their applications and those developers feel that Apache is a lower risk option. The substantive points of practical difference are far less important — sufficient people believe it to be true and sufficient lawyers have advised teams to be wary of GPL.

In our experience, ISVs and devs in large companies/institutions size up their options at project conception and there remains a niggling doubt that ‘GPL might limit commercial prospects and cause me headaches’. The world has changed — and code freedom is being overtaken by developer freedom.

Open-source software is everywhere. It’s eating the world. In the top 10 databases on DB-Engines, the remaining proprietary databases were released in 1980 (Oracle), 1983 (IBM Db2) and 1989 (Microsoft SQL Server). It is hard to imagine another non-OSS database ever entering the top 10.

We had hoped that our association with the principals of the free software movement would result in community adoption and contribution, but that hasn’t really been the case. We see limited community input that relates to our choice of GPL. That might not be too surprising as when you investigate which license to choose on Stackoverflow, you get popular but wrong-headed comments like:

the GNU/GPL bunch are generally extremists when you encounter them in the wild.

don’t use GPL if you want your project to be commercial

With the shift to Apache, TerminusDB is, in a sense, becoming more open source as we are removing restrictions on how you can use the software.

Debate

The core TerminusDB team had a long debate about licenses before the release of 1.0 last year. The main topics of discussion were:

  1. The risks of a cloud provider forking the code then hosting the database
  2. What open source means to TerminusDB as a group
  3. What we, as a community of devs and users, are most comfortable with

1. The big bad cloud providers

In the past there was an unwritten rule, that big platforms wouldn’t come along and fork open source code and deliver the same product as a service. Unfortunately, those days are gone. AWS in particular has actively sought to offer very similar services to open source products. This led to MongoDB, CockroachDB and Confluent (among others) changing their licences to variations of ‘server side’ and moving away from the open-source tradition. They try to say ‘we are still open source, we are just forbidding a specific type of action’, but it can feel like window dressing for ‘we want to sweat our assets’.

Mongo, for example, is hardly suffering — it’s valued at over $15 billion. With such vast resources, they should be (and are) able to compete in the provision of their own database. MongoDB’s technology is more than competitive with AWS’ DocumentDB, and Mongo’s Atlas DBaaS — which runs on AWS infra — has been a huge success.

I’m sure our perspective will shift over time, but from where we’re standing, having a cloud provider launch a competing service would be a sign of enormous success. (And this is not to say that the cloud providers’ parasitic approach to OSS projects is not a genuine problem, it simply acknowledges that you have to be a widely used OSS project before it *becomes* a problem).

2. Free software

We don’t think it should be our job to provide corporations with free labor.

We do think that the software community should be able to access and use TerminusDB.

In 1974 software became copyrightable in the USA. It subsequently became obvious that researchers were giving out software for free, but businesses were not giving back. GNU/GPL came along to provide a new framework for that interface — the software would be free as in freedom (libre). Everybody would be free to modify and distribute, but proprietary additions would not be allowed.

The problem of businesses not giving back remains today.

GPL and copyleft provisions work well when they dominate open-source, but their waning popularity increases the ability for ISVs and corporates to go for more open licensing and for legal teams to write anti-GPL provisions into internal rules. Only significant developer push back can change that reality (and why push back when there are so many OSS options with permissive licenses).

Maybe if MySQL, its offshoot MariaDB, and our graph brothers Neo4j weren’t the only GPL flag flyers in the top 20 databases, it might be easier to gain adoption with GPL; however, the other big OSS players: Postgres, Cassandra, Elastic & Redis all go for less restrictive licenses.

The Affero GPL (AGPL) is treated as an even greater pariah than the GPLv3. The Google internal policy] bans all use of AGPL:

It reminds of this HN comment on the excellent postmortem of the demise of RethinkDB (recommended reading for all OSS folk):

Our graph database brothers and sisters in Neo4j moved from the AGPL to ‘AGPL with a commons clause’ to GPLv3 to making some of the code proprietary. Getting the right license for an OSS project that also allows for some commercialization is far from straightforward. (As Neo certainly know — check out this current court case about the formerly GPL enterprise code).

It seems that Grakn and Fluree are seeing some success with the AGPL. We genuinely wish them well as we know it is a hard path to walk.

3. Our community

We did get some negative feedback about the GPL prior to launch. Some people working in corporates weren’t comfortable and thought that it would prevent them from using Terminus. Our response was — we didn’t develop for them. And that remains the case; however, the GPL skeptical environment is pervasive. There is a person who tweets TerminusDB after every release asking when the Apache version will land — I always ask him why he thinks he needs an Apache version and he doesn’t really know… though he has a vague feeling that the application he builds on top will be less valuable.

We thought we would focus on the cloud offering — TerminusHub, which, as SaaS built on the database, has the benefit of being an in-house ‘product’ that doesn’t worry about the license of the underlying software. However, the community wants to build applications on the software and we want to offer an easy way to build a version control and collaboration layer into ISV applications. We think TerminusDB is the perfect infrastructure to build the next Notion or Roam Research. We worry about the syncing, versioning and data collaboration — you worry about your users.

Why shift Licenses

We do not think that our job is to provide corporations with free labor.

We still believe that “the fundamental act of friendship among programmers is the sharing of programs.”

We would welcome a GPL fork of the TerminusDB code — we are happy to work with any such project should it emerge.

But we wish to build a community first and foremost. In order to facilitate that community, we will be moving to Apache 2.0 immediately.

We are going to continue to focus on creating a great open-source database and allow everybody to use that software in their projects.

--

--