Dwight
Dwight

Reputation: 1

How to test dynamodb with JMeter?

I'm relatively new to JMeter and I was wondering how one would go about load testing or performance testing on dynamodb using JMeter?

Upvotes: 0

Views: 1769

Answers (1)

Dmitri T
Dmitri T

Reputation: 168092

Are you sure you want to test DynamoDB itself? According to the Amazon DynamoDB project page:

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It's a fully managed, multi-region, multi-active, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second

So if you have a system which relies on the DynamoDB as the data tier it's highly unlikely that the DynamoDB will be the bottleneck so my expectation is that you should rather focus on your application code and if it appears that the DynamoDB is the bottleneck the only thing you will be able to do is to reach out to Amazon and explain your NFTs/ask whether it is possible to increase the performance.

With regards to the approaches, it depends on how does your application communicate with DynamoDB, ideally you need to exactly replicate the load pattern.

From JMeter perspective there are following options:

Upvotes: 2

Related Questions