Hamilton Turner e358e39ad4 Moving Perl frameworks 11 years ago
..
conf e358e39ad4 Moving Perl frameworks 11 years ago
README.md e358e39ad4 Moving Perl frameworks 11 years ago
__init__.py e358e39ad4 Moving Perl frameworks 11 years ago
app.pl e358e39ad4 Moving Perl frameworks 11 years ago
bash_profile.sh e358e39ad4 Moving Perl frameworks 11 years ago
benchmark_config e358e39ad4 Moving Perl frameworks 11 years ago
install.sh e358e39ad4 Moving Perl frameworks 11 years ago
nginx.conf e358e39ad4 Moving Perl frameworks 11 years ago
setup.py e358e39ad4 Moving Perl frameworks 11 years ago
source_code e358e39ad4 Moving Perl frameworks 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