- Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug. There is a Contributor Friendly tag for issues that should be ideal for people who are not very familiar with the codebase yet.
- Fork the repository on Github to start making your changes to the develop branch (or branch off of it).
- Write a test which shows that the bug was fixed or that the feature works as expected.
- Send a pull request and bug the maintainer until it gets merged and published.
We created environment vagrant kit for contributors.
It’s named gottwall vagrant dev kit.
You need to clone this repository to local system, initialize submodules and execute
in repository directory. This cookbooks configure virtual box node,
installed needed services: postgresql, redis, rabbitmq.
Stability and performance is a main priotitets. We working on its every day.
We use next utils to profile aplication:
Most power tool to profile python applications.
To start profiling application need run next command:
python -m cProfile -o profiling/gottwall_aggregator.prof gottwall/runner.py --config=examples/config.py server start -h 0.0.0.0 --reload --logging=debug
After you need to send data for aggregation via clients.
Next step need to analyze profiling results via pstats:
python -m pstats profiling/gottwall_aggregator.prof
Also many helpful to use results map image.
To convert cProfile result to img need execute:
python tools/gprof2dot.py -f pstats profiling/gottwall_aggregator.prof | dot -Tpng -o profiling/aggregator_profile.png
Another tool to profile python application.
To profile an entire Python script, run:
python -m plop.collector gottwall/runner.py --config=examples/config.py server start -h 0.0.0.0 --reload --logging=debug
This will write the profile to /tmp/plop.out
To use the viewer, run:
cp /tmp/plop.out ./profiles/* python -m plop.viewer --datadir=profiles
and go to http://localhost:8888