Sunday, December 24, 2023

Moving Blog To Cloud Compute

It's been an interesting experience this week moving my blog to a Digital Ocean droplet using this guide.

Some lessons I've learnt:

  • A low cost droplet is a slow computer, you actually need to consider what packages you're using and if it'll slow things down, I had some problems with RSS parsing and realised this was slowing my whole app down
  • Rely on the SQLite database, for rendering HTML don't do anything too crazy apart from some good database queries
  • Use Cloudflare to ensure site is secure, it was simple and free to setup, definitely something I'd recommend