Example code for sharing data in a Python WSGI HTTP Server
Example code for sharing data in a Python WSGI HTTP Server
Detailed explanation can be found here @ Medium
requirements.txt
$ pip install -r requirements.txt
run.sh
$ bash run.sh
--num-workers
: 5--port
: 8080$ bash run.sh test_global_variable
$ bash run.sh test_mp_value
$ bash run.sh test_mp_array
$ bash run.sh test_mp_manager
$ bash run.sh test_signal_handling