{"id":13393574,"url":"https://github.com/uber/aresdb","last_synced_at":"2025-05-14T23:01:56.979Z","repository":{"id":37430808,"uuid":"149626591","full_name":"uber/aresdb","owner":"uber","description":"A GPU-powered real-time analytics storage and query engine. ","archived":false,"fork":false,"pushed_at":"2024-07-13T08:54:26.000Z","size":13032,"stargazers_count":3047,"open_issues_count":31,"forks_count":232,"subscribers_count":96,"default_branch":"master","last_synced_at":"2025-04-11T10:02:36.079Z","etag":null,"topics":["analytics","cgo","cuda","data","database","golang","gpu-programming","query","real-time","storage"],"latest_commit_sha":null,"homepage":"https://eng.uber.com/aresdb/","language":"Go","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/uber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-20T14:56:46.000Z","updated_at":"2025-04-11T09:57:34.000Z","dependencies_parsed_at":"2022-07-08T18:43:40.974Z","dependency_job_id":"b436cf4b-668e-4979-aa74-a1d8a4bc4cfe","html_url":"https://github.com/uber/aresdb","commit_stats":{"total_commits":386,"total_committers":16,"mean_commits":24.125,"dds":0.8005181347150259,"last_synced_commit":"a8d2aedc6850b10a6cc9381ba780800290b2756d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Faresdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Faresdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Faresdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Faresdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber","download_url":"https://codeload.github.com/uber/aresdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254243353,"owners_count":22038044,"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":["analytics","cgo","cuda","data","database","golang","gpu-programming","query","real-time","storage"],"created_at":"2024-07-30T17:00:56.220Z","updated_at":"2025-05-14T23:01:53.036Z","avatar_url":"https://github.com/uber.png","language":"Go","readme":"[![Build Status][ci-img]][ci] [![Coverage Status][cov-img]][cov] [![license](https://img.shields.io/github/license/uber/aresdb.svg)](LICENSE) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fuber%2Faresdb.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fuber%2Faresdb?ref=badge_shield)\n\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\u003cimg src=\"docs/logo.png\" alt=\"AresDB Logo\" width=\"220\" height=\"209\"\u003e\u003c/p\u003e\n\nAresDB\n==============\nAresDB is a GPU-powered real-time analytics storage and query engine. It features low query latency, high data freshness and highly efficient in-memory and on disk storage management. Please see AresDB's features, architecture design described in the [Uber Engineering Blog](https://eng.uber.com/aresdb/).\n\nThis repo contains the source code of AresDB and debug UI.\n\nLegal Note\n----------\nAresDB requires the CUDA Toolkit. Please ensure you read, acknowledge, and accept the [CUDA End User License Agreement](https://docs.nvidia.com/cuda/eula/index.html).\n\nGetting started\n---------------\nTo get AresDB:\n\n```\ngit clone --recursive https://github.com/uber/aresdb.git $GOPATH/src/github.com/uber/aresdb\n```\n\nNVIDIA Driver and CUDA Setup\n----------------------------\nAresDB needs [NVIDIA driver](https://www.nvidia.com/Download/index.aspx) version \u003e= 390.48 and [CUDA](https://developer.nvidia.com/cuda-91-download-archive) version 9.1.\n\nEnvironment Variables\n---------------------\nRun the following to make sure the following environment variables are correctly set:\n```\nexport PATH=/path/to/cuda/bin:${PATH}\nexport LD_LIBRARY_PATH=/path/to/cuda/lib64:/path/to/aresdb/lib:${LD_LIBRARY_PATH}\nexport PKG_CONFIG_PATH=${LD_LIBRARY_PATH}/pkgconfig:${PKG_CONFIG_PATH}\n```\n\n\nLanguage Requirements\n---------------------\nBuilding and running AresDB requires:\n* [golang](https://golang.org/) 1.11+\n* C++ compiler that support c++14\n* [cmake](https://cmake.org/download/) 3.12+\n* [nvcc](https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/index.html) version 9.1\n\nConfigure\n---------\nRun following commands to generate makefile:\n```\ncmake -DQUERY_MODE=DEVICE .\n```\n\nAlternatively, if you want to run the query in CPU mode, run following commands:\n```\ncmake -DQUERY_MODE=HOST .\n```\n\nLocal Test\n----------\nAresDB is written in C++ (query engine) and Golang (mem store, disk store and other query components). Because of this, we break testing into two parts:\n### Test Golang Code\n#### Ginkgo\nWe use [Ginkgo](https://github.com/onsi/ginkgo) as the test framework for running the Golang unit test and coverage. Install Ginkgo first and run\n```\nmake test-golang\n```\n\n### Test C++ Code\n#### google-test\nWe use [google-test](https://github.com/google/googletest) as the test framework to test C++ code. Install google-test and set the environment variable, GTEST_ROOT, to the installed location.\n\nAfter you have installed properly, run\n```\nmake test-cuda\n```\n\nRun AresDB Server\n-----------------\nThe following command will start an AresDB server locally. You can start to query the server using a curl command or [swagger](https://github.com/uber/aresdb/wiki/Swagger) page.\n```\nmake run_server\n```\n\nRun AresDB Docker\n-----------------\nPlease read the [Docker](docker/README.md) page.\n\nDocumentation\n--------------\n\nInterested in learning more about AresDB? Read the [blog post](https://eng.uber.com/aresdb/)\n\nLicense\n-------\nApache 2.0 License, please see [LICENSE](LICENSE) for details.\n\n[ci-img]: https://travis-ci.com/uber/aresdb.svg?branch=master\n[ci]: https://travis-ci.com/uber/aresdb\n[cov-img]: https://codecov.io/gh/uber/aresdb/branch/master/graph/badge.svg\n[cov]: https://codecov.io/gh/uber/aresdb\n\n","funding_links":[],"categories":["Go","HarmonyOS","开源类库","Databases","Open source library"],"sub_categories":["Windows Manager","数据库","Analytical Databases","Database"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Faresdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber%2Faresdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Faresdb/lists"}