Alexey Mayshev

Results 61 comments of Alexey Mayshev

> multiple different and separate golang programs reading and writing to the same cache You have just described a feature that is easily added to any offheap cache. Why do...

So it's better to try going to offheap caches, or maybe @phuslu implements it.

Damn, do you really need this? You don't just want a cache library, but a solution optimized for your needs that no one else needs. > why dont you try...

> golang has the "performance gap" in large number cores. Uh, what? I've never seen anything like it. Are you talking about [this issue](https://github.com/golang/go/issues/65064)? If so, have you tried gnet?

> updating a timestamp for every reads. Why can't you just atomically update the time when reading? > But it is also significantly faster than Go maps, which is a...

> it's tied to each ip read not a global atomic counter. Well, anyway, it's not clear why you can't do this. ```go v, ok := cache.Get(key) if !ok {...

> do u know how to get one done? Unfortunately, it looks like a huge ball of crutches. I'm not sure you'll be able to get more rps than with...

Let me give my opinion as well, since I've already gathered a lot of attempts at adopting it. 1. First, I tried to implement cache on hash table and lock...

Though to be honest, what was causing the hit ratio to go down in DS1 I still don't understand