Varnish Broadcaster

Overview

Introduction

Broadcasts requests to multiple Varnish caches from a single entry point. The initial thought is to ease-up purging/banning across multiple Varnish Cache instances. The broadcaster consists of a web-server with a REST API which will receive invalidation requests and distribute these requests to all configured caches.

The broadcaster will relay the entire client request against all the configured nodes with a few exceptions as follow:

  • Any headers under the X-Broadcast* namespace are stripped, as these are reserved for internal usage.
  • Request body is currently not being broadcasted.

The configuration file used by the broadcaster is similar to the one described by the VHA or depending on the setup it may very well be the exact same file.