{"id":18559035,"url":"https://github.com/linux-china/sieve-cache","last_synced_at":"2025-04-10T02:30:36.068Z","repository":{"id":215434044,"uuid":"738874856","full_name":"linux-china/sieve-cache","owner":"linux-china","description":"SIEVE is simpler than LRU","archived":false,"fork":false,"pushed_at":"2024-04-29T15:45:00.000Z","size":262,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-02T02:51:13.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linux-china.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"publiccode":null,"codemeta":null}},"created_at":"2024-01-04T08:46:11.000Z","updated_at":"2025-03-01T14:34:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d3c919b-c177-4d4a-aa5e-4d577ebba91d","html_url":"https://github.com/linux-china/sieve-cache","commit_stats":null,"previous_names":["linux-china/sieve-cache"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fsieve-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fsieve-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fsieve-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linux-china%2Fsieve-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linux-china","download_url":"https://codeload.github.com/linux-china/sieve-cache/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144155,"owners_count":21054876,"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":[],"created_at":"2024-11-06T21:41:53.611Z","updated_at":"2025-04-10T02:30:35.491Z","avatar_url":"https://github.com/linux-china.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"SIEVE Cache in Java\n===================\n\nSIEVE is simpler than LRU with following features:\n\n* Simplicity: easy to implement and can be easily integrated into existing systems.\n* Efficiency: achieves state-of-the-art efficiency on skewed workloads.\n* Cache Primitive: facilitates the design of advanced eviction algorithms.\n\n![How it works](how-it-works.png)\n\n# Get started\n \n* Add dependency to `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.mvnsearch\u003c/groupId\u003e\n    \u003cartifactId\u003esieve-cache\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n* Create a cache instance and use it:\n\n```\n   Cache\u003cString\u003e cache = new SieveCache\u003c\u003e();\n   cache.put(\"nick\", \"Jackie\");\n   System.out.println(cache.get(\"nick\"));\n```\n\n# References\n        \n* SIEVE: https://cachemon.github.io/SIEVE-website/\n* SIEVE is simpler than LRU: https://cachemon.github.io/SIEVE-website/blog/2023/12/17/sieve-is-simpler-than-lru/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Fsieve-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinux-china%2Fsieve-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinux-china%2Fsieve-cache/lists"}