Skip to content

This is a project to learn some elements of go. It is a thread-safe cache algorithm, based on the LFU principle. Also you can define the max heap size the runtime of this cache service may use. The aim is to not include any other package dependencies away from the standard go library to can really learn all the basics.

Notifications You must be signed in to change notification settings

DionTech/services-lfu-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

run-tests Twitter Follow

About

Project Description

This is a project to learn some elements of go. It is a thread-safe cache algorithm, based on the LFU principle. Also you can define the max heap size the runtime of this cache service may use. The aim is to not include any other package dependencies away from the standard go library to can really learn all the basics.

Architecture

At the moment, nothing to see here :) Later it will use docker to can be integrated as a part-based tcp service to get / set cache elements.

Setup

Install

go mod tidy

Test

go test ./... -cover 

Benchmarks

About

This is a project to learn some elements of go. It is a thread-safe cache algorithm, based on the LFU principle. Also you can define the max heap size the runtime of this cache service may use. The aim is to not include any other package dependencies away from the standard go library to can really learn all the basics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages