Category Archives: Hosting

Simulating high-traffic for Linode VPS via LoadImpact

Hosting Reviews

Thanks to the opportunity given to me by guys from LoadImpact.COM i recently tested my Linode 512 MB VPS with advanced load levels, simulating well-almost a “slashdot effect”. And while my WordPress blog was able to withstand a maximum load of 250 simultaneous users (that’s what these guys use as a measure of load simulation) for one of my client’s Drupal installation numbers were not really that good. Take a look at graphs with comments after the break.

continue reading »

Make your LEMP website faster by installing eAccelerator

Hosting PHP

The other day i had a discussion with someone about how fast Java-powered website are, because the code is compiled and serving a page takes a breeze. The point of discussion was me writing code using php, which is a scripting language and compiles code on-the-fly every time you make a request to the website.

So i decided to take a little experiment involving current LEMP (php-fpm/mySQL Linode VPS host) setup for the client’s WordPress blog and add eAccelerator to it.

continue reading »

Log only certain file types being downloaded from your website with nginx access_log directive

Hosting

Say you host a website where you have workshops in PDF and would like to get statistics on how many people download them, but due to the setup of your CMS (in my case Drupal) and links being already on the website it is almost impossible. Luckily, those of you who use Nginx as their web server can configure it to log only certain file types being downloaded.

Here is how

continue reading »

Desktop website performance tool – Apache JMeter

Hosting

Just a post ago i was wondering about testing my website’s performance under heavy load and did this using online tool from LoadImpact. However, the limitation of the free service at LoadImpact.COM is that you can only run a certain amount of tests per specific website a day. Thus i got a thought  about good desktop tool, which would allow me for unlimited use.

My Twitter friend @portertech suggested on looking at Apache’s JMeter. Sure enough, the tool is complex and Apache’s website is full of “non-human” language describing it. Sean had also suggested on visiting FossCasts.COM to learn about the basic use of JMeter – and again thanks to him for that. Now i can run as many tests a day as i want. And FossCasts.COM – definitely worth adding to your favorites.

Apache vs. Nginx – testing performance under heavy load

Hacks Hosting Reviews

It has come to my attention, when a client of mine recently experienced unexpected traffic spike, that some industry standard solutions not always work or should i say not 100% reliable all the time. My client’s server setup was an-old-school Apache 2.2/mod_php WordPress blog installation. One day they posted some “hot-buzz” celebrity photos and server had become non-responsive under the traffic flow. Of course, at that time i was unaware about high-availability setups and never imagined scenarios like this one, when you get monthly volume of visitors during the 24 hour period.

Since then i have researched a lot of places online and found, that Apache web server is not the only solution to the hosting setup problem. Many others exist and those others, event quite “beta”, allow for the great tolerance for the high volume traffic.

Today i’d like to share with you my test results for my current server setup – LEMP or Linux, nginx (Engine-x), MySQL, PHP-FPM versus my old setup for this blog: LAMP – Linux, Apache, MySQL, PHP. Both of those are on the Linode VPS (Linode 360). Before getting rid of the old server configuration i booted it one more time and ran tests using guys from LoadImpact to determine how will each of these survive under the load of 10-20-30-40-50 simulations requests.

continue reading »