-
https://github.com/maidsafe/lru_time_cache
In cache use cases, we not only want to eliminate keys by LFU to keep the cache size, but also require to set expire time.
An easy solution is to add a…
-
hotkey for redis: find hotkeys by heat
Can I submit a PR to add the following feature? @mattklein123 @yiyouguisu
Description:
> Count some(1\~255) keys of commands. Then convert the frequence …
-
As the title states.
-
As title says, a cudaErrorIllegalAddress occurs when using TTEmbeddingBag and nn.EmbeddingBag at same time.
I'v added `self.cache_populate()` to `TableBatchedTTEmbeddingBag` forward method just after…
-
**Alluxio Version:**
2.6.0
**Describe the bug**
we use spark to write to alluxio,and after writing for a few minutes,the spark begin to fail
spark as follows:
from __future__ import print_func…
-
![image](https://user-images.githubusercontent.com/15027927/126619675-ac895823-7c88-4a5b-9cc3-4b2d762a7d56.png)
The pyroscope will take up a lot of CPU time when I start up the pyroscope-server.
By…
-
#### Overview of the Issue
```
panic: NumCounters can't be zero
goroutine 1 [running]:
vitess.io/vitess/go/cache.NewRistrettoCache(0x0, 0x2000000, 0x24f9fc0, 0xc000cdfb58) /vt/src/vitess.io/vitess…
-
### Description
There is a fairly severe memory leak in the implementation of the LFU cache. This leak may also manifest itself in the other algorithms, although I haven't checked yet.
### Reprodu…
-
**Is your feature request related to a problem? Please describe.**
Add simplest caching mechanism ([LRU with expiration time for cache](https://github.com/avoidwork/tiny-lru)) for useGet. Similar to …
-
there is an example in the docs https://cachetools.readthedocs.io/en/stable/
```
from cachetools.keys import hashkey
from threading import Lock
cache = LRUCache(maxsize=32)
lock = Lock()
@…