Performance obsession
I’m a bit obsessed when it comes to the performance of my blog (and GoBlog). But I think I have already achieved a very good result.
After subtracting latency (determined using ping jlelse.blog
), most pages take less than 5 - 10 milliseconds to load (even less if they are cached app-side), even though I don’t use an extra fast server or any other tricks.
It’s probably just the combination of Go, SQLite and a large number of hours I put into developing the software.
But good performance and efficiency are a win-win-win situation. Visitors do not have to wait long. I don’t have to worry about server capacity or costs, and the low resource requirements save energy.
And even though I probably spent a lot of time on all these optimizations, I still learned something new every now and then that will help me with future development.
Tags: GoBlog, Performance, Thoughts