I have used the normal thread group of 40 threads,180000 of throughput, and expected TPS is 3000.., But , Resulted only 2750 tps., How can I improve the TPS? I have tried the concurrency thread group along with the shaping timer combination.. Can u pls guide me..,Thanks in Advance.
How to obtain the expected TPS., which is calculated by parameters value?
2.1k Views Asked by Gunasekari At
2
There are 2 best solutions below
3
Dmitri T
On
- First of all your application must be able to handle such a load. I don't know what your
180000 of throughput,stanza means,if you put it to the Constant Throughput Timer be aware that:
it is precise enough on "minute" level
it can only "pause" JMeter to "limit" its throughput to the given value
In general you can reach out 3000 TPS with 40 users only if 1 user will make 75 requests per second which means that your application response time should be below 75 milliseconds.
If response time will be higher - you won't be able to reach 3000 requests per second with 40 users.
- Also JMeter should be able to send requests fast enough, so make sure to follow JMeter Best Practices and if this is not sufficient consider using Distributed Testing
More information: What is the Relationship Between Users and Hits Per Second?
Related Questions in PERFORMANCE
- Upsert huge amount of data by EFCore.BulkExtensions
- How can I resolve this error and work smoothly in deep learning?
- Efficiently processing many small elements of a collection concurrently in Java
- Theme Preloader for speed optimization in WordPress
- I need help to understand the time wich my simple ''hello world'' is taking to execute
- Non-blocking state update
- Do conditional checks cause bottlenecks in Javascript?
- Performance of sketch drastically decreases outside of the P5 Web Editor
- sample query for review for improvement on big query
- Is there an indexing strategy in Postgres which will operate effectively for JOINs with ORs
- Performance difference between two JavaScript code snippets for comparing arrays of strings
- C++ : Is there an objective universal way to compare the speed of iterative algorithms?
- How to configure api http request with load testing
- the difference in terms of performance two types of update in opensearch
- Sveltekit : really long to send the first page and intense CPU computation
Related Questions in CONCURRENCY
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- Multiple Processes, Multiple Processors, Single Priority Queue - Java Thread-Safe and Concurrency -
- Efficiently processing many small elements of a collection concurrently in Java
- Zig Concurrency Vs Erlang Concurrency, is Zig less efficient than Erlang?
- Two Update statements on a row are running simultaneously with no locking in MYSQL
- How to Identify Specific Transaction Anomalies in a Given Schedule?
- How can I improve concurrent message processing with Google Task Queue?
- Why does the following program printf "thread 1 exists" twice in WSL2?
- ModelState.IsValid is false when its Data Model Concurrency Token is non nullable
- .NET A second operation was started on this context instance before a previous operation completed
- Can someone tell me what's wrong with mi Task.await?
- I am a beginner. More than problems, I have ideas I share my code ;D. NO RULES
- Understanding Potential Deadlock in Resource Pool Implementation Described in "Go in Action"
- Why are pre-allocated stacks expensive, given 64-bit virtual memory?
- Concurrency issues with server-sent events in Python
Related Questions in JMETER
- i have extracted some values using regex in beanshell postprocessor now i have to pick a random value and store it into a varaible?
- Jmeter Java DSL - getting issues when using rpsThreadGroup
- How to configure api http request with load testing
- Jmeter resolution variable with remote
- Need to read different line from different files using CSV read function in JMeter
- How to enter user input in jmeter console (without doing parameterization)
- Optimal way to replace different parts of a structured string(XML) with random string values of different lengths in a JMeter JSR223 Samper (groovy)
- Jmeter query about script recording
- In Jmeter, for ISO8583 Sampler, how can I read the data from CSV file?
- Use JMeter to simulate receiving websocket broadcasts similar to okhttp3
- is their any industry standard for performing 300K load test (Thermostat->HVAC system)?
- How to perform multiple HTTP requests with unique IP addresses from my local
- Jmeter => How to add a jmx file in the transaction controller
- How to send huge JSON with PDF encoded over HTTPS in JMeter?
- How can I create a random(seed) function using a custom seed for Jmeter?
Related Questions in THROUGHPUT
- Difference between Summary Report Bytes/sec and Bytes Throughput Over Time plugin JMeter
- Influential linux settings on socket behaviour and performance
- How to calculate the throughput of an endpoint in Spring Boot?
- Configuration to allow more BPEL throughput
- Throughput for GATT read, write, and notify
- Improving throughput of Kafka consumer pull when using multiple consumers
- Does the cost of writing N records into a DynamoDB table is the same, irrespective of the write duration?
- How i can calcute the dealy and the throput in veins
- Can I calculate throughput via google benchmark library in C++
- Multiprocessing pool map adds extra throughput time, how to reduce it?
- MLRun, Issue with view to REST API throughput
- Microsoft Graph API - Throttling (2023)
- Azure Event Hub partitions Throughput
- EFS is very slow - throughput utilization reached 100%
- Logstash very low throughput with RabbitMQ
Related Questions in TPS
- How can I use pulp to solve a TPS problem?
- Tomcat 9 Thread issue - how to increase TPS in tomcat
- Average TPS calculation for lambda
- Calculate Average transaction per second of aws lambda using cloudwatch metrics
- Consume external API keeping tps in consideration
- Which ML model does the WebSpeech API use?
- Branch and Bound function only returning first cycle in Python
- CloudSQL Postgress (11 or 14) very slow performance and TPS on good instance configuration
- How to analyze jmeter TPS graph
- Calculate expected CPU core utilization on production traffic from CPU utilization of one POD
- How to obtain the expected TPS., which is calculated by parameters value?
- Transaction per second Jmeter
- I have a Problem with my Minecraft::tickEntity on my Minecraft Server
- What's a good mechanism to store device config information
- Bulk delete records from .TPS database using OBDC Topspeed driver or Topscan
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
TPS or the throughput is controlled by sending the required number of requests to the target server in a unit time (seconds, minutes, hours, etc)
It is not easy or good practice to control the throughput by changing the number of threads. When the server gets slow the throughput gets low and vice-versa.
You need to introduce delays when the server responds faster and introduce more threads when the server responds slower. It is not easy to achieve the desired throughput by setting the thread count.
Please note that
JMeter has a number of ways to achieve the desired throughput by introducing delays to the requests.
Using Timers
In the above cases, you need to ensure a sufficient number of threads are available to generate the required throughputs. This solution is not efficient if a large number of threads are created than the required number of threads.
The best approach would be the test should create additional threads on-demand and introduce delays between requests as required.
In JMeter, you can achieve this with Concurrency Thread Group along with the Throughput Shaping Timer.
This video demonstrate the use of the controllers.