Ruby on Rails cache poisoning

The cache poisoning attack is a sophisticated method used by hackers to manipulate data in a server's cache. This article discusses one of the most common cache poisoning attacks that exploit the HTTP X-Forwarded-Host header. This type of

Docker for Mac 98% faster with VirtIOfs

If you are a developer who uses Docker Desktop on your Mac, you might have noticed that it can be quite slow when it comes to file sharing between the host and the guest operating systems. This can affect the

Docker build caching in GitLab

As a software developer, you’re probably familiar with the time it takes to build a Docker image, especially if your application is complex and requires many dependencies. But did you know that you can speed up your builds by

Databases on NFS shares

Last week I was trying to deploy a MariaDB container to my home lab which has to use TrueNAS share as persistent storage. I'm currenly using NFS storage for my homelab docker cluster. I wasn't working

Buone feste 🎄

Un augurio di serene feste e felice nuovo anno. Colgo l’occasione per segnalarvi che sarò in ferie dal 24/12 all’8/1. A presto, Andrea Casarin andreacasarin.com Facebook | Twitter | Linkedin

Kubernetes state and metrics monitoring

When moving your workload from some VMs to a Kubernetes cluster you may find yourself losing grasp on what's happening, it happens to all of us. However K8S has some great ways to make sure you are on

Postgres, where and null

Some days ago I was working on a project which uses Postgres as DBMS. Postgres is great, but it has some significant differences if you are used to MySql. I learned one of them the hard way. While doing a