Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
config.h
debugguard_devel.go
debugguard_release.go
perf_test.go
platform
platform.h
ybc.c
ybc.go
ybc.h
ybc_devel_test.go
ybc_go_glue.c
ybc_test.go

README

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 http://go.pkgdoc.org/github.com/valyala/ybc/bindings/go/ybc
Something went wrong with that request. Please try again.