{"id":20762533,"url":"https://github.com/welllog/cache","last_synced_at":"2026-04-18T20:31:56.561Z","repository":{"id":57633767,"uuid":"329975501","full_name":"welllog/cache","owner":"welllog","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-02T07:18:38.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T17:47:49.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/welllog.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,"publiccode":null,"codemeta":null}},"created_at":"2021-01-15T17:13:49.000Z","updated_at":"2021-10-17T13:33:50.000Z","dependencies_parsed_at":"2024-06-20T14:55:25.965Z","dependency_job_id":null,"html_url":"https://github.com/welllog/cache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/welllog/cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welllog%2Fcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welllog%2Fcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welllog%2Fcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welllog%2Fcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/welllog","download_url":"https://codeload.github.com/welllog/cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/welllog%2Fcache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31984125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-17T10:35:59.494Z","updated_at":"2026-04-18T20:31:56.540Z","avatar_url":"https://github.com/welllog.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cache\nA simple local cache\n\n1. There is no lock competition for reads and writes between slices; locks exist only for reads and writes within the same slice.\n\n2. The expiration time of keys is periodically checked for deletion by a time wheel\n\n3. Cached base datatypes can be synchronized to a file, or loaded from a file\n\n一个简单的本地缓存\n\n1. 分片之间的读写不存在锁的竞争，锁只存在于同一分片内的读写。\n\n2. 通过时间轮定期检查key的过期时间进行删除。\n\n3. 缓存的基础数据类型可以同步到一个文件，或者从文件中加载。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelllog%2Fcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwelllog%2Fcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwelllog%2Fcache/lists"}