Download and untar JDK 16 loom (https://jdk.java.net/16/) http://jdk.java.net/loom/
export JAVA_HOME=~/Downloads/jdk-16.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
mvn clean install
docker-compose up -d
./run.sh
NOTE: check your ulimits and set them to high values before running client or ab
./run-client.sh
curl -d '{"text":"hi", "userId":"3", "deviceId": "AB"}' 'http://localhost:9090/write' -v
curl -d '{"userId":"2", "deviceId":"A"}' 'http://localhost:9090/read' -N -o o1.json