-
```go
func main() {
c := tinylfu.New(100, 10000)
c.Add("foo", "bar")
val, _ := c.Get("foo")
fmt.Println(val)
c.Add("foo", "baz")
val, _ = c.Get("foo")
fmt.Println(val)
}
```
…
-
Hi @maypok86,
First of all, thank you for making this amazing library. I didn't know S3FIFO before until now. I learned a lot from your work.
Then this issue is not a feature request because I g…
-
### Checklist
- [X] I searched exising issues and no one else requests similar feature.
- [X] I think that 25%+ users are positive towards this feature.
### Describe the feature
https://zhuanlan.zh…
-
I need to maintain a cache of open files to avoid fd limits. With Caffeine AFAICT an entry could be evicted while a file is being read, leading to additional fd usage beyond the cache size limit. Is…
-
I'm wondering about the size of our CM sketch. The paper and the implementation in Caffeine mention using 8 bytes per cache item, i.e. 16 counters, and that seems to indeed be the case: https://github…
-
risingwave panic after a while with:
```
thread 'risingwave-batch-tasks' panicked at 'frozen file not found', /root/.cargo/git/checkouts/foyer-e7ae575671bf01ff/8e80c6c/foyer/src/store/read_only_fi…
-
Hi.
I am considering using Caffeine as a caching solution for the database, which uses primitive values, namely longs, as the keys.
We need to squeeze every performance during access to the cached d…
-
### Question.
😁 Why did you choose ristretto as the project name ?
-
We have recently updated JanusGraph in our internal deployments at G DATA to 1.0.0-rc1 and noticed that this leads to an error for one of our edge labels that was not present before:
```java
java.…
-
1. Install kb 0.6.4
2. Create cluster
```
`kbcli cluster create mysql scale-ofgxfh --termination-policy=WipeOut --cpu=0.5 --memory=1 --storag…