Category: Cache

How to Install Memcached on Linux

1. Memcached Compilation and Installation:
yum install libevent-devel # Environment setup: install libevent-devel
wget http://memcached.org/files/memcached-1.4.33.tar.gz
Or download from our site:
http://www.cnop.net/html/down/code/2016/110 …

Varnish Cache Configuration and Optimization Example on Linux

Varnish is a high-performance open-source HTTP accelerator. Norway’s largest online newspaper, Verdens Gang, replaced 12 Squid servers with just 3 Varnish instances, achieving even better performance than before.

However, compared to the veteran Squid, each has its own pros and cons, and there are numerous online comparisons …

YUM Installation and Configuration Guide for Varnish

1. Lab Environment:
CentOS 5.x
Varnish 2.0.6
2. Installation Steps:

1. Install YUM repository and software:
Note: EPEL is a YUM update repository in Linux systems. Sometimes when packages cannot be found via YUM, installing EPEL can help locate the relevant packages.
#yum install epel-release
#yum i …

Varnish Installation Guide

The number of connections to the project’s image server had become very large. To relieve pressure on the image server, I tried installing a Cache server using Varnish for image caching. It has been running stably and performing well since going live. Here is the installation document; feedback and discussion are welcome:

Installation Environment
Operating System: Cen …

Varnish Install Error: readline library not found Fix

While setting up a Varnish cache server environment today, I encountered an issue during installation. When running configure, the following error appeared:

configure: error: readline library not found

I had already installed the readline package on the system beforehand.

Small to Medium Website Architecture Analysis and Optimization

First, look at the website architecture diagram: The architecture above is widely used in medium and large-scale websites. This article analyzes the mainstream technologies and solutions used at each layer of the architecture, helping newcomers to website operations and maintenance further understand website architecture, so they can develop their own architectural concepts. Layer 1: CDNThe domestic network distribution is mainly China Telecom in the south and China Unicom in the north …

Introduction to Squid and Its Simple Configuration

Squid Introduction and Basic Configuration

1. What Is Squid?
  Squid is a software used to cache Internet data. It achieves this by accepting requests from
people for the objects they need to download and processing these requests appropriately. That is, if a person wants
to download a web …