onecache - One caching API, Multiple backends

  •        21

You can make use of onecache.Get("memcached") to access the memcached adapter.. Refer to the list above for other adapters' aliases.You can also make use of the Get to fetch a store..

https://github.com/adelowo/onecache

Tags
Implementation
License
Platform

   




Related Projects

go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications

  •    Go

go-cache is an in-memory key:value store/cache similar to memcached that is suitable for applications running on a single machine. Its major advantage is that, being essentially a thread-safe map[string]interface{} with expiration times, it doesn't need to serialize or transmit its contents over the network. Any object can be stored, for a given duration or forever, and the cache can be safely used by multiple goroutines.

Agrona - Library to build high-performance applications in Java and C++

  •    Java

Agrona provides a library of data structures and utility methods that are a common need when building high-performance applications in Java and C++. It supports Buffers, Map, Sets, Cache, Queues and lot more.

fastcache - Fast thread-safe inmemory cache for big number of entries in Go. Minimzes GC overhead

  •    Go

Fastcache performance is compared with BigCache, standard Go map and sync.Map. MB/s column here actually means millions of operations per second. As you can see, fastcache is faster than the BigCache in all the cases. fastcache is faster than the standard Go map and sync.Map on workloads with inserts.

gcache - Cache library for golang. It supports expirable Cache, LFU, LRU and ARC.

  •    Go

Cache library for golang. It supports expirable Cache, LFU, LRU and ARC.Supports expirable Cache, LFU, LRU and ARC.

bigcache - Efficient cache for gigabytes of data written in Go.

  •    Go

Fast, concurrent, evicting in-memory cache written to keep big number of entries without impact on performance. BigCache keeps entries on heap but omits GC for them. To achieve that operations on bytes arrays take place, therefore entries (de)serialization in front of the cache will be needed in most use cases.


asciigraph - Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies

  •    Go

Go package to make lightweight ASCII line graphs ╭┈╯. This package also brings a small utility for command line usage. Assuming $GOPATH/bin is in your $PATH, simply go get it then install CLI.

groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases

  •    Go

groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.does not require running a separate set of servers, thus massively reducing deployment/configuration pain. groupcache is a client library as well as a server. It connects to its own peers.

freecache - A cache library for Go with zero GC overhead.

  •    Go

Long lived objects in memory introduce expensive GC overhead, With FreeCache, you can cache unlimited number of objects in memory without increased latency and degraded throughput.Here is the benchmark result compares to built-in map, Set performance is about 2x faster than built-in map, Get performance is about 1/2x slower than built-in map. Since it is single threaded benchmark, in multi-threaded environment, FreeCache should be many times faster than single lock protected built-in map.

xlsx - Google Go (golang) library for reading and writing XLSX files

  •    Go

xlsx is a library to simplify reading and writing the XML format used by recent version of Microsoft Excel in Go programs.The full API docs can be viewed using go’s built in documentation tool, or online at godoc.org.

hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go

  •    Go

Hystrix is a great project from Netflix.Hystrix is a latency and fault tolerance library designed to isolate points of access to remote systems, services and 3rd party libraries, stop cascading failure and enable resilience in complex distributed systems where failure is inevitable.

excelize - Golang library for reading and writing Microsoft Excel™ (XLSX) files.

  •    Go

Excelize is a library written in pure Golang and providing a set of functions that allow you to write to and read from XLSX files. Support reads and writes XLSX file generated by Microsoft Excel™ 2007 and later. Support save file without losing original charts of XLSX. This library needs Go version 1.8 or later. The full API docs can be seen using go's built-in documentation tool, or online at godoc.org.Here is a minimal example usage that will create XLSX file.

SQL Server Cache Manager

  •    

This utility will allow you to return information about what is stored is the SQL Server cache and how efficiently it is being used. The utility allows you to query off of various criteria such as use count so you can see which queries execution plans are being reused and whi...

go-funk - A modern Go utility library which provides helpers (map, find, contains, filter, ...)

  •    Go

go-funk is a modern Go library based on reflect.Generic helpers rely on reflect, be careful this code runs exclusively on runtime so you must have a good test suite.

coop - Cheat sheet for some of the common concurrent flows in Go

  •    Go

Note: This package became obsolete. I started it when I was learning Go a couple of years ago. I see so many better ways to implement them all now, so don't keep using this package as an ultimate reference.coop contains some of the most common concurrent program flows I personally use in Go. I'm suggesting you to use this package as a snippets reference/cheat sheet instead of a library. The functionally provided in this package can be obtained in many different ways, and frankly with more performant implementations depending on the type of your problem.

pie - 🍕 Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance

  •    Go

Enjoy a slice! pie is a code generator for dealing with slices that focuses on type safety, performance and immutability. Run go generate. This will create a file called cars_pie.go. You should commit this with the rest of your code. Run go generate any time you need to add more types.

gorequest - GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )

  •    Go

See Go Doc or Go Walker for usage and details.GoRequest makes thing much more simple for you, making http client more awesome and fun like SuperAgent + golang style usage.

CloudForest - Ensembles of decision trees in go/golang.

  •    Go

Fast, flexible, multi-threaded ensembles of decision trees for machine learning in pure Go (golang).It can achieve quicker training times then many other popular implementations on some datasets. This is the result of cpu cache friendly memory utilization well suited to modern processors and separate, optimized paths to learn splits from binary, numerical and categorical data.

picfit - An image resizing server written in Go

  •    Go

picfit is a reusable Go server to manipulate (resize, thumbnail, etc.) images built on top of gin.It will act as a proxy of your storage engine and will be served ideally behind an http cache system like varnish.

Reservoir - Android library to easily serialize and cache your objects to disk using key/value pairs

  •    Java

Reservoir is a simple library for Android that allows you to easily serialize and cache your objects to disk using key/value pairs. Reservoir uses the internal cache storage allocated to your app. Before you can do anything, you need to initialize Reservoir with the cache size.