Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
narqo authored and maypok86 committed Feb 8, 2024
1 parent 9bdf722 commit a5e7f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

## πŸ’‘ Motivation <a id="motivation" />

I once came across the fact that none of the Golang cache libraries are truly contention-free. All of them are just a standard map with mutex and some eviction policy. Unfortunately, these are not able to reach the speed of caches in other languages (such as [Caffeine](https://github.com/ben-manes/caffeine)). For example, the fastest cache from Dgraph labs called [Ristretto](https://github.com/dgraph-io/ristretto), which was faster than competitors by 30% at best (Otter is many times faster) and had a [disgusting hit ratio](https://github.com/dgraph-io/ristretto/issues/336) even though README says otherwise. This can be a problem in different applications because no one wants to bump the performance of a cache library and its bad hit ratio πŸ™‚. As a result, I wanted to get the fastest, easiest-to-use cache with excellent hit ratio and support from the authors and Otter is designed to correct this unfortunate misunderstanding.
I once came across the fact that none of the Go cache libraries are truly contention-free. Most of them are a map with a mutex and an eviction policy. Unfortunately, these are not able to reach the speed of caches in other languages (such as [Caffeine](https://github.com/ben-manes/caffeine)). For example, the fastest cache from Dgraph labs called [Ristretto](https://github.com/dgraph-io/ristretto), was faster than competitors by 30% at best (Otter is many times faster) but had [poor hit ratio](https://github.com/dgraph-io/ristretto/issues/336), even though its README says otherwise. This can be a problem in real-world applications, because no one wants to bump into performance of a cache library πŸ™‚. As a result, I wanted to make the fastest, easiest-to-use cache with excellent hit ratio.

**Please leave a ⭐ as motivation if you liked the idea πŸ˜„**

Expand Down Expand Up @@ -254,4 +254,4 @@ This project follows a standard [code of conduct](./CODE_OF_CONDUCT.md) so that

## πŸ“„ License <a id="license" />

This project is Apache 2.0 licensed, as found in the [LICENSE](./LICENSE).
This project is Apache 2.0 licensed, as found in the [LICENSE](./LICENSE).

0 comments on commit a5e7f9c

Please sign in to comment.