| 1 |
Source: golang-github-dgraph-io-ristretto |
| 2 |
Section: golang |
| 3 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 |
Uploaders: Andreas Henriksson <[email protected]>, |
| 5 |
Build-Depends: debhelper-compat (= 13), |
| 6 |
dh-sequence-golang, |
| 7 |
golang-any, |
| 8 |
golang-github-cespare-xxhash-dev, |
| 9 |
golang-github-dgryski-go-farm-dev, |
| 10 |
golang-github-dustin-go-humanize-dev, |
| 11 |
golang-github-pkg-errors-dev, |
| 12 |
golang-github-stretchr-testify-dev, |
| 13 |
golang-golang-x-sys-dev, |
| 14 |
Standards-Version: 4.7.4 |
| 15 |
Homepage: https://github.com/dgraph-io/ristretto |
| 16 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-dgraph-io-ristretto |
| 17 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-dgraph-io-ristretto.git |
| 18 |
XS-Go-Import-Path: github.com/dgraph-io/ristretto |
| 19 |
Testsuite: autopkgtest-pkg-go |
| 20 |
|
| 21 |
Package: golang-github-dgraph-io-ristretto-dev |
| 22 |
Architecture: all |
| 23 |
Multi-Arch: foreign |
| 24 |
Breaks: badger (<< 4.8.0~), |
| 25 |
Depends: golang-github-cespare-xxhash-dev, |
| 26 |
golang-github-dgryski-go-farm-dev, |
| 27 |
golang-github-stretchr-testify-dev, |
| 28 |
${misc:Depends}, |
| 29 |
Description: high performance memory-bound Go cache |
| 30 |
Ristretto is a fast, concurrent cache library built with a focus on |
| 31 |
performance and correctness. |
| 32 |
. |
| 33 |
The motivation to build Ristretto comes from the need for a |
| 34 |
contention-free cache in Dgraph (https://github.com/dgraph-io/dgraph). |
| 35 |
. |
| 36 |
Features: |
| 37 |
* High Hit Ratios - with unique admission/eviction policy |
| 38 |
pairing, Ristretto's performance is best in class. |
| 39 |
* Eviction: SampledLFU - on par with exact LRU and better performance |
| 40 |
on Search and Database traces. |
| 41 |
* Admission: TinyLFU - extra performance with little memory overhead |
| 42 |
(12 bits per counter). |
| 43 |
* Fast Throughput - use a variety of techniques for managing |
| 44 |
contention and the result is excellent throughput. |
| 45 |
* Cost-Based Eviction - any large new item deemed valuable can evict |
| 46 |
multiple smaller items (cost could be anything). |
| 47 |
* Fully Concurrent - you can use as many goroutines as you want with |
| 48 |
little throughput degradation. |
| 49 |
* Metrics - optional performance metrics for throughput, hit ratios, |
| 50 |
and other stats. |
| 51 |
* Simple API - just figure out your ideal Config values and you're off |
| 52 |
and running.Status Ristretto is usable but still under active |
| 53 |
development. Expected to be production ready in the near future. |