c3ec061fd0
This PR was merged into the 4.2-dev branch.
Discussion
----------
[Cache] improve perf when using RedisCluster by reducing roundtrips to the servers
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Improves perf when using RedisCluster by:
- disabling versioning and replacing by per-master clear/flush
- grouping multiple "get" in one "mget"
- enabling pipelining in PredisCluster mode
~Might need adjustment depending on the answer to https://github.com/nrk/predis/issues/520~
Commits
-------
|
||
---|---|---|
.. | ||
Adapter | ||
DataCollector | ||
Exception | ||
Marshaller | ||
Simple | ||
Tests | ||
Traits | ||
.gitignore | ||
CacheInterface.php | ||
CacheItem.php | ||
CHANGELOG.md | ||
composer.json | ||
DoctrineProvider.php | ||
LICENSE | ||
LockRegistry.php | ||
phpunit.xml.dist | ||
PruneableInterface.php | ||
README.md | ||
ResettableInterface.php |
Symfony PSR-6 implementation for caching
This component provides an extended PSR-6
implementation for adding cache to your applications. It is designed to have a
low overhead so that caching is fastest. It ships with a few caching adapters
for the most widespread and suited to caching backends. It also provides a
doctrine/cache
proxy adapter to cover more advanced caching needs and a proxy
adapter for greater interoperability between PSR-6 implementations.