sapling/common/rust
Zeyi (Rice) Fan 0aeef0996e add cachelib layer to CacheManager
Summary:
Add cachelib layer to `CacheManager`.

`CacheManager` behaviors:

| cachelib | memcache | Behavior |
| -- | -- | -- |
| Miss | Miss | Resolve `fill` future, fill both cache layer |
| Miss | Hit | Fetch data from memcache and fill cachelib with the data fetched |
| Hit | Miss | Return data fetched from cachelib, DO NOT fill memcache |
| Hit | Hit | Return data fetched from cachelib |

Reviewed By: StanislavGlebik

Differential Revision: D15929659

fbshipit-source-id: f7914efc7718c614f39a8fd6ad5e6588773fdd78
2019-06-24 17:48:30 -07:00
..
caching_ext/src add cachelib layer to CacheManager 2019-06-24 17:48:30 -07:00
slog_ext/src slog_ext: add SimpleFormatWithError to improve client side logging readability 2019-02-20 08:52:09 -08:00
sql_ext/src Use with_xdb method accepting an optional myrouter_port in SqlConstructors 2019-06-19 09:40:48 -07:00