Hamilton Turner 93a1f30e4a Stop treating frameworks as python modules 10 ani în urmă
..
README.md 013257d22d Naming Perl properly 11 ani în urmă
app.pl 013257d22d Naming Perl properly 11 ani în urmă
bash_profile.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? 11 ani în urmă
benchmark_config 013257d22d Naming Perl properly 11 ani în urmă
install.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? 11 ani în urmă
nginx.conf 27474ca7b7 Ugh, none of these work - Perl, amirite? 11 ani în urmă
setup.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? 11 ani în urmă
source_code 013257d22d Naming Perl properly 11 ani în urmă

README.md

Setup

  • Perl 5.16.3
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Dancer
  • Dancer::Plugin::Database
  • 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=2 -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=2 -a ./app.pl