Skip to content

Instantly share code, notes, and snippets.

@rtyler
Last active June 22, 2020 20:59
Show Gist options
  • Save rtyler/759541729cfc989b351123adeed4e726 to your computer and use it in GitHub Desktop.
Save rtyler/759541729cfc989b351123adeed4e726 to your computer and use it in GitHub Desktop.
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