{"id":25945507,"url":"https://github.com/quochungndvt/redis-sync-memory-cache","last_synced_at":"2025-06-20T10:33:42.618Z","repository":{"id":50284940,"uuid":"191282459","full_name":"quochungndvt/redis-sync-memory-cache","owner":"quochungndvt","description":"Using redis to synchronizing memory caches","archived":false,"fork":false,"pushed_at":"2020-12-03T06:44:18.000Z","size":53,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T00:51:23.566Z","etag":null,"topics":["cache","cache-storage","memory-cache","redis","redis-sync"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quochungndvt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-11T02:54:20.000Z","updated_at":"2022-07-28T02:47:52.000Z","dependencies_parsed_at":"2022-08-25T14:40:27.611Z","dependency_job_id":null,"html_url":"https://github.com/quochungndvt/redis-sync-memory-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/quochungndvt/redis-sync-memory-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochungndvt%2Fredis-sync-memory-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochungndvt%2Fredis-sync-memory-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochungndvt%2Fredis-sync-memory-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochungndvt%2Fredis-sync-memory-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quochungndvt","download_url":"https://codeload.github.com/quochungndvt/redis-sync-memory-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quochungndvt%2Fredis-sync-memory-cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260927231,"owners_count":23083982,"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":["cache","cache-storage","memory-cache","redis","redis-sync"],"created_at":"2025-03-04T09:17:48.181Z","updated_at":"2025-06-20T10:33:37.602Z","avatar_url":"https://github.com/quochungndvt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-sync-memory-cache\nUsing redis to synchronizing memory caches\n\nClassic Redis use case with lots of advantages and incredibly fast but as we know local RAM access is still many times faster than network I/O\nBTW memory caches in decentralized system have some challenges\n1. Data consistency\n2. Data lag between the memory caches and Redis\n2. Don’t blow up the network!\n\nThis module implement Techniques for Synchronizing In-Memory Caches with Redis\n\n![GitHub Logo](/diagram.png)\\\n\n### Documentation\n-------------\n\n- [API Reference](https://godoc.org/github.com/quochungndvt/redis-sync-memory-cache/rsmemory)\n\n### Installation\n-------------\n\nInstall using the \"go get\" command:\n\n  go get github.com/quochungndvt/redis-sync-memory-cache/rsmemory\n  \n  \n### Examples\n-------------\n\ntry this [example](https://github.com/quochungndvt/redis-sync-memory-cache/tree/master/examples/server)\n- server1: go run main.go -port 8081\n- server2: go run main.go -port 8082\n\nOpen in browser \n\n- A: http://localhost:8081/read/1/1\n- B: http://localhost:8082/read/1/1\n- Update cache http://localhost:8081/write/1/update\nrefresh A, B and see\n\n\n### Feature\n-------------\n- Support more Redis type\n- Support cache expire\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochungndvt%2Fredis-sync-memory-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquochungndvt%2Fredis-sync-memory-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquochungndvt%2Fredis-sync-memory-cache/lists"}