Installation of control-based load shedding mechanism on Borealis

 

You need to first download the code from here.

 

Borealis was not very user-friendly in terms of configuring the right environment to build the software. You have to follow a non-trivial process that was available at the Borealis/Aurora website. Note that this page only talks about the latest version of Borealis but the code you are about to download is based on an older version, for which unfortunately I do not have a copy of the installation instructions. 

 

YouÕll find the code related to the controller at ~/DSMS1/borealis/src/modules/queryProcessor/runtime/

 

There are two *.q files, you can use them to replace the corresponding *.cc and *.h files to build the controller-enabled borealis. You also need to add the "-D CONTROL" tag to gcc to compile it. 

 

Some testcases can be found at  ~/DSMS1/borealis/utility/test/composite/loadShedder/client.cc