{"id":22868620,"url":"https://github.com/diennea/herddb","last_synced_at":"2025-05-15T03:06:14.514Z","repository":{"id":8624288,"uuid":"52507351","full_name":"diennea/herddb","owner":"diennea","description":"A JVM-embeddable Distributed Database","archived":false,"fork":false,"pushed_at":"2024-11-12T19:58:21.000Z","size":10494,"stargazers_count":318,"open_issues_count":73,"forks_count":48,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-14T13:58:26.934Z","etag":null,"topics":["bookkeeper","calcite","database","distributed","distributed-database","embeddable","embeddable-dbms","java","replication","sql","zookeeper"],"latest_commit_sha":null,"homepage":"https://herddb.org","language":"Java","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/diennea.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-25T08:01:32.000Z","updated_at":"2025-04-02T14:45:20.000Z","dependencies_parsed_at":"2023-02-19T20:16:08.625Z","dependency_job_id":"21ed37b5-e2bb-4c93-830c-236ee1d54d4f","html_url":"https://github.com/diennea/herddb","commit_stats":null,"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diennea%2Fherddb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diennea%2Fherddb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diennea%2Fherddb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diennea%2Fherddb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diennea","download_url":"https://codeload.github.com/diennea/herddb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254264765,"owners_count":22041793,"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":["bookkeeper","calcite","database","distributed","distributed-database","embeddable","embeddable-dbms","java","replication","sql","zookeeper"],"created_at":"2024-12-13T12:36:41.763Z","updated_at":"2025-05-15T03:06:14.476Z","avatar_url":"https://github.com/diennea.png","language":"Java","readme":"# What is HerdDB ?\n\nHerdDB is a **distributed Database**, data is distributed among a cluster of server **without the need of a shared storage**.\n\nHerdDB primary language is **SQL** and clients are encouraged to use both the JDBC Driver API and the low level API.\n\nHerdDB is **embeddable** in any Java Virtual Machine, each node will access directly to local data without the use of the network.\n\nHerdDB replication functions are built upon **Apache ZooKeeper** and **Apache BookKeeper**.\n\nHerdDB is internally very similar to a NoSQL database and, basically, it is a **key-value DB** with an SQL abstraction layer which enables every user to leverage existing known-how and to port existing applications.\n\n*HerdDB has been designed for fast \"writes\" and for primary key read/update data access patterns.*\n\nHerdDB supports **transactions** and \"committed read\" isolation level\n\nHerdDB uses **Apache Calcite** as SQL parser and SQL Planner\n\n## Basic concepts\n\nData, as in any **SQL database**, is organized in tables and tables are grouped inside **Tablespaces**.\n\nA Tablespace is the fundamental architectural brick upon which the replication is built and some DB features are available only among tables of the same tablespace:\n- transactions may span only tables of the same tablespace\n- subqueries may span only tables of the same tablespace\n\nReplication is configured at tablespace level, so for each tablespace only one server is designed to be the 'leader' (manager) at a specific point in time, then you may configure a set of 'replicas'.\nThe system automatically replicates data between replicas and handles server failures transparently.\n\n## Overview\n\n[Introducing HerdDB - Pulsar Summit 2020](https://www.youtube.com/watch?v=K7xQZ9V9Ml0) - Enrico Olivelli\n\n[![Introducing HerdDB - Youtube link](https://img.youtube.com/vi/K7xQZ9V9Ml0/0.jpg)](https://www.youtube.com/watch?v=K7xQZ9V9Ml0)\n\n[Other talks and deep dives](https://github.com/diennea/herddb/wiki/Talks-\u0026-Publications)\n\n## Getting Involved\n\nJoin the [mailing list](http://lists.herddb.org/mailman/listinfo)\n\n## License\n\nHerdDB is under [Apache 2 license](http://www.apache.org/licenses/LICENSE-2.0.html).\n","funding_links":[],"categories":["数据库"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiennea%2Fherddb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiennea%2Fherddb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiennea%2Fherddb/lists"}