WasmDB is a project of the Programming Language Group at the Department of Computer Sciences of Purdue University in USA Indiana.
This repository contains the server side code of the web application. WasmDB compiles SQL queries into highly specialised WebAssembly code to compute the results for a given CSV dataset with close to native performance.
-
Install the SBT build tool:
If you are using OS X and Homebrew, run
brew install sbt
.For other platforms, follow the instructions on the SBT website.
-
Clone this repo and run the tests:
git clone https://github.com/ChristianMoesl/wasmdb-backend
cd wasmdb-backend
sbt test
-
Install Docker Desktop
-
Run the prebuilt image:
docker run -it christianmoesl/wasmdb-backend
sbt test
Uploads the program code as .zip
file to s3://wasmdb/assembly.zip
and updates a AWS lambda called wasmdb
with this code. The S3 Bucket has to be created in advance!
-
Install Docker Desktop
-
Run the prebuilt deploy image:
docker run -e AWS_ACCESS_KEY_ID=<your-aws-key> \
-e AWS_SECRET_ACCESS_KEY=<your-aws-secret> \
-e AWS_DEFAULT_REGION=<your-aws-region> deploy