![]() ![]() Let’s create a folder to where we can download and unpack one of the latest Cassandra distributions: Cassandra Installationįor our example, we are going to install Cassandra on one single node (the test machine is based on Mac OS but all steps should be almost the same even if you are using some other UNIX platform). First of all, let’s prepare our test environment. The plugin became unusable immediately.Ī new solution was required, and that solution is Groovy. ![]() This solution worked very well until the moment the Cassandra thrift API (which is used in that developed plugin) became deprecated (more details in this article) and the Netflix plugin for Cassandra didn’t have any recent commits. The Netflix team developed the JMeter plugin for Cassandra, which extends JMeter default capabilities and provides new samplers to perform direct requests to the Cassandra database. The first step to implementing Cassandra performance testing in JMeter was done by Netflix, who (after detailed benchmarking) decided to use Cassandra as one of their main backend data sources, beginning about 5 years ago. Cassandra Performance Testing With JMeter This is the main reason we love JMeter so much - it allows us to perform automation tests against almost any source, and Cassandra is not an exception. This solution works great if you need to test a Cassandra database separately and concentrate on database testing only.īut what if you want to run your Cassandra performance testing scenarios in parallel with existing load tests, and to orchestrate them all from one place? After all, using separate tools for each database creates an overhead. But what is the most important aspect of a highly scalable database with huge data set inside? Right, of course, it’s performance!Ī few years ago, DataStax (a data management software vendor, powered by Cassandra) developed an easy-to-run tool for performance testing Cassandra clusters, called cstar_perf. ![]() Cassandra is designed to be highly scalable and to be able to manage a very large amount of structured data. No worries, JMeter is a very flexible performance testing tool, which can be expanded with a variety of different plugins and flexible scripting capabilities.Ĭassandra is one of the most popular distributed databases from Apache. But what if you need to test NoSQL databases like Cassandra? There is no Cassandra request sampler in default JMeter. By using the JDBC request sampler you can test many databases like Oracle or MySQL. Many test engineers use Apache JMeter™ as a standalone test solution to test database performance. Significant load testing over several trial is the best way to discover issues with a data model in your application
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |