Server Optimization
How To Use ApacheBench To Do Load Testing on an Ubuntu 13.10 VPS
Tutorials
Ruby
Server Optimization
System Tools
Ubuntu
Introduction> Introduction # Load testing is a good idea before any deployment. It’s nice to quickly establish a best-case scenario for a project before running more detailed tests down the road.
How To Install and Use Memcache on Ubuntu 12.04
Tutorials
Caching
MySQL
PHP
Server Optimization
Ubuntu
Status: Deprecated> Status: Deprecated # This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:
How To Configure Redis Caching to Speed Up WordPress on Ubuntu 14.04
Tutorials
Caching
LAMP Stack
Redis
Server Optimization
Ubuntu
WordPress
Introduction> Introduction # Redis is an open-source key value store that can operate as both an in-memory store and as cache. Redis is a data structure server that can be used as a database server on its own, or paired with a relational database like MySQL to speed things up, as we’re doing in this tutorial.
How To Use HAProxy to Set Up MySQL Load Balancing
Tutorials
Debian
MySQL
Scaling
Server Optimization
Ubuntu
Prelude> Prelude # HAProxy is an open source software which can load balance HTTP and TCP servers. In the previous article on HAProxy we configured load balancing for HTTP and in this one we’ll do the same for MySQL.
Docker Explained: How To Create Docker Containers Running Memcached
Tutorials
Docker
Server Optimization
Ubuntu
Status: Deprecated> Status: Deprecated # This article is deprecated and no longer maintained.
Reason> Reason # The techniques in this article are outdated and may no longer reflect Docker best-practices.
How To Set Up Nginx Load Balancing
Tutorials
Nginx
Server Optimization
About Load Balancing> About Load Balancing # Loadbalancing is a useful mechanism to distribute incoming traffic around several capable Virtual Private servers.By apportioning the processing mechanism to several machines, redundancy is provided to the application — ensuring fault tolerance and heightened stability.
How To Measure MySQL Query Performance with mysqlslap
Tutorials
CentOS
MySQL
Server Optimization
Introduction> Introduction # MySQL comes with a handy little diagnostic tool called mysqlslap that’s been around since version 5.1.4. It’s a benchmarking tool that can help DBAs and developers load test their database servers.
How To Use JMeter To Record Test Scenarios
Tutorials
Scaling
Server Optimization
Introduction> Introduction # In this tutorial, we will teach you how to set up and use the Apache JMeter HTTP(S) Test Script Recorder to record HTTP requests. Recording HTTP requests is a great way to building test plans, and can be useful in creating tests that closely mimic a normal user’s behavior.
How To Configure Logging And Log Rotation In Apache On An Ubuntu VPS
Tutorials
Apache
Logging
Server Optimization
Ubuntu
Status: Deprecated> Status: Deprecated # This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:
How To Use MySQL Query Profiling
Tutorials
MariaDB
MySQL
Server Optimization
Introduction> Introduction # MySQL query profiling is a useful technique when trying to analyze the overall performance of a database driven application. When developing a mid to large size application, there tends to be hundreds of queries distributed throughout a large code base and potentially numerous queries ran against the database per second.
An Introduction to HAProxy and Load Balancing Concepts
Tutorials
Conceptual
HAProxy
Scaling
Server Optimization
Introduction> Introduction # HAProxy, which stands for High Availability Proxy, is a popular open source software TCP/HTTP Load Balancer and proxying solution which can be run on Linux, macOS, and FreeBSD.
How To Use Apache JMeter To Perform Load Testing on a Web Server
Tutorials
Scaling
Server Optimization
Introduction> Introduction # In this tutorial, we will go over how to use Apache JMeter to perform basic load and stress testing on your web application environment. We will show you how to use the graphical user interface to build a test plan and to run tests against a web server.
How To Add the gzip Module to Nginx on Ubuntu 14.04
Tutorials
Nginx
Server Optimization
Ubuntu
Introduction> Introduction # How fast a website will load depends on the size of all of the files that have to be downloaded by the browser. Reducing the size of files to be transmitted can make the website not only load faster, but also cheaper to those who have to pay for their bandwidth usage.
How To Optimize Apache Web Server Performance
Tutorials
Apache
Conceptual
Server Optimization
Ubuntu
Status: Deprecated> Status: Deprecated # This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:
How To Configure Logging and Log Rotation in Nginx on an Ubuntu VPS
Tutorials
Linux Basics
Logging
Nginx
Server Optimization
Ubuntu
Introduction> Introduction # To save yourself some trouble with your web server, you can configure logging. Logging information on your server gives you access to the data that will help you troubleshoot and assess situations as they arise.
Web Caching Basics: Terminology, HTTP Headers, and Caching Strategies
Tutorials
Caching
Conceptual
Server Optimization
Introduction> Introduction # Intelligent content caching is one of the most effective ways to improve the experience for your site’s visitors. Caching, or temporarily storing content from previous requests, is part of the core content delivery strategy implemented within the HTTP protocol.
How To Configure Virtual Memory (Swap File) on a VPS
Tutorials
Linux Basics
Server Optimization
Table of Contents & Preface> Table of Contents & Preface # Introduction – Requirements and Why
Pros & Cons – Droplet
Check if Enabled on your VPS
Swap Partitions, Swap Files, & Disk Images
How To Install WordPress, Nginx, PHP, and Varnish on Ubuntu 12.04
Tutorials
Caching
Nginx
PHP
Server Optimization
Ubuntu
WordPress
Status: Deprecated> Status: Deprecated # This article covers a version of Ubuntu that is no longer supported. If you are currently operate a server running Ubuntu 12.04, we highly recommend upgrading or migrating to a supported version of Ubuntu:
How To Add Swap on CentOS 7
Tutorials
CentOS
Server Optimization
Introduction> Introduction # One of the easiest ways to make your server more responsive, and guard against out-of-memory errors in your application, is to add some swap space. Swap is an area on a storage drive where the operating system can temporarily store data that it can no longer hold in memory.
How To Install and Use Memcache on Ubuntu 14.04
Tutorials
Caching
MySQL
PHP
Server Optimization
Ubuntu
Introduction> Introduction # As your websites grow and see an increase in traffic, one of the components that shows stress the fastest is the backend database. If your database is not distributed and configured to handle high loads, it can easily be overwhelmed by a relatively modest increase in traffic.