The Process of Performance Problem Fixes with RavenDB
Join the DZone community and get the full member experience.Join For Free
this post isn’t so much about this particular problem, but about the way we solved this.
we have a number of ways to track performance problems, but this is a good example, we can see that for some reason, this test has failed because it took too long to run:
in order to handle that, i don’t want to run the test, i don’t actually care that much about this. so i wanted to be able to run this independently.
to do that, i added:
this opens us the studio with all the data that we have for this test. which is great, since this means that we can export the data.
that done, we can import it to an instance that we control, and start testing the performance. in particular, we can run in under a profiler, to see what it is doing.
the underlying reason ended up being an issue with how we flush things to disk, which was easily fixed once we could narrow it down. the problem was just getting it working in a reproducible manner. this approach, being able to just stop midway through a test and capture the full state of the system is invaluable in troubleshooting what is going on.
Published at DZone with permission of Oren Eini, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
How To Manage Vulnerabilities in Modern Cloud-Native Applications
Cypress Tutorial: A Comprehensive Guide With Examples and Best Practices
Using OpenAI Embeddings Search With SingleStoreDB
Tactics and Strategies on Software Development: How To Reach Successful Software [Video]