Skip to content

Instantly share code, notes, and snippets.

@rtyler
Last active Jun 22, 2020
Embed
What would you like to do?
Reproduction steps for a locking issue with async-std 1.6.x and hotdog

Reproducing the issue

  • git clone https://github.com/reiseburo/hotdog -b performance-regression-41

  • cd hotdog

  • docker-compose up (not needed for the runtime test, but 🌭 needs Kafka to start)

  • cargo build --release

  • Run 🌭 with RUST_LOG=info ./target/release/hotdog -c hotdog-loadtest.yml

  • In two terminates, paste: ./scripts/generate-stdout.rb 100000 | time openssl s_client -connect localhost:6514

  • Try to run them both in parallel as much as possible.

  • While they’re running, you should see the dots slow in one terminal and even stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment