Skip to content

Files

Latest commit

3d48053 · Dec 7, 2018

History

History

ybc

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 7, 2018
Jun 20, 2017
Dec 7, 2018
Dec 20, 2015
Dec 20, 2015
Apr 11, 2017
Dec 7, 2018
Dec 7, 2018
Apr 11, 2017
Dec 7, 2018
Dec 20, 2015
Apr 7, 2017
Apr 11, 2017
Go wrapper around YBC library - see https://github.com/valyala/ybc .

The wrapper has the following features:

  * it is intended for creating extremly fast in-process blob caches,
    which can efficiently cache virtually unlimited number of items.

  * it knows how to deal with huge items (i.e. videos, audios, images)
    and caches exceeding available RAM sizes by multiple orders of magnitude.

  * it supports persistent caches surviving application restarts.

  * it is optimized for both HDDs and SSDs.

  * it is optimized for speed.

------------------------
How to build and use it?

$ go get -u github.com/valyala/ybc/bindings/go/ybc

Then import it into your program:

import "github.com/valyala/ybc/bindings/go/ybc"

Documentation can be generated by:

$ go doc github.com/valyala/ybc/bindings/go/ybc

or read at https://godoc.org/github.com/valyala/ybc/bindings/go/ybc