TRAFEX TRAFEX Consultancy Consultancy

Articles

Giving structure to your Kubernetes configuration

Giving structure to your Kubernetes configuration

Best practices for giving structure to your Kubernetes configuration

Read More March 28, 2022
Monitor business KPIs using the OpenMetrics standard

Monitor business KPIs using the OpenMetrics standard

Visualizing the important business KPIs in one dashboard by using an open standard and open source software

Read More February 27, 2022
How to make a load testing plan

How to make a load testing plan

Load testing gives insight into a web application’s behavior under peak load conditions and realistic load conditions. By load testing your web application you will identify the maximum capacity the web application can handle as well as any bottlenecks and determine which element is causing degradation.

Read More September 21, 2021
Checklist: Prepare your website for Go-Live

Checklist: Prepare your website for Go-Live

When you’re ready to launch your website or web application, you can use this checklist to be fully prepared for the Go-Live and have a smooth transition!

Read More September 10, 2021
The key components of Kubernetes autoscaling

The key components of Kubernetes autoscaling

Autoscaling is an important feature of Kubernetes. With this feature, you always have enough resources for the workload, and when a node becomes unhealthy it gets replaced without affecting the workload. But you won’t get it automatically by just deploying your Pods on Kubernetes.

Read More September 5, 2021
Create a DB backup from a pod running MySQL on Kubernetes

Create a DB backup from a pod running MySQL on Kubernetes

When using the MySQL docker image you can easily create a DB dump with this one-line CLI command.

Read More August 21, 2021
Doing maintenance & debugging on Kubernetes with a support pod

Doing maintenance & debugging on Kubernetes with a support pod

Using a support pod is a simple and secure way to take a look around from within the Kubernetes cluster without interfering with the workload or expose a security risk.

Read More August 21, 2021
Connect a relay board to your Raspberry Pi

Connect a relay board to your Raspberry Pi

If you want to switch things like lights with your Raspberry Pi, you need a relay board. A relay is an electronic switch that can be switched with a low-voltage signal. Exactly what the Raspberry Pi offers as GPIO pins. The relay board I’ve found is ideal for the Raspberry Pi.

Read More August 25, 2014
Quickly add a cachebuster to @import statements

Quickly add a cachebuster to @import statements

This CLI one-liner searches for .css files with @import statements and adds a ‘cache busting’ query string to it. You can use it to make sure the browser picks up the new CSS files when they are included with @import statements.

Read More August 16, 2014

PHP 5.5.13 breaks backwards compatibility

There’s a backwards compatibility break in PHP 5.5.13 (and PHP 5.4.29) affecting PHPUnit, Mockery, Doctrine, Symfony and probably a lot more.

Read More June 17, 2014
Caching WordPress with Nginx

Caching WordPress with Nginx

I’m running a WordPress website on a small VPS with the help of Nginx and PHP-FPM. But I noticed the site was not that fast as I wanted it to be. This is mainly caused by the little resources this VPS has. So every request needs to be as efficient as possible. To make that possible, I want to cache the requests with Nginx to minimize the requests that needs to be handled by PHP-FPM.

Read More June 2, 2014
Debugging Varnish requests with varnishncsa

Debugging Varnish requests with varnishncsa

Varnish provides some tools to help you monitor and debug Varnish’ health. One of those tools is varnishncsa. When you run it without arguments it shows a real-time access log in the Apache combined log format. That’s nice and can come in handy. But, it really gets interesting when you define your own format like this:

Read More June 2, 2014
Using Logstash, Elasticsearch and Kibana to get insight in my spending

Using Logstash, Elasticsearch and Kibana to get insight in my spending

Last weekend I came up with the idea to import my bank transactions into ElasticSearch to see if I can get some nice statistics out of it with Kibana. In turned out to be a interesting “weekend project” and gave some insights in my spending.

Importing into Elasticsearch

First I need to import the CSV files from my bank (Dutch ING bank) into ElasticSearch. Logstash is the ideal tool for this.

Config

I’m using the following config:

Read More March 2, 2014