Skip to content
A GPU-powered real-time analytics storage and query engine.
Go Cuda C++ JavaScript C HTML Other
Branch: master
Clone or download
voyager-dw fix array table creation and null value length issue (#338)
* fix array table creation and null value length issue

* address comment

* add tests for coverage
Latest commit d58f97e Nov 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Update issue templates Jan 16, 2019
.travis migrate glide to go mod (#189) May 30, 2019
api Fix gzip (#339) Nov 6, 2019
cgoutils Slab allocator and native memory allocator (#214) Jun 20, 2019
client force time column value is uint32 (#324) Oct 17, 2019
cmd create seperate worker pools for query and ingestion (#318) Oct 4, 2019
controller enforce maximum enum id in controller (#314) Oct 3, 2019
docs reorganize binary and file location (#78) Feb 2, 2019
examples Scfg (#266) Aug 2, 2019
metastore fix array table creation and null value length issue (#338) Nov 8, 2019
scripts Migrate build system from MakefIle to CMake (#100) Feb 25, 2019
subscriber fix slow test (#316) Oct 3, 2019
testing WriteSyncCloser (#323) Oct 15, 2019
thirdparty add bootstrap details, logging and metrics (#236) Jul 9, 2019
.gitignore bootstrap logic in server side (#199) Jun 12, 2019
.gitmodules include cudf (#184) May 29, 2019
.travis.yml fail enum extension on cardinality overflow (#287) Oct 3, 2019
CMakeLists.txt replace confluent with samrama (#306) Sep 26, 2019
CODEOWNERS Subscriber (#103) Mar 20, 2019 Update Jan 16, 2019 Create Jan 16, 2019
LICENSE add license and notice Nov 6, 2018
NOTICE migrate glide to go mod (#189) May 30, 2019

Build Status Coverage Status license FOSSA Status

AresDB Logo


AresDB 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.

This repo contains the source code of AresDB and debug UI.

Legal Note

AresDB requires the CUDA Toolkit. Please ensure you read, acknowledge, and accept the CUDA End User License Agreement.

Getting started

To get AresDB:

git clone --recursive $GOPATH/src/

NVIDIA Driver and CUDA Setup

AresDB needs NVIDIA driver version >= 390.48 and CUDA version 9.1.

Environment Variables

Run the following to make sure the following environment variables are correctly set:

export PATH=/path/to/cuda/bin:${PATH}
export LD_LIBRARY_PATH=/path/to/cuda/lib64:/path/to/aresdb/lib:${LD_LIBRARY_PATH}

Language Requirements

Building and running AresDB requires:

  • golang 1.11+
  • C++ compiler that support c++14
  • cmake 3.12+
  • nvcc version 9.1


Run following commands to generate makefile:


Alternatively, if you want to run the query in CPU mode, run following commands:


Local Test

AresDB 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:

Test Golang Code


We use Ginkgo as the test framework for running the Golang unit test and coverage. Install Ginkgo first and run

make test-golang

Test C++ Code


We use google-test as the test framework to test C++ code. Install google-test and set the environment variable, GTEST_ROOT, to the installed location.

After you have installed properly, run

make test-cuda

Run AresDB Server

The following command will start an AresDB server locally. You can start to query the server using a curl command or swagger page.

make run_server

Run AresDB Docker

Please read the Docker page.


Interested in learning more about AresDB? Read the blog post


Apache 2.0 License, please see LICENSE for details.

You can’t perform that action at this time.