{"id":24620555,"url":"https://github.com/couchbase/kv_engine","last_synced_at":"2025-10-07T15:20:21.124Z","repository":{"id":37412792,"uuid":"91447562","full_name":"couchbase/kv_engine","owner":"couchbase","description":"Couchbase Key-Value Engine","archived":false,"fork":false,"pushed_at":"2025-10-01T11:16:45.000Z","size":141870,"stargazers_count":141,"open_issues_count":4,"forks_count":62,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-10-01T12:14:24.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.couchbase.com","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/couchbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":"auditd/CMakeLists.txt","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-16T10:49:39.000Z","updated_at":"2025-09-30T08:19:33.000Z","dependencies_parsed_at":"2024-02-12T09:12:30.977Z","dependency_job_id":"56d07a86-d9cc-4c91-9e24-e957f762ea8b","html_url":"https://github.com/couchbase/kv_engine","commit_stats":null,"previous_names":[],"tags_count":304,"template":false,"template_full_name":null,"purl":"pkg:github/couchbase/kv_engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fkv_engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fkv_engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fkv_engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fkv_engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/couchbase","download_url":"https://codeload.github.com/couchbase/kv_engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/couchbase%2Fkv_engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278620687,"owners_count":26017243,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-25T02:01:01.681Z","updated_at":"2025-10-06T13:31:36.051Z","avatar_url":"https://github.com/couchbase.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# KV-Engine\n\nWelcome to the Couchbase _KV-Engine_ project.\n\nThis started as Couchbase's fork of the upstream `memcached` project,\nbut has substantially evolved since then. It contains the bulk of the\ncode for the Key/Value service of Couchbase Server.\n\n## Repository Layout\n\nAreas of interest in the repository:\n\n* [`include/`](include/) - Public header files.\n* `daemon/` - Source for the main daemon process (also known as the\n  _server_). This is where [`main()`](daemon/memcached.cc) lives.\n* `engines/` - Source for the different engines (aka bucket types)\n  supported. Includes:\n    * [`ep`](engines/ep/) - _Eventually Persistent_ Engine. Powers the\n    _Couchbase_ and _Ephemeral_ bucket types.\n    * [`ewouldblock engine`](engines/ewouldblock_engine) - Test engine\n      which interposes a real engine and can perform various types of\n      error-injection.\n* `tests/` - Test cases.\n* `licenses/` - The various licenses in use\n\n## Building\n\nKV-Engine has a number of external dependancies, as such it should be\nbuilt via the Couchbase\n[top-level Makefile](https://github.com/couchbase/tlm).\n\n## Documentation\n\n### Architecture\n\n* [KV-Engine Architecture](docs/Architecture.md)\n* [CBSASL](cbsasl/CBSASL.md)\n* [Connections](docs/Connections.md)\n* [Audit](auditd/README.md)\n* [Event Tracing / Phosphor](docs/Tracing.md)\n* [Document size limits](docs/DocumentSizeLimits.md)\n* [Document attributes](docs/Document.md)\n* [Environment variables](docs/EnvironmentVariables.md)\n* [Role Based Access Control (RBAC)](docs/rbac.md)\n* [SSL Client Certificate](docs/ssl_client_cert.md)\n* [DCP](docs/dcp/README.md)\n* [Memcached configuration file](docs/memcached.json.adoc)\n* [Network interfaces](docs/NetworkInterface.md)\n* [HiFi MFU Eviction Policy](docs/HiFi_MFU_eviction_policy.md)\n* [Throttling](docs/Throttling.md)\n\n### Protocols\n\n* [Memcached Binary Protocol](docs/BinaryProtocol.md)\n    * [SASL](docs/sasl.md)\n    * [Duplex mode](docs/Duplex.md)\n    * [External Authentication Provider](docs/ExternalAuthProvider.md)\n    * [DCP](docs/dcp/documentation/protocol.md)\n    * [Subdoc](docs/SubDocument.md)\n\n### Policies / Guidelines\n\n* [Coding Standards](docs/CodingStandards.rst)\n* [Error Handling Best Practices](docs/ErrorHandling.md)\n* [File ownership in bucket data directory](docs/BucketDataDirectory.md)\n\n## Tools\n\n* [Analyze jemalloc memory statistics](scripts/jemalloc/README.md)\n\n## Related Projects\n\nWhile the bulk of code making up KV-Engine is in this repo, there are\na number of other repositories which contribute to the final program:\n\n* [`couchbase/couchstore`](https://github.com/couchbase/couchstore) -\n  Couchbase storage file library.\n* [`couchbase/phosphor`](https://github.com/couchbase/phosphor) -\n  Phosphor: high performance event tracing framework.\n* [`couchbase/platform`](https://github.com/couchbase/platform) -\n  Platform abstraction layer.\n* [`couchbase/subjson`](https://github.com/couchbase/subjson) -\n  subjson - quickly manipulate JSON subfields.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fkv_engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcouchbase%2Fkv_engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcouchbase%2Fkv_engine/lists"}