This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Cache
Nicolas Grekas c3ec061fd0 minor #28269 [Cache] improve perf when using RedisCluster by reducing roundtrips to the servers (nicolas-grekas)
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
-------

5155f48029 [Cache] improve perf when using RedisCluster by reducing roundtrips to the servers
2018-08-31 10:58:45 +02:00
..
Adapter Merge branch '4.1' 2018-08-27 19:47:18 +02:00
DataCollector [Cache] Add [Taggable]CacheInterface, the easiest way to use a cache 2018-05-18 14:27:36 +02:00
Exception [Cache] Add [Taggable]CacheInterface, the easiest way to use a cache 2018-05-18 14:27:36 +02:00
Marshaller [VarExporter] a new component to serialize values to plain PHP code 2018-08-27 18:34:07 +02:00
Simple [Cache] make PhpMarshaller handle hard references 2018-08-14 16:20:41 +02:00
Tests minor #28269 [Cache] improve perf when using RedisCluster by reducing roundtrips to the servers (nicolas-grekas) 2018-08-31 10:58:45 +02:00
Traits minor #28269 [Cache] improve perf when using RedisCluster by reducing roundtrips to the servers (nicolas-grekas) 2018-08-31 10:58:45 +02:00
.gitignore [Cache] Symfony PSR-6 implementation 2016-01-19 08:02:17 +01:00
CacheInterface.php [Cache] Add stampede protection via probabilistic early expiration 2018-06-10 18:44:41 +02:00
CacheItem.php Merge branch '4.1' 2018-07-26 10:59:12 +02:00
CHANGELOG.md feature #27645 [Cache] Add MarshallerInterface allowing to change the serializer, providing a default one that automatically uses igbinary when available (nicolas-grekas) 2018-07-09 16:39:33 +02:00
composer.json [VarExporter] a new component to serialize values to plain PHP code 2018-08-27 18:34:07 +02:00
DoctrineProvider.php renamed Contract to Contracts 2018-07-13 19:06:58 +02:00
LICENSE Merge branch '2.8' into 3.3 2018-01-03 18:13:53 +01:00
LockRegistry.php [Cache] Fix locking on Solaris 2018-06-21 11:23:42 +02:00
phpunit.xml.dist [Cache] Rely on mock for Doctrine ArrayCache 2018-03-19 23:12:11 +01:00
PruneableInterface.php add (pdo|chain) cache (adapter|simple) prune method 2017-08-30 11:10:37 -04:00
README.md [CACHE] fix README 2017-05-25 00:25:35 +07:00
ResettableInterface.php renamed Contract to Contracts 2018-07-13 19:06:58 +02:00

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.

Resources