Michael Hixson 9f8b5b5e29 Make web-simple resilient against database connection errors (#3080) 7 years ago
..
conf 013257d22d Naming Perl properly 11 years ago
README.md 013257d22d Naming Perl properly 11 years ago
app.pl 9f8b5b5e29 Make web-simple resilient against database connection errors (#3080) 7 years ago
benchmark_config.json b6cd3e7362 Perl web-simple framework fix 8 years ago
nginx.conf 013257d22d Naming Perl properly 11 years ago
setup-mysql.sh e9c5f6f782 DB Setup Changes / New Travis / Vagrant fix - The Promised Land! (#2417) 8 years ago
setup.sh 9f8b5b5e29 Make web-simple resilient against database connection errors (#3080) 7 years ago
source_code 013257d22d Naming Perl properly 11 years ago

README.md

Setup

  • Perl 5.10+
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Web::Simple
  • DBD::mysql
  • Starman (if using Starman as web server)
  • Plack (for plackup)
  • nginx (if you want to front Dancer with nginx, nginx.conf provided)

Deployment

Something along the lines of

plackup -E production -s Starman --workers=8 -l /tmp/frameworks-benchmark.sock -a ./app.pl

if you want to front it with nginx, otherwise

plackup -E production -s Starman --port=8080 --workers=8 -a ./app.pl