{"id":13824121,"url":"https://github.com/aerospike/aerospike-server","last_synced_at":"2026-05-05T23:01:20.773Z","repository":{"id":43148713,"uuid":"124315604","full_name":"aerospike/aerospike-server","owner":"aerospike","description":"Aerospike Database Server – flash-optimized, in-memory, nosql database","archived":false,"fork":false,"pushed_at":"2026-01-12T22:53:32.000Z","size":5835,"stargazers_count":1302,"open_issues_count":9,"forks_count":197,"subscribers_count":84,"default_branch":"master","last_synced_at":"2026-01-16T16:47:47.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://aerospike.com/","language":"C","has_issues":true,"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/aerospike.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-03-08T00:59:46.000Z","updated_at":"2026-01-15T04:58:23.000Z","dependencies_parsed_at":"2023-12-09T06:33:03.845Z","dependency_job_id":"8bf7c975-3cc6-48aa-92a3-7a85acf6086d","html_url":"https://github.com/aerospike/aerospike-server","commit_stats":{"total_commits":1387,"total_committers":19,"mean_commits":73.0,"dds":0.1773612112472963,"last_synced_commit":"c77b2417c8c112cdbb0d74341329fcfe328104e2"},"previous_names":[],"tags_count":656,"template":false,"template_full_name":null,"purl":"pkg:github/aerospike/aerospike-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerospike","download_url":"https://codeload.github.com/aerospike/aerospike-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerospike%2Faerospike-server/sbom","scorecard":{"id":169167,"data":{"date":"2025-08-11","repo":{"name":"github.com/aerospike/aerospike-server","commit":"179b02de8b6b9ef20e8019ac9253329a7c85ce74"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.6,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":6,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Info: 'stale review dismissal' is required to merge on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is required - but no codeowners file found in repo","Info: 'last push approval' is required to merge on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: aerospike-server-community-8.0.0.9-1.amzn2023.aarch64.rpm.sha256.asc: https://github.com/aerospike/aerospike-server/releases/tag/8.0.0.9","Info: signed release artifact: aerospike-server-community-8.0.0.8-1.amzn2023.aarch64.rpm.sha256.asc: https://github.com/aerospike/aerospike-server/releases/tag/8.0.0.8","Info: signed release artifact: aerospike-server-community-7.2.0.11-1.amzn2023.aarch64.rpm.sha256.asc: https://github.com/aerospike/aerospike-server/releases/tag/7.2.0.11","Info: signed release artifact: aerospike-server-community-7.1.0.17-1.amzn2023.aarch64.rpm.sha256.asc: https://github.com/aerospike/aerospike-server/releases/tag/7.1.0.17","Info: signed release artifact: aerospike-server-community-7.0.0.25-1.amzn2023.aarch64.rpm.sha256.asc: https://github.com/aerospike/aerospike-server/releases/tag/7.0.0.25","Warn: release artifact 8.0.0.9 does not have provenance: https://api.github.com/repos/aerospike/aerospike-server/releases/235790211","Warn: release artifact 8.0.0.8 does not have provenance: https://api.github.com/repos/aerospike/aerospike-server/releases/220741597","Warn: release artifact 7.2.0.11 does not have provenance: https://api.github.com/repos/aerospike/aerospike-server/releases/220741471","Warn: release artifact 7.1.0.17 does not have provenance: https://api.github.com/repos/aerospike/aerospike-server/releases/220741331","Warn: release artifact 7.0.0.25 does not have provenance: https://api.github.com/repos/aerospike/aerospike-server/releases/220741249"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-16T15:54:26.714Z","repository_id":43148713,"created_at":"2025-08-16T15:54:26.714Z","updated_at":"2025-08-16T15:54:26.714Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29645170,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T05:21:04.652Z","status":"ssl_error","status_checked_at":"2026-02-20T05:21:04.238Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-08-04T09:00:57.118Z","updated_at":"2026-02-20T08:04:57.221Z","avatar_url":"https://github.com/aerospike.png","language":"C","funding_links":[],"categories":["C / CPP","C","NoSQL"],"sub_categories":[],"readme":"# Aerospike Database Server\n\nWelcome to the Aerospike Database Server source code tree!\n\nAerospike is a distributed, scalable NoSQL database. It is architected with three key objectives:\n\n- To create a high-performance, scalable platform that would meet the needs of today's web-scale applications\n- To provide the robustness and reliability (i.e., ACID) expected from traditional databases.\n- To provide operational efficiency (minimal manual involvement)\n\nFor more information on Aerospike, please visit: [`http://aerospike.com`](http://aerospike.com)\n\n## Build Prerequisites\n\nThe Aerospike Database Server can be built and deployed on various\ncurrent 64-bit GNU/Linux platform versions, such as Red Hat Enterprise Linux 8/9, Amazon Linux 2023, \nDebian 11 or later, and Ubuntu 20.04 or later.\n\n### Dependencies\n\nThe majority of the Aerospike source code is written in the C\nprogramming language, conforming to the ANSI C99 standard.\n\nTo install dependencies for a development environment run\n`./bin/install-dependencies.sh` in the aerospike-server repo.\n\nIn particular, the following tools and libraries are needed:\n\n#### C Compiler Toolchain\n\nBuilding Aerospike requires the GCC 4.1 or later C compiler toolchain,\nwith the standard GNU/Linux development tools and libraries installed in\nthe build environment, including:\n\n- `autoconf`\n- `automake`\n- `cmake`\n- `libtool`\n- `make`\n\n#### C++\n\nThe C++ compiler is required for the Aerospike geospatial indexing\nfeature and its dependency, Google's S2 Geometry Library (both written in C++.)\nC++ is also used for yaml/json configuration parsing.\n\n- The Red Hat Enterprise Linux 8/9 requires `gcc-c++`.\n- The Debian 11/12/13 and Ubuntu 20/22/24 requires `g++`.\n\n#### OpenSSL\n\nOpenSSL 0.9.8b or later.\n\n- The Red Hat Enterprise Linux 8/9 requires `openssl-devel`\n- The Debian 11/12/13 and Ubuntu 20/22/24 requires `libssl-dev`.\n\n#### Zlib\n\n- The Red Hat Enterprise Linux 8/9 requires `zlib-devel`\n- The Debian 11/12/13 and Ubuntu 20/22/24 requires `zlib1g-dev`.\n\n### Submodules\n\nThe Aerospike Database Server build depends upon the following submodules:\n\n| Submodule | Description |\n|---------- | ----------- |\n| abseil-cpp | Support for the S2 Spherical Geometry Library |\n| common    | The Aerospike Common Library |\n| jansson   | C library for encoding, decoding and manipulating JSON data |\n| jemalloc  | The JEMalloc Memory Allocator |\n| json      | nlohmann/json library for json in c++, used primarily for config parsing |\n| jsonschema | pboettch/json-schema-validator used to validate configuration against our schemas |\n| libbacktrace | A C library that may be linked into a C/C++ program to produce symbolic backtraces |\n| lua       | The Lua runtime |\n| mod-lua   | The Aerospike Lua Interface |\n| s2geometry | The S2 Spherical Geometry Library |\n| yamlcpp   | jbeder/yaml-cpp used to parse yaml config files |\n\nAfter the initial cloning of the `aerospike-server` repo., the\nsubmodules must be fetched for the first time using the following\ncommand:\n\n\t$ git submodule update --init\n\n\u003e [!IMPORTANT]\n\u003e As this project uses submodules, the source archive downloadable\n\u003e via GitHub's `Download ZIP` button will not build unless the correct\n\u003e revision of each submodule is first manually installed in the appropriate\n\u003e `modules` subdirectory.\n\n## Building Aerospike\n\n\u003e [!TIP]\n\u003e Aerospike collects telemetry information about builds. To opt out, the\n\u003e environment variable AEROSPIKE_TELEMETRY must be set to FALSE.\n\n### Default Build\n\n\t$ make          -- Perform the default build (no packaging.)\n\n\u003e [!TIP]\n\u003e You can use the `-j` option with `make` to speed up the build\n\u003e on multiple CPU cores. For example, to run four parallel jobs:\n\n    $ make -j4\n\n### Build Options\n\n\t$ make deb      -- Build the Debian (Ubuntu) package.\n\t$ make rpm      -- Build the Red Hat Package Manager (RPM) package.\n\t$ make source   -- Package the source code as a compressed \"tar\" archive.\n\t$ make clean    -- Delete any existing build products, excluding built packages.\n\t$ make cleanpkg -- Delete built packages.\n\t$ make cleanall -- Delete all existing build products, including built packages.\n\t$ make cleangit -- Delete all files untracked by Git.  (Use with caution!)\n\t$ make strip    -- Build a \"strip(1)\"ed version of the server executable.\n\n### Overriding Default Build Options\n\n\t$ make {\u003cTarget\u003e}* {\u003cVARIABLE\u003e=\u003cVALUE\u003e}*  -- Build \u003cTarget\u003e(s) with optional variable overrides.\n\n#### Example:\n\n\t$ make  -- Default build.\n\n## Configuring Aerospike\n\n### Configuration Formats\n\nAerospike supports two configuration formats:\n\n- **Traditional .conf format**: Sample configuration files are provided in `as/etc`. The\ndeveloper configuration file, `aerospike_dev.conf`, contains basic\nsettings that should work out-of-the-box on most systems. The package\nexample configuration files, `aerospike.conf`, and the Solid State Drive\n(SSD) version, `aerospike_ssd.conf`, are suitable for running Aerospike\nas a system daemon.\n\n- **YAML format**: Aerospike supports YAML-based configuration with JSON schema validation\nas an experimental feature. This format provides structured configuration with automatic\nvalidation against a schema file.\n\n  To use YAML configuration:\n  \n  1. Enable the feature with the `--experimental` flag when starting the server\n  2. Optionally specify a custom schema file with `--schema-file \u003cfile\u003e` (default location:\n     `/opt/aerospike/schema/aerospike_config_schema.json`)\n  3. Supply a YAML based configuration file that adheres to the schema.\n  \n  **Converting existing configurations**: Use the `asconfig` tool to convert traditional\n  `.conf` files to YAML format. The tool generates YAML files with metadata headers that\n  include version information.\n  \n  **Schema validation**: The JSON schema file validates your YAML configuration at startup,\n  catching configuration errors early and providing better error messages for invalid settings.\n\n### Convert and update YAML for the server\n\nThe `asconfig` tool currently outputs an older yaml config format, which is not the same as the\nexperimental YAML format the server validates. To move from a traditional `.conf` file\nto the server’s experimental YAML config:\n\n1. Convert your `.conf` file with `asconfig`.\n2. Update the generated YAML to match the server’s schema. For the authoritative format,\n   reference `/opt/aerospike/schema/aerospike_config_schema.json`.\n\n#### Required updates after running `asconfig`\n\n1. **Convert arrays to maps (keyed objects)**:\n   - `namespaces`, `namespaces[].sets`\n   - `network.tls`\n   - `xdr.dcs`, `xdr.dcs[].namespaces`\n2. **Remove `name` fields** that were used inside array entries; the name now becomes the map key.\n3. **Update logging sinks** to typed entries with `contexts` (see schema for valid types/contexts):\n   - `type: console` uses only `contexts`\n   - `type: file` requires `path` plus `contexts`\n   - `type: syslog` supports `facility`, `path`, `tag`, and `contexts`\n4. **(Optional) Use unit-aware values** for size/time settings. Optionally use `{ value, unit }`\n   objects where supported. Plain numeric values are still valid. Refer to the schema\n   for the authoritative list of unit-capable fields and allowed units.\n\n#### Example: array → map conversion\n\n```yaml\n# asconfig output (not valid for the server’s experimental YAML)\nnamespaces:\n  - name: test\n    replication-factor: 2\n```\n\n```yaml\n# server experimental YAML format\nnamespaces:\n  test:\n    replication-factor: 2\n```\n\n**Notes**:\n- Do not include the `name` property inside the map value.\n\n#### Example: minimal config conversion\n\nYAML configuration as output by asconfig.\n\n```yaml\n# asconfig output (not valid for the server’s experimental YAML)\nservice:\n  cluster-name: my-cluster\n  pidfile: /var/run/aerospike/asd.pid\n\nlogging:\n  - name: console\n    any: info\n\nnetwork:\n  service:\n    addresses:\n      - any\n    port: 3000\n  fabric:\n    port: 3001\n  heartbeat:\n    mode: mesh\n    port: 3002\n    addresses:\n      - local\n    interval: 150\n    timeout: 10\n\nnamespaces:\n  - name: test\n    replication-factor: 2\n    storage-engine:\n      type: memory\n      data-size: 4294967296\n```\n\nThe configuration after aligning it with the database schema.\n\n```yaml\n# server experimental YAML format\nservice:\n  cluster-name: my-cluster\n  pidfile: /var/run/aerospike/asd.pid\n\nlogging:\n  - type: console\n    contexts:\n      any: info\n\nnetwork:\n  service:\n    addresses:\n      - any\n    port: 3000\n  fabric:\n    port: 3001\n  heartbeat:\n    mode: mesh\n    port: 3002\n    addresses:\n      - local\n    interval: 150\n    timeout: 10\n\nnamespaces:\n  test:\n    replication-factor: 2\n    storage-engine:\n      type: memory\n      data-size: 4294967296\n```\n\n#### Example: logging sinks\n\nLogging section as output by asconfig.\n\n```yaml\n# asconfig output (not valid for the server’s experimental YAML)\nlogging:\n  - name: console\n    any: info\n  - name: /var/log/aerospike/aerospike.log\n    any: info\n```\n\nLogging section after aligning it with the database schema.\n\n```yaml\n# server experimental YAML format\nlogging:\n  - type: console\n    contexts:\n      any: info\n  - type: file\n    path: /var/log/aerospike/aerospike.log\n    contexts:\n      any: info\n  - type: syslog\n    facility: local1\n    path: /dev/log\n    tag: asd\n    contexts:\n      any: info\n```\n\nSee `/opt/aerospike/schema/aerospike_config_schema.json` for the full list of\nlogging contexts and the allowed syslog facilities.\n\n#### Example: unit-aware values\n\nThe database's experimental yaml configuration format allows certain\nconfigs to use values with units.\n\n```yaml\n# server experimental YAML unit-enabled fields\nnamespaces:\n  test:\n    storage-engine:\n      data-size:\n        value: 4\n        unit: g\n\nxdr:\n  dcs:\n    dc1:\n      namespaces:\n        test:\n          ship-versions-interval:\n            value: 1\n            unit: h\n```\n\nSee `/opt/aerospike/schema/aerospike_config_schema.json` for the definitive list of\nfields that accept units, the allowed unit values, and the `{ value, unit }` form.\n\nThese sample files may be modified for specific use cases (e.g., setting\nnetwork addresses, defining namespaces, and setting storage engine\nproperties) and tuned for maximum performance on a particular system.\nAlso, system resource limits may need to be increased to allow,\ne.g., a greater number of concurrent connections to the database. See\n\"man limits.conf\" for how to change the system's limit on a process'\nnumber of open file descriptors (\"nofile\".)\n\n## Running Aerospike\n\nThere are several options for running the Aerospike database. Which\noption to use depends upon whether the primary purpose is production\ndeployment or software development.\n\nThe preferred method for running Aerospike in a production environment\nis to build and install the Aerospike package appropriate for the target\nLinux distribution (i.e., an `\".rpm\"` or `\".deb\"` file), and then to\ncontrol the state of the Aerospike daemon via `systemctl` on\ne.g., `systemctl start aerospike`.\n\nPlease refer to the full documentation on the Aerospike web site,\n[`https://docs.aerospike.com/`](https://docs.aerospike.com/), for more\ndetailed information about configuring and running the Aerospike\nDatabase Server, as well as about the Aerospike client API packages\nfor popular programming languages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerospike%2Faerospike-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerospike%2Faerospike-server/lists"}