{"id":19808736,"url":"https://github.com/zhihu/promate","last_synced_at":"2025-06-15T15:06:46.174Z","repository":{"id":45515879,"uuid":"313533514","full_name":"zhihu/promate","owner":"zhihu","description":"Graphite On VictoriaMetrics","archived":false,"fork":false,"pushed_at":"2021-03-03T06:08:44.000Z","size":74,"stargazers_count":69,"open_issues_count":0,"forks_count":6,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-06-20T14:19:02.928Z","etag":null,"topics":["carbon-c-relay","carbonapi","graphite","victoriametrics"],"latest_commit_sha":null,"homepage":"","language":"Go","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/zhihu.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}},"created_at":"2020-11-17T06:57:55.000Z","updated_at":"2024-06-18T12:43:27.000Z","dependencies_parsed_at":"2022-09-24T11:30:37.902Z","dependency_job_id":null,"html_url":"https://github.com/zhihu/promate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhihu%2Fpromate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhihu%2Fpromate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhihu%2Fpromate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhihu%2Fpromate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhihu","download_url":"https://codeload.github.com/zhihu/promate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224245853,"owners_count":17279649,"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":["carbon-c-relay","carbonapi","graphite","victoriametrics"],"created_at":"2024-11-12T09:14:40.445Z","updated_at":"2024-11-12T09:14:40.552Z","avatar_url":"https://github.com/zhihu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Promate - Graphite On VictoriaMetrics\n\n\u003e We shared the [promate](https://github.com/zhihu/promate) solution in our [单机 20 亿指标，知乎 Graphite 极致优化！](https://qcon.infoq.cn/2020/shenzhen/presentation/2881)([slides](https://static001.geekbang.org/con/76/pdf/828698018/file/%E5%8D%95%E6%9C%BA%2020%20%E4%BA%BF%E6%8C%87%E6%A0%87%EF%BC%8C%E7%9F%A5%E4%B9%8E%20Graphite%20%E6%9E%81%E8%87%B4%E4%BC%98%E5%8C%96%EF%BC%81-%E7%86%8A%E8%B1%B9.pdf)、[article](https://github.com/zhihu/promate/wiki/%E5%8D%95%E6%9C%BA-20-%E4%BA%BF%E6%8C%87%E6%A0%87%EF%BC%8C%E7%9F%A5%E4%B9%8E-Graphite-%E6%9E%81%E8%87%B4%E4%BC%98%E5%8C%96%EF%BC%81)) talk at [QCon 2020](https://qcon.infoq.cn/2020/shenzhen/). More number in our production: [https://victoriametrics.github.io/CaseStudies.html#zhihu](https://victoriametrics.github.io/CaseStudies.html#zhihu)\n\nPromate is a high-performance graphite storage solution.\n\nCompare with Whisper:\n\n- 10x faster on average; 60-100x faster for complex, long range queries\n- 90% storage space reduction, 99.99% IOPS reduction\n- 80% reduction in memory and CPU overhead with constant query pressure\n\nThis is a comparison of performance from our production environment. Welcome to help us design tests that give reproducible benchmark results.\n\n### Features\n\n- Higher performance with lower cpu, memory, and storage usage, benefit from the excellent [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics)\n- Supports almost all graphite functions, benefit from compatible with [carbonapi](https://github.com/go-graphite/carbonapi)\n- MateQL language, support query graphite metrics with PromQL\n- Real-time aggregation, no loss of accuracy of historical metrics\n\n### Architecture\n![Overview](docs/arch.png)\n\n### Example Config\n\n1. [carbonapi.yaml](examples/carbonapi.yaml)\n1. [matecarbon.yaml](examples/matecarbon.yaml)\n\n### Thanks\n\n- [VictoriaMetrics](https://github.com/VictoriaMetrics/VictoriaMetrics) \u0026 [metricsql](https://github.com/VictoriaMetrics/metricsql)\n- [carbonapi](https://github.com/go-graphite/carbonapi)\n- [m3](https://github.com/m3db/m3)\n\n### License\n\n[Apache License 2.0](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhihu%2Fpromate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhihu%2Fpromate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhihu%2Fpromate/lists"}