Boost application reliability with top performance testing tools like JMeter, LoadRunner, Gatling, and Apache Bench, ensuring scalability, speed, and optimal user experience. .
seen from Japan

seen from Romania

seen from Romania
seen from Pakistan
seen from United States
seen from Iraq
seen from Germany
seen from China
seen from Canada
seen from Pakistan

seen from Sweden

seen from United States
seen from Türkiye

seen from Romania

seen from Canada
seen from China
seen from Greece

seen from United States

seen from China
seen from United States
Boost application reliability with top performance testing tools like JMeter, LoadRunner, Gatling, and Apache Bench, ensuring scalability, speed, and optimal user experience. .
Getting amazon SNS ans SQS feelers with some benchmarks
We are exploring Amazon SNS and SQS services to build our notifications system at Pratilipi. To get started and have some initial idea about whether it works the way it has been promised, I decided to do some basic benchmarking. Please note that I did this on my local machine to know whether the technologies fit our usecase, or we can reject them outrightly. I am sharing these in the hope that someone else in a similar situation might find this helpful. These are not production benchmarks, and the sole purpose is to get some firsthand feelers. Below are a couple of Node.js apps built using sails that I created to carry out these benchmarks:
https://github.com/amitsaxena/sns_experiment (used to send a notification to SNS)
https://github.com/amitsaxena/sqs_experiment (used to send and receive jobs to and from SQS)
I used the good old apache bench to generate concurrency and load. The requests were being served by a single node server instance on my local machine with an average internet connection. Below are the test results:
50K requests at 100 concurrency sending messages to SNS:
50K requests at 100 concurrency receiving messages from SQS:
To also account for network latency, I hit one of our ECS container instance in the same AWS region to get an average round trip time (time spent by our request/response in transferring data over network) for our requests.
5K requests with 100 concurrency doing a health check
Below are my observations:
The average time per request for sending messages to SNS is 474ms
The average round trip time for our requests (health check) in the same AWS region is 538ms
Looking at the above, feels like SNS is going to give us < 10 millisecond latency when we are going to trigger events and notifications from our app servers in the same AWS region as the SNS topics
The average time taken to retrieve a message from SQS and delete it as well is 660ms
Taking into account the network latency, it looks like it will take around 150ms to retrieve and delete a job from SQS (from our app servers)
There were 0 failures when sending 50K messages
There were 0 failures when retrieving 50K messages
Based on the above data it feels like that both SNS and SQS are good pieces of technology for the problems we are trying to solve here. We are fine with a few seconds of lag in our notifications system and are planning to go ahead with these. If you have any questions or thoughts to share, please feel free to shoot a comment. How has your experience with SNS and SQS been?
Benchmarking Authenticated Drupal Users with ApacheBench
The sections of this tutorial are as follows:
Brief background on ApacheBench and performance of Drupal Anonymous vs Authenticated Users
Accessing the cookie containing the Drupal session ID
Passing the session cookie to ApacheBench
Verifying that the Drupal installation being benchmarked recognizes the cookie and is serving authenticated Pages
ApacheBench, also known as 'ab', is a command line program bundled with the Apache Web Server that measures the performance of web servers by making HTTP requests to a user-specified URL. ApacheBench displays statistical information, such as the number of requests served per second and the amount of time taken to serve those requests, that is useful for evaluating (benchmarking) and tuning the performance of a webserver. ApacheBench does a decent job of simulating different types and levels of load on a sever.
How to: Load Testing with AB ... fake failed requests (length)
How to: Load Testing with AB … fake failed requests (length)
Load Testing with AB … fake failed requests (length)
To do some load testing, for my own curiosity, on my server I ran:
ab -kc 50 -t 200 http://localhost/index.php
This opens up 50 keep-alive connections for 200 seconds and just slams my server with requests for index.php
In my results, I get:
Concurrency Level: 50 Time taken for tests: 200.007 seconds Complete requests: 33106 Failed requests:…
View On WordPress
apachebench bug
while developing scala with play, i want to make an assessment of the project, currently this project is located in my VM (see here if you want to set a static IP on your VM Fushion) and we were communicating via http, i'm using ab as my tool. when you run ab test like this for example
$ ab -n 100 http://ip_addr:9000/
you will have this error apr_socket_recv: Connection reset by peer, it seems that the default ab binary on OSX Lion has a bug, to fix this, you'll have to grab an httpd source and compile it (httpd 2.3.4).
$./configure make
after that, copy the ab binary that you just compiled to /usr/sbin/, the ab binary is in support/
$sudo cp support/ab /usr/sbin/
run the benchmark again, when you get something like this, you are on the right track.
... Concurrency Level: 1 Time taken for tests: 0.890 seconds Complete requests: 100 Failed requests: 0 Write errors: 0 Total transferred: 663400 bytes HTML transferred: 655300 bytes Requests per second: 112.36 [#/sec] (mean) Time per request: 8.900 [ms] (mean) Time per request: 8.900 [ms] (mean, across all concurrent requests) Transfer rate: 727.91 [Kbytes/sec] received ...