/relay

The next-generation caching layer for PHP.

Primary LanguagePHPMIT LicenseMIT

Relay

Documentation | Twitter | Discord | Discussions | API

Installation

First, follow the installation instructions to set up the Relay extension for PHP.

Next, either try the Laravel, WordPress or Magento integrations.

Alternatively, grab the Composer package and run the benchmarks:

composer require cachewerk/relay

Benchmarks

First set the REDIS_HOST and REDIS_PORT in the phpbench.json, then run the benchmarks:

git clone git@github.com:cachewerk/relay.git
cd relay
composer install

composer run bench
composer run bench:verbose

Caveat 1: The results on Silicon are misleading, run the benchmark on your actual x86 infrastructure.
Caveat 2: New Relic and similar profilers will significantly slow down Relay and skew the benchmarks.