Streaming an authenticated video to Safari video element with http2 enabled.

Photo by Sam McGhee on Unsplash


  1. A friend called me, to help the marketing agency he works at with an adult website where they couldn’t figure out why videos weren’t working on Safari.
  2. Safari sends a `Range` header and expects the content streamed to be served chunked when HTTP2 is enabled
  3. Files were hosted on AWS…

Making a Kubernetes cluster functional with a few extra add-ons

Photo by JR Korpa on Unsplash

In the previous article, I explained how to set up a HA K8s cluster.

But it’s just a bare installation of Kubernetes.

What’s missing

After setting up the cluster, except for K8s, it won’t have much on it. To make it work we need to deploy some extra applications.

The first and…

A look into handling networking when building on-premises K8s and Ceph clusters

Photo by Taylor Vick on Unsplash

Let’s take a look at how we need to wire all the servers to get the most out of them. The article continues from this one.


We have at least 9 servers that communicate with each other and even on standby there’s a lot of data travelling to and from…

Understanding how persistent storage works in distributed systems

Photo by Fredy Jacob on Unsplash

May contain references to the previous article.


So I told Kubernetes to deploy a php application that generates pdf files, stores the “generated” status on the database and then renders them. Then I also deployed a MySQL database. …

Overcoming infrastructural limits while setting up a production Kubernetes Cluster

Photo by Ryan Parker on Unsplash

After a thorough search considering ease of configuration, network and costs, We selected a hosting provider and set up a number of dedicated servers configured the way we wanted them.

For demonstration purposes I’ll assume we have 9 dedicated servers.

This is a follow up of my other article.

High Availability


How to install and configure Kubernetes on your own servers and create your custom cluster

Photo by Guilherme Cunha on Unsplash

This is the simplest design you can configure Kubernetes on (except minikube). It is not meant to be for production use as it does not offer high-availability on the cluster. More on the reasons later.

Just because it’s getting a lot of hype lately, it doesn’t mean that it is…

Jupyter Notebooks make it pretty easy and visual

A transparent human skull with the brain being visible. Unsplash — Jesse Orrico

One of the tools used for Machine Learning is TensorFlow. TensorFlow is a framework based on python. It’s purpose is to simplify operations between tensors. A tensor is a mathematical object which represents a vector of undefined length and dimensions.

What does a vector have to do with machine learning…

How to create a Kubernetes cluster on VirtualBox the proper way

Kubernetes (background photo from , Unsplash)

A few months after I joined Caffeina, the CTO (Stefano Azzolini) mentioned Docker in one of our weekly meetings. At the company I’m primarily a mobile developer but I didn’t really get what it was so I wanted to understand it. I started learning Docker and I created an infrastructure

Ani Sinanaj

Enjoying Stockholm and Sweden 🇸🇪

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store