yum -y install erlang perl perl-RRD-Simple.noarch perl-Log-Log4perl-RRDs.noarch gnuplot perl-Template-Toolkit
wget http://tsung.erlang-projects.org/dist/tsung-1.6.0.tar.gz
tar xfz tsung-1.6.0.tar.gz
cd tsung-1.6.0
./configure && make && make install
mkdir /root/.tsung
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
print "Processing ${ARGV[0]}, filtering domain ${ARGV[1]}\n"; | |
open INPUT, ${ARGV[0]} or die $!; | |
open OUTPUT, ">${ARGV[0]}.filtered.xml" or die $!; | |
my $skip = 0; | |
while (my $line = <INPUT>) { |
import java.util.*; | |
import java.text.*; | |
import org.json.*; | |
import io.jsonwebtoken.* | |
import org.apache.commons.codec.binary.Base64; | |
import com.google.gson.JsonObject; | |
// get JWT secret key from params | |
String [] params = Parameters.split(","); | |
String secret_key = params[0]; |
import java.util.*; | |
import java.text.*; | |
import org.json.*; | |
import io.jsonwebtoken.* | |
import org.apache.commons.codec.binary.Base64; | |
// get JWT secret key and response value (to check response against it) from params | |
String [] params = Parameters.split(","); | |
String secret_key = params[0]; | |
String status = params[1]; |
yum -y install erlang perl perl-RRD-Simple.noarch perl-Log-Log4perl-RRDs.noarch gnuplot perl-Template-Toolkit firefox | |
wget http://tsung.erlang-projects.org/dist/tsung-x.x.x.tar.gz | |
tar zxfv tsung-1.4.2.tar.gz | |
cd tsung-1.4.2 | |
./configure && make && make install | |
cp /usr/share/doc/tsung/examples/http_simple.xml /root/.tsung/tsung.xml |
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400,000 to 500,000 requests per second (clustered), most what i saw is 50,000 to 80,000 (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon
with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
title: "Open Files Limit" description: "" project: "riak_kv" project_version: "2.2.3" menu: riak_kv-2.2.3: name: "Open Files Limit" identifier: "performance_open_files_limit" weight: 101