milhomem / web-languages-benchmark

Web language performance comparisons running under Nginx for production environments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web Languages Benchmark

These benchmarks compare performance characteristics different web programming languages. Each benchmark includes a nearly identical implementation of the same program in each language. The objective of the program is:

  • Read a YAML configuration file
  • Process a JSON request parameter
  • Calculate Geohash from Latitude and Longitude
  • Access a MongoDB server and update one document
  • Respond HTTP 204 No Content

I will use NewRelic to mensure reponse time and Bees With Machine Guns to attack the server runing a Debian XXX on an AWS EC2 c3.2xlarge. A MongoDB server hosted on another EC2 c3.2xlarge.

We must try to configure all webservers with only 8 processes and single tread to make things fare.

First I do tests with different proxy servers the best recomandation for each language. Later I do tests with the same proxy server uWSGI using plugins to see if make effect.

References

About

Web language performance comparisons running under Nginx for production environments

License:MIT License


Languages

Language:Erlang 38.3%Language:Java 9.8%Language:Nginx 9.1%Language:Ruby 8.7%Language:Go 6.4%Language:Shell 6.3%Language:PHP 5.2%Language:Python 4.1%Language:JavaScript 3.9%Language:Makefile 3.7%Language:Perl 3.6%Language:Batchfile 0.8%Language:Groff 0.1%