0

when i test my code with jmeter my average respond time on the bun with cache is higher that node.js that dont, i using 100 thread with period 1 second, but it seems the standard deviation is better on bun with cache, is that a good thing or something wrong on my code?

2 http is using bun and cache and 3 is bun without the cache i already tried using bun with cache and it's faster too than using cache

2 http is using bun and cache and 3 is node.js without cache what i know isn't cache supposed to be faster?

0

1 Answer 1

0

I don't think this test is representative, normally in order to detect performance problems you should:

  1. Increase the load gradually, this way you will be able to correlate increasing load with throughput, response time and the number of errors
  2. Let the test to run for several minutes
  3. It might be also a good idea to decrease the load gradually as well to see whether your system gets back to normal

Depending on how caching is implemented it depends on the caching strategy, maybe it works only for "returning" users and you have 100 unique ones.

Try out a longer test and compare results using charts from HTML Reporting Dashboard

Sign up to request clarification or add additional context in comments.

1 Comment

thank you for recomended HTML Reporting Dashboard, It's such a great tool, but turns out my problem are my client side server run double on my local computer and docker making it double the workload, but thank you for your suggestion

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.