Patrick Falls baa61cade6 lower case framework name 12 years ago
..
conf 7bed3cc563 web-simple 12 years ago
README.md cedf1294e2 fix refs 12 years ago
__init__.py 7bed3cc563 web-simple 12 years ago
app.pl 1e69819909 changes 12 years ago
benchmark_config baa61cade6 lower case framework name 12 years ago
nginx.conf cedf1294e2 fix refs 12 years ago
setup.py 7bed3cc563 web-simple 12 years ago

README.md

Setup

  • Perl 5.10+
  • MySQL 5.5
  • Wrk 2.0

Requirements

  • Web::Simple
  • DBD::pg
  • 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