Install HAProxy with SSL Termination

These days I have been working with scaling solutions for a PHP framework. Previously I came with Nginx as load balancers, however, with the requirement of health check and failover, I need to come to HAProxy this time. So I write this entry as a note for installing HAProxy with SSL […]

Load Testing with Locust

You might be familiar with load testing tools such as Apache Benchmark (ab), siege, Apache JMeter and cloud services such as BlazeMeter, LoadImpact, Loader.io, etc. I tried many other tools, and found that there is no tool that completely satisfies me: ab and siege are too plain and simple without scenario, JMeter needs time […]

Install RocketChat with Docker Compose for Development

If you ask me: what the hell Rocketchat is, then you should better ask Google. This article notes steps to install RocketChat with Docker Compose for development purpose. 1. Create docker-compose.yml I want to expose the mongo port (27017) to the host network so I also declare it in the ports […]

Use Yandex ClickHouse for Analytics with Data from MySQL

Today I will discuss a newborn star on DB for analytics: ClickHouse by Yandex. ClickHouse is quite new when comparing to other solutions, however, there are lots of popular giants using it in production such as Yandex and Cloudflare. In this blog entry, I will note necessary steps to setup […]

Upgrade to latest Nginx and PHP-FPM on Ubuntu 16

Ubuntu 16 might be the most popular Ubuntu version (right now), so I put more effort on it. By default, the current Ubuntu 16.04 officially support PHP 7.0.x and Nginx 1.10.x versions. However as a crazy one who always wanna try latest releases, I cannot bear with it. So, below […]

GitLab docker on Ubuntu

Today I decided to move my self-hosted gitlab instance to Docker so that I will not need to reinstall and configure lots of things when migrating from one host to another host. So I blog this entry to note steps to install gitlab docker on Ubuntu. Install Docker CE (or […]

Server Monitoring with Zabbix

For a long time, I have stuck on many hosted monitoring softwares to avoid management effort on a self-hosted monitoring system. However, free stuffs cannot go long so I must move from services to services. This makes me tired! Thus I decided to return to a self-hosted solution so that […]

React Native – Beginner’s Notes

Introduction As when I started working on React more than 1 year ago, I faced many noob issues that I think many newbies will also struggle with. Several weeks ago, I enter the React Native world, and I have been learning as a newbie again. As I do not have […]

Hadoop A Beginner’s Note

 NameNode (NN) NN holds the metadata of the files in HDFS, maintains the entire metadata in RAM It is important to run NN from a machine that has lots of RAM at its disposal. The higher the number of files in HDFS, the higher the consumption of RAM In case the […]

Create a new VM from KVM disk in Proxmox

Today I restored a Cloudera disk to Proxmox KVM to try out this excellent big data open source. I think the procedure is not hard, but it is quite verbose and it might take time to find out where to find each option. So I decided to note here the […]