about Nginx as Reverse proxy
Posted: Sun Sep 07, 2014 8:45 pm
Hello Everyone...
I'm a 10+ yrs experienced Windows Tech-Admin with some 'OK' knowledge of Linux.
I'm in need of upgrading my 2yrs old 1GB VPS to better modern 4GB SSD VPS. So I'm giving it a thorough study as to how I should relish latest nginx performance benefits. I have installed VestaCP and I find it quite remarkably done!
However, since I would want setup and forget once my new VPS, I would want to have clear some of my doubts:
I will be running around 10-15 wordpress sites on this VPS, the visit is quite low but one of my main WP sites can have quite a surge every now and then, ranging from 50 users a day to upto 2000 users a day. So there can be spikes of memory usage by this site, exactly what has encouraged me to upgrade my current VPS setup. Other than this, I would like to host numerous low traffic PHP sites, mostly static which should leverage good page load speed.
I understand exactly what reverse proxy is, and that Vesta uses this architecture, but I want some views if this Reverse Proxy setup will give me good performance benefits... and more importantly... offload Apache's performance problems under sudden visitor surge?
Also please suggest how to use MariaDB instead of Mysql.
All in all, please suggest any performance enhancement measures that should be helpful. But in the end I'd want to have a stable, more healthy setup performing best for years to come.
---Regards,
Gagan
I'm a 10+ yrs experienced Windows Tech-Admin with some 'OK' knowledge of Linux.
I'm in need of upgrading my 2yrs old 1GB VPS to better modern 4GB SSD VPS. So I'm giving it a thorough study as to how I should relish latest nginx performance benefits. I have installed VestaCP and I find it quite remarkably done!
However, since I would want setup and forget once my new VPS, I would want to have clear some of my doubts:
I will be running around 10-15 wordpress sites on this VPS, the visit is quite low but one of my main WP sites can have quite a surge every now and then, ranging from 50 users a day to upto 2000 users a day. So there can be spikes of memory usage by this site, exactly what has encouraged me to upgrade my current VPS setup. Other than this, I would like to host numerous low traffic PHP sites, mostly static which should leverage good page load speed.
I understand exactly what reverse proxy is, and that Vesta uses this architecture, but I want some views if this Reverse Proxy setup will give me good performance benefits... and more importantly... offload Apache's performance problems under sudden visitor surge?
Also please suggest how to use MariaDB instead of Mysql.
All in all, please suggest any performance enhancement measures that should be helpful. But in the end I'd want to have a stable, more healthy setup performing best for years to come.
---Regards,
Gagan