Scaling PHP CMS in AWS
There’s two major challenge when scaling a traditional CMS like Prestashop / Drupal: – Centralized session – File storage synchronized – Isolate Backend traffic to a single instance Let’s dive into details for each of them: Centralized Session This...
Scaling on the Cloud – How and When ? Part 2
We have discussed about the HOW of scaling in Part 1, let’s discuss on the WHEN of scaling. 1. Preemptive Scaling In other words, manual scaling. You are expecting an increase of traffic like: A crazy product promotion with huge...
Scaling on the Cloud – How and When ? Part 1
Cloud computing has been known for its flexibility, it can scale anytime. I will scale it down when traffic is low to save my cost, with just a button. I will scale it up when traffic is high to handle...
Setup lsyncd in Centos7
Lsynvd is a great tool for file sync across multiple web servers, instead of having a single NFS share, each web server will have their own copy of of files, solving single point of failure problem, and completely removing IOPS...