sapling/eden/scm/lib/backingstore
Zeyi (Rice) Fan 8b49918ce1 add a fake remotestore to enable memcache
Summary:
xavierd and I realized that memcache is not actually enabled in EdenFS as `ContentStoreBuilder` only sets it when there is are remote store. We believe turning on memcache store can help us improve some performance for importing blobs (80% hit rate).

This diff adds a noop remote store that does nothing to trick `ContentStoreBuilder` to include the memcache store. We decided to go this way instead of modifying `ContentStoreBuilder` is because EdenFS is going to have a real remotestore very soon, and changes to `ContentStoreBuilder` may have some impact on how Mercurial uses it.

Reviewed By: xavierd

Differential Revision: D21621234

fbshipit-source-id: 5502e001ab498134b6a927d83be823261e70e9e1
2020-05-21 16:32:42 -07:00
..
c_api check if the blob fetching is present locally 2020-05-05 11:14:40 -07:00
src add a fake remotestore to enable memcache 2020-05-21 16:32:42 -07:00
test Merge fb-mercurial sources into the eden repository 2019-11-13 20:20:32 -08:00
tools Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Cargo.toml convert to bytes 0.5 2020-02-24 10:28:46 -08:00
cbindgen.toml backingstore: add Tree and TreeEntry Rust structs to pass manifest 2019-11-19 18:01:23 -08:00
CMakeLists.txt revisionstore: add a LFS remote store 2020-03-19 14:36:18 -07:00