India English
Kenya English
United Kingdom English
South Africa English
Nigeria English
United States English
United States Español
Indonesia English
Bangladesh English
Egypt العربية
Tanzania English
Ethiopia English
Uganda English
Congo - Kinshasa English
Ghana English
Côte d’Ivoire English
Zambia English
Cameroon English
Rwanda English
Germany Deutsch
France Français
Spain Català
Spain Español
Italy Italiano
Russia Русский
Japan English
Brazil Português
Brazil Português
Mexico Español
Philippines English
Pakistan English
Turkey Türkçe
Vietnam English
Thailand English
South Korea English
Australia English
China 中文
Somalia English
Canada English
Canada Français
Netherlands Nederlands

Boost Your Website Speed with Fast VPS Hosting

Introduction

According to Google’s SOASTA Research of 2017, the probability of bounce increases 32% as page load time goes from 1 second to 3 seconds. Basically, this means two things: your website should load in less than 3 seconds, and it’s much better if it loads in 2 seconds or 1 second. For most users, how to make this happen is a big challenge. This article is out to teach you exactly how to use Fast VPS Hosting to achieve that and win your visitors – who are your potential customers – at first sight. Sites that load faster will sell more than sites that load slower.

About a Study We Conducted on Fast VPS Hosting

A few weeks ago, we conducted a practical study to determine what amount of traffic a specific VPS can hold. Our conclusion was that, to host about 250 concurrent users on your website, you need a Fast VPS Hosting with 4core CPU and 8GB RAM – assuming you do not do any optimizations on your server.

What this means is, with the same resources, you can actually host a much bigger number of visitors if you optimize your website. We will go through several things you need to optimize to increase your performance and reduce costs.

The Five Secrets to Speed Up Your Website Using Fast VPS Hosting

There are 5 aspects of your hosting you need to optimize for great speeds.

Webserver Configuration

The first crucial move is to use fast VPS Hosting powered by Nginx or Litespeed web server. These are webservers built for speed.
To configure Nginx to handle 500 concurrent users, you can adjust various settings to optimize its performance and handle the increased load. Here are some key configuration settings to consider:

Worker Processes

Set the number of worker processes in the nginx.conf file. The optimal value depends on your server’s hardware capabilities, but you can start with a number equal to the number of CPU cores available. Example:

   worker_processes auto;

Worker Connections

Configure the maximum number of connections each worker process can handle simultaneously. Increase this value to allow more concurrent connections. Example:

   events {
     worker_connections 1024;
   }

Keepalive Connections
Adjust the keepalive timeout and the maximum number of idle keepalive connections to conserve system resources and improve performance. Example:

   http {
     keepalive_timeout 60;
     keepalive_requests 1000;
   }

Buffer Sizes
Tune the buffer sizes for handling large volumes of data and optimizing network performance. Example:

   http {
     client_body_buffer_size 10K;
     client_header_buffer_size 1k;
     client_max_body_size 8m;
     large_client_header_buffers 4 32k;
   }

Gzip Compression
Enable gzip compression to reduce the size of HTTP responses and improve transfer speeds. Example:

   http {
     gzip on;
     gzip_comp_level 5;
     gzip_min_length 256;
     gzip_proxied any;
     gzip_types application/javascript application/json text/css;
   }

Static File Caching
Configure Nginx to cache static files, such as images, CSS, or JavaScript files, to minimize the load on the backend server. Example:

   http {
     proxy_cache_path /path/to/cache levels=1:2 keys_zone=my_cache:10m max_size=10g
                     inactive=60m use_temp_path=off;
     server {
       location / {
         proxy_pass http://backend;
         proxy_cache my_cache;
         proxy_cache_valid 200 302 10m;
         proxy_cache_valid 404      1m;
       }
     }
   }

Database Configuration

In this case, we’ll assume you use MySQL. You can apply the equivalent settings for other databases such as Postgres.

To optimize MySQL for heavy load and improve its performance, you can adjust the following settings in my.cnf file

  1. Max Connections:
    Increase the maximum number of concurrent connections allowed by MySQL to handle the heavy load. Example:
   max_connections = 500
  1. Key Buffer Size:
    Adjust the size of the buffer used for caching index blocks for MyISAM tables. This can improve the performance of index lookups. Example:
   key_buffer_size = 256M
  1. Query Cache:
    Enable the query cache to store the results of SELECT queries in memory, reducing the need to re-execute the same query. Example:
   query_cache_type = 1
   query_cache_size = 128M
  1. Table Cache:
    Increase the table cache size to allow MySQL to keep more tables open simultaneously. This can be beneficial if you have a large number of tables. Example:
   table_open_cache = 2048
  1. InnoDB Buffer Pool Size:
    Adjust the size of the buffer pool used by InnoDB, which caches frequently accessed data and indexes. This is important if you’re using InnoDB as your storage engine. Example:
   innodb_buffer_pool_size = 1G
  1. InnoDB Log File Size:
    Increase the size of the InnoDB log files to improve write performance and reduce the frequency of log file flushes. Example:
   innodb_log_file_size = 256M
  1. Temporary Table Size:
    Increase the size of the temporary table memory cache to avoid disk-based temporary tables, which can significantly impact performance. Example:
   tmp_table_size = 64M
  1. Max Allowed Packet:
    Adjust the maximum allowed packet size to accommodate larger queries or data transfers. Example:
   max_allowed_packet = 64M

Network Traffic Configuration

Incoming network traffic can be a hindrance to your website load speed. Remember, not all traffic coming into your website is good. Some traffic is simply sent by malicious actors as an attack on your site to deny your legitimate users a good experience. This is done through bots, and such traffic needs to be blocked out. There are a combination of several techniques you can apply on your website to safeguard it against attacks. This includes Rate Limiting, Behavioral analysis, IP address filtering, and user agent filtering.

However, we recommend simply using Cloudflare. Cloudflare is a DNS service provider that also provides several other services for your website. By integrating your website with Cloudflare DNS, you automatically apply very many security features that protect your site from malicious traffic. This guide will assist you in connecting your website to Cloudflare.

Caching Configuration

Caching is very important for any modern site. It reduces the load time by ensuring some resources are fetched from memory instead of disk. Caching should be applied both at database level and static file eg CSS and JS files. If you use WordPress, several plugins already exist to make this possible. This include W3Total Cache, Litespeed Cache(requires Litespeed Webserver) and more.

If you use a custom made website, try to integrate Redis or Memcached on your website/application to make use of caching technologies.

Use Fast Storage

NVMe Disks are the fastest disks now with speeds of upto 3500Mb/s compared to just 160Mb/s for traditional HDD. When selecting storage for your website, make sure its NVMe to get the best speeds. With Truehost, this is already catered for as our VPS run on NVMe Disks.

Getting Started with Fast VPS Hosting

To get started on this journey, you need to acquire a VPS. We recommend Tcloud VPS 2 as you start. This one provides 1 core, 2GB RAM, and 60 GB of NVMe type storage (fastest disks currently). You can always upgrade to higher plans as traffic demands.

If you already have 500 concurrent users on your site, we recommend Tcloud VPS 3. With that and the optimizations above, you’ll spend 100% of your time growing your blog or business as traffic will be handled well.

Check out range of Fast VPS Hosting plans below. Performance, Stability, Afforability and Round the Clock Customer Support

Enjoy excellent performance on NVMe Drives

Tcloud VPS 1 (Litespeed)

Ksh 800
Save 0%
Ksh
800
/mon
KES
Select

Ksh 800/mo when you renew

  • 30 GB SSD
  • 1 GB RAM
  • Unlimited Domains
  • Unlimited Emails
  • 1 vCore(s)
  • 3 GHz
  • 1 TB Bandwidth
  • Powered by LiteSpeed Web Server &  Tpanel
     
  • Data center choice – Europe

Tcloud VPS 2 (Litespeed)

Ksh 1500
Save 9%
Ksh
1355
/mon
KES
Select

Ksh 1355/mo when you renew

  • 60 GB SSD
  • 2 GB RAM
  • Unlimited Domains
  • Unlimited Emails
  • 1 vCore(s)
  • 3 GHz
  • 2 TB Bandwidth
  • Powered by LiteSpeed Web Server &  Tpanel
     
  • Data center choice – Europe

Tcloud VPS 3 (Litespeed)

Ksh 2500
Save 8%
Ksh
2300
/mon
KES
Select

Ksh 2300/mo when you renew

  • 100 GB SSD
  • 4 GB RAM
  • Unlimited Domains
  • Unlimited Emails
  • 2 vCore(s)
  • 3 GHz
  • 3 TB Bandwidth
  • Powered by LiteSpeed Web Server &  Tpanel
     
  • Data center choice – Europe

Tcloud VPS 4 (Litespeed)

Ksh 5000
Save 0%
Ksh
5000
/mon
KES
Select

Ksh 5000/mo when you renew

  • 200 GB SSD
  • 8 GB RAM
  • Unlimited Domains
  • Unlimited Emails
  • 4 vCore(s)
  • 3 GHz
  • 3 TB Bandwidth
  • Powered by LiteSpeed Web Server & Tpanel
  • Data center choice – Europe

UnManaged VPS 1

Ksh 700
Save 0%
Ksh
700
/mon
KES
Select

Ksh 700/mo when you renew

  • 1 vCore(s)
  • 3 GHz
  • 1 GB RAM
  • 20 GB SSD
  • Local RAID
  • Any Linux OS of Choice
  • Free Tpanel Control Panel*
  • Data center choice – Europe

UnManaged VPS 2

Ksh 1200
Save -33%
Ksh
1600
/mon
KES
Select

Ksh 1600/mo when you renew

  • 50GB SSD Storage
  • 1 Core
  • Latest Xeon Processor
  • 2 GB RAM
  • Daily Backup
  • 1 IPv4
  • Linux Operating System of Choice
  • Free control Panels – Tpanel
  • Data center choice – Europe

UnManaged VPS 3

Ksh 2300
Save -33%
Ksh
3066.67
/mon
KES
Select

Ksh 3066.67/mo when you renew

  • 80GB SSD Storage
  • 2 Core
  • Latest Processor
  • 4 GB RAM
  • Daily Backup
  • 1 IPv4
  • Linux Operating System of Choice
  • Control Panel of Choices – Free Tpanel
  • Data center choice – Europe

Kenya VPS 1

Ksh 800
Save 0%
Ksh
800
/mon
KES
Select

Ksh 800/mo when you renew

  • 1 Core Processor
  • 512MB RAM
  • 10GB HDD Disk
  • Unlimited Local Transfer
  • 1 IP4 IP Address
  • Linux OS
  • Kenya Data Center

Kenya VPS 2

Ksh 1950
Save 0%
Ksh
1950
/mon
KES
Select

Ksh 1950/mo when you renew

  • Server Specifications
  • Web Space 20 GB
  • International Bandwidth 1500GB
  • Local Bandwidth Unlimited
  • Local Transfer rate 1 GBps
  • Datacenter KENYA
  • CPU @ 2.4Ghz 1 Core
  • RAM 1 GB
  • General Specifications
  • 24/7 Server Level support
  • 99.9% uptime guarantee
  • Fully managed service
  • 1 IP addresses included
  • Linux OS operating system
  • Redundant RAID10 disk space
  • Root access
  • Firewall configuration
  • Regular updates
  • Optional 24/7 monitoring
  • SSH access
  • Guarantees
  • Latest Intel CPU’s
  • 100 MB/s connectivity

Kenya VPS 3

Ksh 5500
Save 0%
Ksh
5500
/mon
KES
Select

Ksh 5500/mo when you renew

  • Server Specifications
  • Web Space 40 GB
  • International Bandwidth 1500GB
  • Local Bandwidth Unlimited
  • Local Transfer rate 1 GBps
  • Datacenter KENYA
  • CPU @ 2.4Ghz 2 Core
  • RAM 2GB
  • General Specifications
  • 24/7 Server Level support
  • 99.9% uptime guarantee
  • Fully managed service
  • 1 IP addresses included
  • Linux OS operating system
  • Redundant RAID10 disk space
  • Root access
  • Firewall configuration
  • Regular updates
  • Optional 24/7 monitoring
  • SSH access
  • Guarantees
  • Latest Intel CPU’s
  • 100 MB/s connectivity

cPanel/WHM License – VPS

Ksh 1500
Save -33%
Ksh
2000
/mon
KES
Select

Ksh 2000/mo when you renew

  • Requirement: Server being installed must be 2GB RAM and above

Additional 50 GB Disk storage

Ksh 1000
Save 0%
Ksh
1000
/mon
KES
Select

Ksh 1000/mo when you renew

  • 50 GB Disk

VPS – Shared Hosting Migration Service

One Time
Ksh
1000.00
KES
Select

No renewal fee.

  • Get Data Migrated to VPS
  • Get Data Migrated to Shared Hosting
  • Optimum Software Set up
  • Optimum Security Configuration

Share some Love
× WhatsApp us