This repository is a fork of https://github.com/KMax/cqels for the purpose of testing CQELS performance with SRBench on lightweight computers. It was originally forked from the CQELS respository on Google Code.
git clone https://github.com/eugenesiow/cqels.git
- You need to have maven installed.
cd cqels
mvn dependency:copy-dependencies package
cd target
chmod 775 run.sh
- Download station ALPHA's data here and place it in the
../knoesis_observations_ike_csv/
or edit the run.sh accordingly if you place it in a different directory. ./run.sh 1 10 1000
where the first 2 parameters are the queries to run from (e.g. q1 to q10) and the 3rd parameter is the delay (in ms) between events.- Results will be output as
output/q1.txt
and so on. Each line in the output is the time taken from the event being sent to the stream to the result being received through the callable. - You can also run
./run_count.sh 1 10 1000
which will exporttime_taken:results_count
instead. - You can also run
./run_smarthome.sh 1 2 1000
which run the smarthome analytics benchmark. Note: only queries 1 and 2 are fully supported. For query 3 the FILTER doesn't work with CQELS and has been removed (you can execute the version without). This will require the smarthome data in csv to stream.