Nate 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
..
t 21870db4dc Kelp - Fix the 1:500 range warning %!s(int64=11) %!d(string=hai) anos
README.md 8eb83142cb Fix all issues with Kelp and add MongoDB tests %!s(int64=11) %!d(string=hai) anos
app.ini 8eb83142cb Fix all issues with Kelp and add MongoDB tests %!s(int64=11) %!d(string=hai) anos
app.pl f13d33be58 Update Kelp query to pass the test (#4629) %!s(int64=6) %!d(string=hai) anos
benchmark_config.json 623418289e Some QoL Stuff (#5604) %!s(int64=5) %!d(string=hai) anos
config.toml 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
kelp-mongodb.dockerfile 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
kelp.dockerfile 0096f84ee9 Config for the new toolset (#6259) %!s(int64=4) %!d(string=hai) anos
nginx.conf f9360fc33b Docker Perl tests (#3426) %!s(int64=7) %!d(string=hai) anos

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])