Remix.run Logo
nodesocket 10 hours ago

Would be interesting to hear what database they are using and how they are doing replication? Is it simple master / slave or multi-master?

mcpherrinm 6 hours ago | parent | next [-]

Let’s Encrypt currently has a single primary with a handful of replicas, split across a primary and backup DC.

We’re in progress of adopting Vitess to shard into a handful of smaller instances, as our single big database is getting unwieldy.

nodesocket 6 hours ago | parent [-]

Thanks. Would love to see a tech blog post once you get Vitess implemented.

mcpherrinm 4 hours ago | parent [-]

We’ve already started drafting it :)

Ayesh 9 hours ago | parent | prev [-]

https://github.com/letsencrypt/boulder

You can find a docker-compose.yml file to get some idea.

Appears to be using MariaDB.

They shut down OCSP responders and expiry email reminders, so there really is no need to have a database apart from rate limits, auth data, and caching.

For Certificate Transparency, they are submitted to Google and CloudFlare run trees but I don't think LetsEncrypt run their own logs.

mcpherrinm 6 hours ago | parent | next [-]

Let’s Encrypt does operate CT logs. I wrote a blog post about our current-generation logs at https://letsencrypt.org/2024/03/14/introducing-sunlight

nodesocket 9 hours ago | parent | prev [-]

I assume they want to store metadata instead of having to pull from the certificates itself, but maybe that’s actually easier and more performant.