All Projects → ThijsFeryn → varnishtraining

ThijsFeryn / varnishtraining

Licence: other
Second iteration of my Varnish training. This version is specifically created for the Symfony Live Berlin 2017 workshop I've presented.

Projects that are alternatives of or similar to varnishtraining

Foshttpcache
Integrate your PHP application with your HTTP caching proxy
Stars: ✭ 308 (+893.55%)
Mutual labels:  caching, varnish
ansible-roles
Library of Ansible plugins and roles for deploying various services.
Stars: ✭ 14 (-54.84%)
Mutual labels:  varnish, haproxy
Laravel Varnish
Making Varnish and Laravel play nice together
Stars: ✭ 291 (+838.71%)
Mutual labels:  caching, varnish
Awesome Wp Speed Up
Plugins and resources to speed up and optimize your WordPress site.
Stars: ✭ 375 (+1109.68%)
Mutual labels:  caching, varnish
Nuster
A high performance HTTP proxy cache server and RESTful NoSQL cache server based on HAProxy
Stars: ✭ 1,825 (+5787.1%)
Mutual labels:  caching, haproxy
Haproxy
HAProxy Load Balancer's development branch (mirror of git.haproxy.org)
Stars: ✭ 2,463 (+7845.16%)
Mutual labels:  caching, haproxy
Pike
HTTP cache server, such as varnish
Stars: ✭ 155 (+400%)
Mutual labels:  caching, varnish
HAProxy-2-RPM-builder
Build latest HAProxy binary with prometheus metrics support
Stars: ✭ 28 (-9.68%)
Mutual labels:  caching, haproxy
capistrano-docker-compose
Docker Compose specific tasks for Capistrano
Stars: ✭ 17 (-45.16%)
Mutual labels:  haproxy
LocalSupport
A directory of local support services and volunteer opportunities
Stars: ✭ 60 (+93.55%)
Mutual labels:  caching
WikiSearch
A flutter search engine based on MediaWiki with caching.
Stars: ✭ 39 (+25.81%)
Mutual labels:  caching
varnish-cache-reaper
Simple python/twisted HTTP daemon forwarding PURGE and BAN requests to multiple varnish (or other proxy) instances
Stars: ✭ 12 (-61.29%)
Mutual labels:  varnish
DropBeat
A Music Player with downloading, playing, searching, exploring functions.
Stars: ✭ 13 (-58.06%)
Mutual labels:  caching
PSCache
Generic PowerShell cache implementation
Stars: ✭ 43 (+38.71%)
Mutual labels:  caching
modsecurity-spoa
HAProxy agent for ModSecurity web application firewall
Stars: ✭ 48 (+54.84%)
Mutual labels:  haproxy
indexed-cache
A tiny Javsacript library for sideloading static assets on pages and caching them in the browser's IndexedDB for longer-term storage.
Stars: ✭ 56 (+80.65%)
Mutual labels:  caching
ansible-haproxy
Ansible HAproxy role for Unified OpenStack Installer and others.
Stars: ✭ 35 (+12.9%)
Mutual labels:  haproxy
Ccache.cmake
🚅 Compile faster with Ccache! A Ccache integration for CMake with Xcode support.
Stars: ✭ 24 (-22.58%)
Mutual labels:  caching
lb-manager
No description or website provided.
Stars: ✭ 19 (-38.71%)
Mutual labels:  haproxy
vcl-snippets
Snippets for Varnish Cache
Stars: ✭ 17 (-45.16%)
Mutual labels:  varnish

Varnish training

This repository contains the example code for the 6-hour Varnish training I created.

This is the second iteration of the training course and was first presented at Symfony Live Berlin 2017.

The first iteration was last delivered at VarnishCon 2017 in Amsterdam and can be found in the v1 branch.

Depencencies

You'll need Docker to run these examples. All these examples are based on docker-compose. Each example contains a docker-compose.ymlfile.

Setup

The Docker base boxes are as minimal as possible, you won't need a lot of bandwidth to be up-and-running. The Varnish base box is a little bigger than the rest.

If you want to run an example, go through the following steps

  1. Choose an example.
  2. Run docker-compose up or docker-compose up -d to boot the setup.
  3. Go to http://localhost/ to run the example.
  4. Shut the example containers down using the docker-compose down command.

Varnishlog access

If you want access to the varnishlog binary to monitor what's happening run docker exec -ti sflive-varnish bash to access the bash shell on the container. You can then run varnishlog including all the extra parameters.

If the example contains 2 Varnish instances, run both commands in a separate shell to access the varnishlog binary of both Varnish containers:

docker exec -ti sflive-varnish bash
docker exec -ti sflive-varnish2 bash

Docker images

The docker-compose setup for each example depends on the following container images:

You can go ahead and pull these boxes using the following commands:

docker pull thijsferyn/nginx:primary
docker pull thijsferyn/nginx:secondary
docker pull thijsferyn/php:primary
docker pull thijsferyn/php:secondary
docker pull thijsferyn/varnish:base
docker pull thijsferyn/varnish:primary
docker pull thijsferyn/varnish:secondary
docker pull thijsferyn/haproxy:latest
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].