Many developers have asked me the effective way to test their code in a multi-server environment. In the most case, I suggested them to go with Docker and Docker compose so that everything can be simulated in an effective manner. And in most of the case, the reverse proxy/balancer services […]
Yearly Archives: 2018
As you might know, MySQL introduces Document Store (via JSON field) from version 5.7 and version 8.0. Since currently, it is in an early stage, the performance is not really good compared to its direct competitor: MongoDB. However, this is really a good move for MySQL after their introduction of MySQL […]
As you may know, I started working with high load MySQL servers in 2010 (and then there are several entries that were noted in 2012 after I purchased back this domain :-D) and I mostly go with multi-slaves replications. These might be true in many practical cases where most of […]
This article focuses on how to profile PHP applications with Tideways XHProf and XHGui. I myself prefer this approach than the old XDebug and Webgrind so most of my recent projects have been utilizing this. Since this is just simply a note, Google is your friend for the mentioned tools. […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]