{"id":15041169,"url":"https://github.com/distkv-project/distkv","last_synced_at":"2025-04-13T21:41:21.710Z","repository":{"id":51753905,"uuid":"188058370","full_name":"distkv-project/distkv","owner":"distkv-project","description":"A light weight distributed key-value database system with table concept.","archived":false,"fork":false,"pushed_at":"2021-05-10T07:34:57.000Z","size":2464,"stargazers_count":83,"open_issues_count":12,"forks_count":22,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-27T12:02:46.346Z","etag":null,"topics":["cloud-struct","consistency","databases","distributed-systems","kvstore","newsql","table-concept"],"latest_commit_sha":null,"homepage":"https://distkv.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/distkv-project.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-22T14:45:00.000Z","updated_at":"2024-11-05T03:39:44.000Z","dependencies_parsed_at":"2022-08-27T16:23:55.627Z","dependency_job_id":null,"html_url":"https://github.com/distkv-project/distkv","commit_stats":null,"previous_names":["dst-project/dst"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distkv-project%2Fdistkv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distkv-project%2Fdistkv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distkv-project%2Fdistkv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distkv-project%2Fdistkv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distkv-project","download_url":"https://codeload.github.com/distkv-project/distkv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788864,"owners_count":21161726,"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":["cloud-struct","consistency","databases","distributed-systems","kvstore","newsql","table-concept"],"created_at":"2024-09-24T20:45:42.574Z","updated_at":"2025-04-13T21:41:21.666Z","avatar_url":"https://github.com/distkv-project.png","language":"Java","funding_links":[],"categories":["数据库"],"sub_categories":[],"readme":"\u003cdiv align=left\u003e\n    \u003cimg src=\"https://distkv.com/img/distkv-logo.png\" width=\"282\" height=\"170\"\u003e \n\u003c/div\u003e\n\n[![distkv build](https://github.com/distkv-project/distkv/workflows/distkv_build/badge.svg)](https://github.com/distkv-project/distkv/actions)\n[![codebeat badge](https://codebeat.co/badges/4d3ca0ed-06a6-4f43-b866-2b663e65e0f4)](https://codebeat.co/projects/github-com-distkv-project-distkv-master) \n[![codecov](https://codecov.io/gh/distkv-project/distkv/branch/master/graph/badge.svg)](https://codecov.io/gh/distkv-project/distkv)\n\nA distributed key-value database system with table concept.\n\n# Project Description\n`Distkv` project is a distributed key-value database system. Besides these features, `Distkv` supports table concept which looks like tables in relational databases. It also supports a rich ecosystem, named `Pine`, which has many easy-to-use and out-of-the-box components for Web application and micro-service.\n\nFull document is https://distkv.com\n\n# Awesome Features\n1. Redis-like data structure\n2. Table concept based on kv store\n3. Strong consistency model\n4. Easy to use clients\n5. Strong ecosystem for Web application and micro-service\n\n# Quick Started\n#### 1. Install Distkv\nFirst make sure you have the python environment.\n\nThen running the following command to install the Distkv locally:\n```bash\npip install -e deploy/python -v\n```\n\n#### 2. Start Distkv server\nRunning the following command to start the Distkv server.\n```bash\n$ dkv-server\n```\n\n#### 3. Start Distkv command line tool\nRunning the following command to start the command line tool of a Distkv client.\n```bash\n$ dkv-cli\n```\n\n#### 4. Command Line Tool\nOnce you started the command line tool `dkv-cli` successfully, type the following command to enjoy the trip of Distkv.\n```bash\ndkv-cli \u003e list.put \"k1\" \"v1\" \"v2\" \"v3\"\ndkv-cli \u003e ok\ndkv-cli \u003e list.get \"k1\"\ndkv-cli \u003e [\"v1\", \"v2\", \"v3\"]\n\ndkv-cli \u003e int.put \"k1\" 1\ndkv-cli \u003e ok\ndkv-cli \u003e int.incr \"k1\" 2\ndkv-cli \u003e ok\ndkv-cli \u003e int.get \"k1\"\ndkv-cli \u003e 3\n```\n\n# Client SDK\nNow we support both `Java Client SDK` and `Java Async Client SDK`. We are working in progress to support other languages SDK. \n\n**Configure you dependency of Distkv client in `pom.xml`:**\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.distkv\u003c/groupId\u003e\n    \u003cartifactId\u003edistkv-client\u003c/artifactId\u003e\n    \u003cversion\u003e0.1.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n**To use Distkv client in Java, see the following examples:**\n- [Java Client SDK Example](https://github.com/distkv-project/distkv/blob/master/client/src/main/java/com/distkv/client/example/DistkvUsageExample.java)\n- [Java Async Client SDK Example](https://github.com/distkv-project/distkv/blob/master/client/src/main/java/com/distkv/asyncclient/example/DistkvAsyncUsageExample.java)\n\n# Who Is Using\n\u003cdiv align=left\u003e\n    \u003cimg src=\"https://distkv.com/img/who_is_using_logos/yige_logo.png\" width=\"200\" height=\"200\"\u003e \n\u003c/div\u003e\n\n# Getting Involved\nThank you for your attention to the `Distkv` project. If you have any questions, you can create a new issue in our [Issues](https://github.com/distkv-project/distkv/issues) list.\nWe also welcome you to participate in our `Distkv` project, if you want to make contributions, you can refer the file [CONTRIBUTING.md](https://github.com/distkv-project/distkv/blob/master/CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistkv-project%2Fdistkv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistkv-project%2Fdistkv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistkv-project%2Fdistkv/lists"}