{"id":18765841,"url":"https://github.com/yeqown/cassem","last_synced_at":"2025-04-13T05:29:00.817Z","repository":{"id":45941062,"uuid":"340866680","full_name":"yeqown/cassem","owner":"yeqown","description":"(WIP) A distributed Configuration Center Application.","archived":false,"fork":false,"pushed_at":"2021-11-26T02:18:07.000Z","size":2116,"stargazers_count":24,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T22:11:35.895Z","etag":null,"topics":["configuration-management","distributed-systems","go","raft"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeqown.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":"2021-02-21T09:50:06.000Z","updated_at":"2023-12-12T23:53:29.000Z","dependencies_parsed_at":"2022-09-26T18:50:40.872Z","dependency_job_id":null,"html_url":"https://github.com/yeqown/cassem","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeqown%2Fcassem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeqown%2Fcassem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeqown%2Fcassem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeqown%2Fcassem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeqown","download_url":"https://codeload.github.com/yeqown/cassem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248668835,"owners_count":21142747,"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":["configuration-management","distributed-systems","go","raft"],"created_at":"2024-11-07T18:37:05.449Z","updated_at":"2025-04-13T05:29:00.794Z","avatar_url":"https://github.com/yeqown.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cassem\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/logo.svg\" width=\"376\" height=\"376\"/\u003e\n\u003c/p\u003e\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/yeqown/cassem)](https://goreportcard.com/report/github.com/yeqown/cassem) [![go.de\n│ v reference](https://img.shields.io/badge/go.dev-reference-007d9c?logo=go\u0026logoColor=white\u0026style=flat-square)](https://pkg.go.dev/github.com/yeqown/cassem)\n\n`CASSEM` is a distributed config management center, it is totally independent, so it's easy to deploy and maintain in your environment. At the\nsame time, it's deployed by `Go` which gives it platform-cross ability and fast-compile.\n\n\u003cimg src=\"./assets/intro.svg\" width=\"100%\"/\u003e\n\n## Features\n\n- [x] HTTP Restful API to manage all configs `cassemadm`.\n  - [x] Stateless so that it can be easily scaled.\n  - [x] Gray released.\n  - [x] Multi-version management.\n  - [ ] Operation log, each operation to config elements will be recorded.\n  - [x] Permission control.\n  - [x] Client instance management.\n  - [ ] `CTL` / `UI` tool support these are constructing on `cassemadm` RESTful API.\n    - [ ] [Web UI](https://github.com/yeqown/cassem-ui) is developing.\n    - [ ] [CTL](#) tool to debug and manage config from terminal. \n- [x] Distributed storage component `cassemdb`, based on raft consensus algorithm.\n  - [x] Master can read and write.\n  - [x] Slave node can only respond to read request.\n  - [x] Use `gRPC` protocol to communicate.\n  - [x] `Watch` `TTL` features support.\n  - [ ] `Lazy Deletion` the expired KV. There is a deleting working thread to delete KV from queue, the queue's data is from\n  two part, one is `operation check`, another is `timer check`.\n- [x] Stateless agent component `cassemagent` to improve client's usability.\n  - [x] Cache config elements, and using `LRU-K` replacing algorithm.\n  - [ ] Language independent support `HTTP` and `gRPC` protocol.\n  - [x] Client SDK, easy to use.\n  - [x] `Change Push` ability, gray released also built on this.\n\n## [Documentation](./docs/README.md)\n\n\u003cimg src=\"./assets/cassem-concept.svg\" width=\"100%\"/\u003e\n\nExplanation: \n- **_cassemdb_** provide KV storage capacity. \n- **_cassemadm_** is the manager to whole cassem application. \n- **_cassemagent_**‘s major duty is helping clients to access config easier,\n   makes cassemdb work transparently to clients.  Importantly, cassemagent\n   is stateless so that it could easily scale up and load balance.\n\n\u003cimg src=\"./assets/cassem-architecture.svg\" width=\"100%\" align=\"center\"/\u003e\n\n### - [cassemdb](./cmd/cassemdb/README.md)\n\nThe KV storage component in cassem, provide gRPC API.\n\n\u003cimg src=\"./assets/cassemdb-architecture.svg\" width=\"100%\" /\u003e\n\n### - [cassemadm](cmd/cassemadm/README.md)\n\nThe manager in cassem, provide RESTful API to communicate. It is serving for CTL and Dashboard UI.\n\n### - [cassemagent](cmd/cassemagent/README.md)\n\nAgent is serving for user's client, agent SDK, actually. Of course, agent is stateless server.\n\n## [Benchmark](./benchmark)\n\nbenchmark tested core RESTful API and try to optimize them, each benchmark test displays the final QPS result. \n\n\n## References\n\n* https://github.com/yongman/leto\n* https://github.com/laohanlinux/riot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeqown%2Fcassem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeqown%2Fcassem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeqown%2Fcassem/lists"}