ankitpokhrel / ankitpokhrel/tus-php

Redis cluster mode

Offen
#287 9 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
future improvement
Vorherrschende Sprache
PHP
Sterne
1.5k
Forks
220
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**
We're running a Redis cluster in production. With the current implementation it's not possible to pass an appropriate configuration to the ``RedisStore`` class to run it in cluster mode.

**Describe the solution you'd like**
For our use case it would be sufficient if ``RedisStore`` constructor would also accept an instance of ``Predis\Client`` class. But this will expose an implementation detail. Predis doesn't seem be maintained anymore and switching Redis implementation would require a new major release.

For the future I would like to see a generic PSR-6 implementation in tus-php.

**Describe alternatives you've considered**
We also run a couple of web servers, so the Redis cache seems to be the only possible solution at the moment.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.