Show HN: Fray: A controlled concurrency testing framework for the JVM
4 points by aoli-al 4 months ago | 1 commentHi HN,
I’m excited to share Fray, a controlled concurrency testing framework for the JVM. Fray systematically explores different thread interleavings in your concurrency tests, helping to uncover tricky race conditions. It can also deterministically reproduce concurrency-related failures, making debugging significantly easier.
For a deep dive into how Fray is designed, check out our technical report: https://arxiv.org/abs/2501.12618
The Lucene team recently wrote about how Fray helped them diagnose and fix a challenging concurrency bug: https://www.elastic.co/search-labs/blog/optimistic-concurren...
Would love to hear your thoughts and feedback!
- Senorsen 4 months agoSeems so cool and hardcore, for both industry and academia wise. I wish I could have this nice thing in several years ago when I was using Java with some concurrent bugs.