<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>stress testing on seth-shi</title><link>https://sethix.com/tags/stress-testing/</link><description>Recent content in stress testing on seth-shi</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 06 Jan 2021 13:00:27 +0800</lastBuildDate><atom:link href="https://sethix.com/tags/stress-testing/index.xml" rel="self" type="application/rss+xml"/><item><title>Today Completed Refactoring All Internal APIs from PHP to Go</title><link>https://sethix.com/posts/2021010613/</link><pubDate>Wed, 06 Jan 2021 13:00:27 +0800</pubDate><guid>https://sethix.com/posts/2021010613/</guid><description>Previous API Request Flow User opens APP and requests business API Business API requests recommendation algorithm (with fault tolerance) Recommendation algorithm requests internal service Internal service provides business interface data to recommendation algorithm (e.g., manually configured recommendations) user -&amp;gt; API -&amp;gt; recommend service -&amp;gt; inner service user &amp;lt;- API &amp;lt;- recommend service &amp;lt;- inner service Originally built with Laravel, both API and inner service faced a single-point bottleneck. While API servers could scale horizontally, the inner service remained single-node.</description></item><item><title>Slim - PHP - Laravel Performance Test</title><link>https://sethix.com/posts/2019112515/</link><pubDate>Mon, 25 Nov 2019 15:32:13 +0800</pubDate><guid>https://sethix.com/posts/2019112515/</guid><description>Test Environment Local Configuration (Win 10 i7-8565U 16G)(Nginx 1.15.11)(MySQL 5.5.62) Cloud Server (1 Core 2G)(Nginx 1.16.1)(MySQL 5.5.62) Performance Results Software Database Model Local QPS Cloud Server QPS Laravel 6.3.0 (with session) ORM 12.11 5.15 Laravel 6.3.0 (with session) PDO 13.85 5.31 Laravel 6.3.0 ORM 13.06 5.69 Laravel 6.3.0 PDO 13.98 5.89 Slim 4.3.0 PDO 41.04 43.65 PHP 7.1.9 Native PDO 52.85 51.81 Notes All tests performed using ApacheBench (ab) with command:</description></item><item><title>Stress Testing with JMeter</title><link>https://sethix.com/posts/2018120411/</link><pubDate>Tue, 04 Dec 2018 11:56:11 +0800</pubDate><guid>https://sethix.com/posts/2018120411/</guid><description>I previously used ab (ApacheBench), the built-in stress testing tool from Apache, but found it less convenient. After some research, I discovered a tool called JMeter.
Installing JDK Since JMeter is developed in Java, we need a Java Runtime Environment (JRE). For simplicity, we&amp;rsquo;ll install the full JDK (Java Development Kit):
Visit the official Oracle download page:
https://www.oracle.com/technetwork/java/javase/downloads/index.html Select JDK download:
JDK Download Accept the license agreement and download the appropriate version for your OS (Windows in this case):</description></item></channel></rss>