1. What we shipped
Aside from the 4.1 update that was released on monday, I mostly worked on server and infrastructure this week.
First, I replaced 2 thumbnail servers running thumbor and a load balancer with a single server now running imgor. This new thumbnail service is magnitudes faster than the old one, which means a single server can now handle about 4x what our old setup could handle. This is especially useful when loading a private campaign which hasn’t been accessed for a while (more than a month) when all the thumbnails need to be re-generated.
Then, I re-purposed the second, less powerful thumbnail server to be a dedicated redis (cache) server, which previously was running on the same machine as the database replica. The replica server was causing the cache server to sometimes lock up or be shut down due to the database hogging up all the memory, causing issues a few minutes per week.
These changes should result in less server errors and faster response times.
2. What we’re working on next
I’m not done with the server stuff. I am hoping that our server provider eventually has more stock to add more servers to our fleet, but the AI companies have basically gobbled up everything. Once I get my hands on two more servers, I can start migrating the full-text server which is very close to maxing out its current host. I’ve applied a few tweaks, but it needs more RAM, and there is no RAM.

I’ve also teased in the discord that family trees are getting a facelift. They were initially planned for this week’s 4.1 release but I didn’t find the time to properly test the new engine (but I can say that I made some horrible family trees that would make George R. R. Martin blush).
3. Behind the scenes
Continuing on the infrastructure spree, I’ve also migrated some of our storage from Hetzner’s object storage, to cloudflare’s R2. Our twice daily backups would sometimes crash on Hetzner’s infrastructure due to issues on their end, which resulted in 1.2TB of corrupted, unfinished ghost data I was paying for. Fun.
Infrastructure work isn’t particularly exciting to showcase, but making Kanka faster, more reliable, and cheaper to operate gives us more room to work on exciting stuff in the future.


Leave a Reply