Anyone familiar with why large-ish (10s of MB, so ...
# development
f
Anyone familiar with why large-ish (10s of MB, so stored outside of lmdb) files might be slow when pulling from a remote cache? My first thought is either locking (insided sharedlmdb?) or queueing on the tokio threads (behind other work on the blocking threadpool) I've got ~10 files of this size that need to be pulled. A small cli app using reapi can pull them in 10s of milliseconds but pants is showing ~25 seconds. The flamegraph hasn't been too illuminating yet
Thats not the whole flamegraph, but the relevant portion, the relevant code
ByteStore::load_monomorphic
is smaller
image.png
b
Hmm, good question. Can you share the demo CLI? And/or highlight what if anything it is missing compared to the Pants code?