tarekziade / molotov

Load Testing Tool
Apache License 2.0
450 stars 31 forks source link

Molotov extensions in multi-process #151

Open sreeprasannar opened 1 year ago

sreeprasannar commented 1 year ago

This sample extension doesn't seem to work when number of processes is more than 1: https://molotov.readthedocs.io/en/stable/extending/

It makes sense because the python dictionary is not mutli-process safe. Any recommendations of how to track metrics across the multiple processes?

tarekziade commented 1 year ago

Try with multiprocessing.Manager().dict()