-
:-D
-
Hi
I get an error when I `go get`:
github.com\amdonov\lite-idp@v0.7.0\store\bigcache.go:34:17: undefined: bigcache.EntryNotFoundError
Did some dependency change?
-
I'm trying to check if a key exists in the cache. Since there is not a CacheInterface.Exists, I have to rely on CacheInterface.Get to perform the check. The Redis implementation correctly returns *sto…
-
大佬Meta数据会持久化的保存吗?理论上缓存能够到达多大,有测试过吗?
-
**What is the issue you are having?**
panic: unaligned 64-bit atomic operation
```
goroutine 1 [running]:
runtime/internal/atomic.panicUnaligned()
C:/GoSDK/src/runtime/internal/atomic/una…
-
随着1.9的发布,sync的map性能已经不差
### 分片
将整个缓存分成独立的 N 块, 然后用 hash(key) % (N-1)的计算方法来决定存入哪一块. 这样可以每一块各有自己的 RWMutex 锁.
与分片有关的代码可简化如下:
https://github.com/allegro/bigcache/blob/master/bigcache.go
```golang…
-
I use gocache as a cachable mysql wrapper.
```golang
bc, err := bigcache.NewBigCache(bigcache.DefaultConfig(time.Minute))
if err != nil {
panic(err)
}
return cache.NewLoadable(func(key int…
-
## Description
There are different keys and different values such that sequence of operations `SetBig(k1, v1), SetBig(k2, v2), GetBig(k1)` will return `v2` for last `GetBig` operation. This is defini…
-
Hi,
Issue : Error message while adding a version note on the latest version (not yet activated)
### Terraform and Akamai Terraform Provider Versions
**terraform version 1.5.7**
**Akamai p…
-
**What is the issue you are having?**
```
panic: runtime error: slice bounds out of range
goroutine 229 [running]:
github.com/allegro/bigcache/queue.(*BytesQueue).peek(0xc4201e25a8, 0x36, 0xc425…