DB Upgrades: MySQL 5.6 -> 8, Redis 6 -> 7, Aurora Serverless v1 -> 2

Last night I recorded myself updating our databases from MySQL 5.6 to 8, Aurora Serverless v1 to v2, and Redis 6 to 7. It was a major upgrade, but I managed to have only 5mins or so downtime, which was pretty cool. I narrated the process as I went. If you’re into devops, it’ll probably give you multiple heart attacks.

I’ve just published the video to the Insiders page - I hope you enjoy: https://exercism.org/insiders :blue_heart:

If you have any thoughts or feedback after watching it, I’d love to heart it, and this is a good place to discuss it :slight_smile:

1 Like

I found the video interesting and very nice, it’s a nice way to know better Exercism and how a big project infrastructure works in general.

It is maybe still early to gather metrics about the impact of those changes but I would be really interested to know them.

Do you plan to post about the results of those changes? If yes do you already know (plus or less of course) when and where?

Super nice content, thanks for sharing ;)

1 Like

Hey! Thanks for the feedback. Really appreciated :slight_smile:

So this is the capacity chart for the last 3 days.

You can see that we pretty much oscillate all over the place. The average is 4.1, but we peak at 10 and go as low to 2 (the database is changing capacity literally every 5 minutes to change with demand). An average of 4.1 is half what we were at in Serverless 1 (which I ended up fixing at 8 as the hassle of capacity changes was too painful).

So in terms of impact:

  • Our costs have reduced down to half.
  • We now have higher capacity (10) available than we had before (8) for when we need it. I’m considering upping the top limit to 16 or even higher, just in case we need it.

In terms of performance, I’ve not benchmarked anything here yet, other than adding indexes now takes like 1s, compared to 10m before! Which is much nicer.

All in all - definitely a positive experience!