6

I like to run simulated test-clients that act as if e.g. 1000 clients execute tasks at the same time on a mongodb and see how the server stands. Together with profiling tools I like to be able to identify bottlenecks and fix them before they become a problem.

What tool would you to suggest to run simulated tests on an API Level? What profiling tool would you suggest to identify bottlenecks, free tools are currently preferred.

Michael Hoeller
  • 22,018
  • 10
  • 39
  • 66
  • I narrowed the tools down and currently I tend to user either [Gatling](http://gatling.io/) or [JMeter] (http://jmeter.apache.org/). – Michael Hoeller Sep 08 '16 at 09:30

1 Answers1

13

After quite some research I came to the point to use jmeter to do massive REST calls. That way I can create a controlled load on the database. The profiling I do with node-inspector and native mongodb profiling.

For those who like to do a more "direct" test to the DB John Page's POCDriver (simulated client): https://github.com/johnlpage/POCDriver might be interesting.

Profile visualisation (from log files) can be done with: https://github.com/rueckstiess/mtools

Hope that helps :-)

Michael Hoeller
  • 22,018
  • 10
  • 39
  • 66