msmith-techempower 3eef49c693 Fixed some issues with benchmark_configs vor 10 Jahren
..
t 21870db4dc Kelp - Fix the 1:500 range warning vor 11 Jahren
README.md 8eb83142cb Fix all issues with Kelp and add MongoDB tests vor 11 Jahren
app.ini 8eb83142cb Fix all issues with Kelp and add MongoDB tests vor 11 Jahren
app.pl 36c30700ec Fix ' encoding in fortunes vor 11 Jahren
bash_profile.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? vor 11 Jahren
benchmark_config 3eef49c693 Fixed some issues with benchmark_configs vor 10 Jahren
install.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? vor 11 Jahren
nginx.conf 27474ca7b7 Ugh, none of these work - Perl, amirite? vor 11 Jahren
setup.sh 27474ca7b7 Ugh, none of these work - Perl, amirite? vor 11 Jahren
source_code 013257d22d Naming Perl properly vor 11 Jahren

README.md

Setup

  • Perl 5.10+
  • MySQL 5.5
  • MongoDB
  • Wrk 2.0

Requirements

  • Kelp (install from CPAN)
  • Kelp::Module::JSON::XS (install from CPAN)
  • Kelp::Module::Template::Toolkit (install from CPAN)
  • DBD::mysql (install from CPAN)
  • Starman (install from CPAN)
  • MongoDB (install from CPAN)
  • nginx (if you want to front with nginx, nginx.conf provided)

Deployment

uWSGI (recommended)

  1. Make sure you have installed the psgi plugin.
  2. Deploy:

    ./uwsgi --plugins psgi --init app.ini

Plack + Starman

  1. Deploy via plackup

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

  2. If you want to front it with nginx, otherwise

    plackup -E deployment -s Starman --port=8080 --workers=25 -a ./app.pl

Expert contact

@naturalist ([email protected])