yandex/yandex-tank — pull request #125 by jorpic (2014-12-06 07:58:00+00:00)
Title: Non-blocking console output #110

This fixes #110.
Freezing terminal with Ctrl-S blocks `sys.stdout.write` calls. This also blocks sending stats to graphite as both are executed in sequence.
Linux does not support non-blocking file writes, so the solution is to use dedicated *writer thread*.

More general solution would be to run all aggregations asynchronously (not just console output).