All posts

Everything written about backend on invisi.dev.

  1. Less known Go runtime details that affect performance

    · 2 min read

    I’ve been playing with some of the more nuanced behaviors of Go recently, and I stumbled upon a few scenarios that could really impact performance if not handled carefully. These aren’t exactly beginner mistakes; they tend to pop up once you’re dealing with higher loads or constrained environments.

  2. Spin up a tiny Socket.IO server for local debugging

    · 4 min read

    This is a short, practical guide to run a Socket.IO service locally so you can build and debug any socket client (web, mobile, or server). You’ll get a streaming endpoint that emits sample data every 2 seconds, plus a minimal client to verify events.

  3. Is Redis still my first choice for caching?

    · 2 min read

    Redis has been my default choice for caching in most projects for a long time. It’s fast, reliable, and flexible enough to handle a wide range of use cases. But after using it across different kinds of applications, I’ve started questioning whether it’s still the best option in every situation, or if there are times when something else might be a better fit.

  4. PostgreSQL vs MySQL from a product developer’s perspective

    · 2 min read

    I’ve worked with both PostgreSQL and MySQL on different projects over the years. The question of which one to use comes up pretty often, so here’s my personal take based on what I’ve actually experienced, not theory.

  5. Gin Framework Under Real Load: Small Changes That Made a Big Difference

    · 3 min read

    If you’re using Gin in Go, you probably know that feeling everything runs smoothly on your laptop, but once real traffic hits (like when your smart home API gets hammered), things can suddenly slow down. Gin is already pretty fast, but under real load, a few small tweaks can make a surprisingly big difference.