Wukong Divide-and-Conquer (aka Wukong Dynamic) is an attempt to realize a fully-generic serverless execution engine.
Built as a conceptual extension of the original Wukong project, Wukong DnC provides a generic programming model, enabling the execution of arbitrary workloads.
To run code in this library, set your working directory to be DivideAndConquer/
. Then, you can run the driver programs as follows:
python mergesort_driver.py -h
python treereduction_driver.py -h
python fibonnaci_driver.py -h
This framework requires you have a Redis server available. The IP address should be specified in DivideAndConquer/wukongdnc/constants.py
. Likewise, the TCP server
defined in DivideAndConquer/wukongdnc/tcp_server.py
must be running as well (and its IP address should be set in the aforementioned constants.py
file). Finally,
an AWS Lambda function must be configured and contain all of the code except the coordinator/
direcotry, data/
directory, and programs/
directory.
The TCP server can be started by setting your working directory to be DivideAndConquer/
and then executing the following command:
python -m wukongdnc.server.tcp_server