{"id":21323324,"url":"https://github.com/sshaplygin/abcs","last_synced_at":"2025-03-15T23:16:24.453Z","repository":{"id":233281861,"uuid":"786377862","full_name":"sshaplygin/abcs","owner":"sshaplygin","description":"Adaptive bandit cache selection","archived":false,"fork":false,"pushed_at":"2024-04-14T13:27:05.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T12:11:34.496Z","etag":null,"topics":["2q-cache","arc-cache","golang","lfu-cache","lfuda-cache","lru-cache","mab","statistics"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshaplygin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-14T09:19:31.000Z","updated_at":"2024-04-14T13:28:32.000Z","dependencies_parsed_at":"2024-04-15T13:22:40.977Z","dependency_job_id":"61e7e902-d581-4220-99e5-94e61b74a4b9","html_url":"https://github.com/sshaplygin/abcs","commit_stats":null,"previous_names":["sshaplygin/abcs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaplygin%2Fabcs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaplygin%2Fabcs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaplygin%2Fabcs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaplygin%2Fabcs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaplygin","download_url":"https://codeload.github.com/sshaplygin/abcs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801688,"owners_count":20350108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2q-cache","arc-cache","golang","lfu-cache","lfuda-cache","lru-cache","mab","statistics"],"created_at":"2024-11-21T20:23:06.095Z","updated_at":"2025-03-15T23:16:24.416Z","avatar_url":"https://github.com/sshaplygin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ABCS - Adaptive bandit cache selection\n\nselect method store Multi-Armed Bandit\n\n## Disclaimer\n\nIt is experimental solution. Because choosing an algorithm during program execution multiplies memory consumption\n\n## Problem\n\nI would like to make an algorithm based on statistical data so that it independently chooses the optimal storage method during operation.\nBecause choosing a specific algorithm for specific tasks is a separate research work\n\n## Input\n\n### In create cache\n\n- Start algorithm\n- Count storage elements\n- We won't stop business logic for restructed cache\n\n### In runtime\n\n- Hitrate into start algorithm\n\n\n### Questions\n\n- When we need migrate from start algorithm to new?\n\n## Idea\n\nTODO\n\n## Usage\n\nTODO\n\n### Supported cached methods\n\n- Random\n- LRU by default\n- LFU\n- 2Q\n- ARC\n\n## Reference\n\nTODO\n\n## Implementarions\n\n- LRU, ARC, 2Q [golang-lru](https://github.com/hashicorp/golang-lru)\n- LFUDA [lfuda-go](https://github.com/bparli/lfuda-go/)\n- Multi-Armed Bandit(MAB) [go-bandit](https://github.com/alextanhongpin/go-bandit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaplygin%2Fabcs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaplygin%2Fabcs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaplygin%2Fabcs/lists"}