Tag Archives: Linux

Dstat – A Resourceful Tool to Monitor Linux Server Performance in Real-Time

Dstat – A Resourceful Tool to Monitor Linux Server Performance in Real-Time

We are always looking for interesting tools to make managing linux and linux performance better. This is one of those cool tools that will make life easier and a good article from Techmint on it.

Some of the popular and frequently used system resource generating tools available on the Linux platform include vmstat , netstat , iostat , ifstat and mpstat . They are used for reporting statistics from different system components such as virtual memory, network connections and interfaces, CPU, input/output devices and […]

How to setup a SVN server on CentOS

How to setup a SVN server on CentOS

SVN is one the most popular repositories for code and having your own SVN repository on a Linux VPS makes a lot of sense. It could be your main repository or it could be a backup. Offsite backups are must these days and act like an insurance policy against fire, theft and damage.

This tutorial explains how to setup and use an SVN repository server on CentOS. Before I start, let me explain what actually SVN represents and what it is used for. SVN is actually an abbreviation of SubVersion which had been created by the Apache software developer. It enables you […]

Why is your site so fast? 11 things you can do to have a fast loading website

We often get asked “How do you do it, your website seems so fast”. Well obviosuly being in the business, we have learnt a lot of tricks over the years and we also have quite a lot at our disposal to make sure vpsnine.com loads quickly! This is something that our customers can also do and indeed should be doing. Site speed is so important from a usability point of even and it is even a factor in Google SEO rankings. Some of it requires some knowledge of PHP , Linux or other System Administration skills, but I am going to list some of the points here

  1. Host your server or VPS in the best location for your audience.
    If your audience is in Singapore then clearly a Singapore server makes sense. However many companies these days aim at a global audience, just like we do. So we locate our main servers in Europe as the EU has great ping times to most parts of the world.
  2. Get a server or VPS with 1Gbps speeds , SSD and a reliable network. These all make a difference collectively. While shared hosting is ok for a small site, it is not going to give you the performance and speed you need as your site grows.
  3. Use Cpanel. It may seem counter productive as cPanel does add quite a bit if overhead, but it really is the best way to ensure you have a stable and secure hosting environment. cPanel auto applies all the latest security patches and configuration changes for you and you can be sure it works!
  4. Use mod_pagespeed – this is really great at speeding up lots of little things in your html that overall can make your site load faster. It does require a bit of fine tuning of filters and other options.
  5. Use a php accelerator like xCache with you can easily enable in cPanel
  6. Use memcached for php session information and to cache certain content that you get from your database. This is usually very site specific and make require some php knowledge to get it going.
  7. Tune mysqld – there are often small tweaks that can be made to improve performance.
  8. Check different Apache/php loading methods. Fast Cgi is often the fastest, but for security and other reasons you may need to use suphp.
  9. Do not do dns lookups anywhere, either in Apache configuration or your scripts. It does slow down your website and you generally do not need to process that in real-time.
  10. Use Cloudflare – with their network of well over 30 edge locations world wide, if you have a global audience, there is not better way to get enhanced security and speed all in one go. Essentially someone will connect to a location very close to them and Cloudflare’s magic will accelerate the data served to that client.
  11. Monitor it. Use a service like Pingdom or Host-Tracker to alert you if your site goes down or response time is too high. The best way to do this is to configure the service to look for a keyword that comes from your database. There are cases when your site looks like its up, but the content is in fact not loading due to a coding error or database issue, so this ensures you know about issues.

There are naturally other factors to the magic sauce and some trade secrets that we will keep under our white hats for now.

Of course we at VPSNine are here to help you if you need to benefit from any of the above. Depending on the plan you have with us we will be able to assist, contact our sales team to find out more.