, , , ,

Category: apache

  • Jetty – Installation on Linux

    # create download directories mkdir -p ~/build/jetty cd ~/build/jetty # download version=”9.0.0.v20130308″ wget -O jetty-distribution-$version.tar.gz “http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-$version.tar.gz&r=1” # extract the archive – creates directory jetty-distribution-…. tar -xvf jetty-distribution-$version.tar.gz # rename jetty directory sudo mv jetty-distribution-$version /usr/local # create jetty user sudo useradd -U -s /bin/false jetty # Copy Jetty script to run as service sudo chown…

  • Apache Bench – Installation and Tests

    Apache Bench is a cool tool to fire several http call against a server. Installation sudo apt-get install -y apache2 Simple Benchmark Example ab -n100000 -c1000 http://localhost:8080/ -n = total number of calls -c = number of concurrent requests Example: Multiple Apache Bench Calls With Increasing Concurrency cat > ab.sh solr_results.log for C in 2…