2017 © Pedro Peláez
 

library phystrix-redis

Redis storage implementation for Phystrix (https://github.com/upwork/phystrix)

image

pixelfederation/phystrix-redis

Redis storage implementation for Phystrix (https://github.com/upwork/phystrix)

  • Wednesday, October 25, 2017
  • by pixelfederation
  • Repository
  • 4 Watchers
  • 0 Stars
  • 95 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 40 % Grown

The README.md

Phystrix Redis State Storage

Redis storage implementation for Phystrix (https://github.com/upwork/phystrix) It uses the predis/predis package., (*1)

Usage

Require redis state storage library:, (*2)

composer require pixelfederation/phystrix-redis

Create new instance of \PixelFederation\Phystrix\Storage\RedisStateStorage and inject to \Odesk\Phystrix\CommandMetricsFactory and \Odesk\Phystrix\CircuitBreakerFactory, (*3)

Usage with Symfony Framework

Install Redis Bundle, (*4)

Install Phystrix Bundle and override state storage configuration:, (*5)

# services.yml
services:
    PixelFederation\Phystrix\Storage\RedisStateStorage:
        arguments:
            - '@snc_redis.cache'

    phystrix.state_storage:
        alias: PixelFederation\Phystrix\Storage\RedisStateStorage

The Versions

25/10 2017

dev-master

9999999-dev

Redis storage implementation for Phystrix (https://github.com/upwork/phystrix)

  Sources   Download

BSD-3-Clause

The Requires

 

by Štefan Peťovský

25/10 2017

v1.0.0

1.0.0.0

Redis storage implementation for Phystrix (https://github.com/upwork/phystrix)

  Sources   Download

BSD-3-Clause

The Requires

 

by Štefan Peťovský