{"id":13565278,"url":"https://github.com/agliznetsov/cache-demo","last_synced_at":"2025-03-24T04:24:24.164Z","repository":{"id":147770216,"uuid":"225559865","full_name":"agliznetsov/cache-demo","owner":"agliznetsov","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-20T13:29:10.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T10:29:14.926Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agliznetsov.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}},"created_at":"2019-12-03T07:42:31.000Z","updated_at":"2019-12-03T12:22:41.000Z","dependencies_parsed_at":"2023-05-10T11:30:31.596Z","dependency_job_id":null,"html_url":"https://github.com/agliznetsov/cache-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agliznetsov%2Fcache-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agliznetsov%2Fcache-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agliznetsov%2Fcache-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agliznetsov%2Fcache-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agliznetsov","download_url":"https://codeload.github.com/agliznetsov/cache-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245208035,"owners_count":20577805,"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-08-01T13:01:43.625Z","updated_at":"2025-03-24T04:24:24.142Z","avatar_url":"https://github.com/agliznetsov.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Cache Demo\n\n## Benchmarks\n \n### Read/Write single cache element by ID\n\n```\nBenchmark                        Mode  Cnt   Score    Error  Units\nCacheBenchmark.clusterRead       avgt    5   1.216 ±  0.621  ms/op\nCacheBenchmark.clusterWrite      avgt    5   1.590 ±  0.580  ms/op\nCacheBenchmark.heapClusterRead   avgt    5  ≈ 10⁻⁴           ms/op\nCacheBenchmark.heapClusterWrite  avgt    5   1.462 ±  0.334  ms/op\nCacheBenchmark.heapRead          avgt    5  ≈ 10⁻⁴           ms/op\nCacheBenchmark.heapWrite         avgt    5   0.002 ±  0.001  ms/op\nCacheBenchmark.offHeapRead       avgt    5   0.006 ±  0.001  ms/op\nCacheBenchmark.offHeapWrite      avgt    5   0.004 ±  0.001  ms/op\n```\n\n### Hazelcast benchmarks\n```\nremote:\nwrite: 3.0 read ~1.5\n\nlocal:\nwrite: 0.1 read 0.05\n\nalone:\nwrite: 0.01 read: 0.01\n```\n\n### Infinispan:\nread: e-4\nwrite:\nreplicate_sync: 3 - 6 ms\nreplicate_async: 3 - 6 ms\ninvalidate_sync: 3 - 6 ms\ninvalidate_async: 0.04, 0.08, 0.15, 0.3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagliznetsov%2Fcache-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagliznetsov%2Fcache-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagliznetsov%2Fcache-demo/lists"}