Concurrency bugs in Lucene: How to fix optimistic concurrency failures

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. fray

    A controlled concurrency testing framework for the JVM

    Using Fray does not require knowledge about "deterministic testing" or "controlled concurrency." This is one of its goals: developers write normal concurrency tests, and Fray controls the execution behind the scenes.

    In fact, when we evaluate Fray, we collect all existing concurrency tests from Lucene, Kafka, and Guava, and running them under different thread inter-leavings can already reveal so many bugs. [1]

    [1]: https://github.com/cmu-pasta/fray/blob/main/docs/bugs.md

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Apache Cassandra

    Open source transactional distributed database. Linear scalability and proven fault-tolerance on commodity hardware or cloud infrastructure without compromising performance.

    We have something very similar[1] we use in the Apache Cassandra project to test complex cluster behaviours.

    We use exactly the same basic technique, using byte weaving to intercept concurrency primitives such as synchronized, LockSupport etc to pause the system thread and run them on some schedule.

    We only currently run (deterministic) probabilistic traces though, we can’t search a thread interleaving space.

    I have been meaning to publish it for broader consumption for years now, but there’s always something more important to do. It’s great to see some dedicated efforts in this space.

    [1] https://github.com/apache/cassandra/tree/trunk/test/simulato...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • More databases should be single-threaded

    1 project | news.ycombinator.com | 21 Dec 2025
  • Exploring the Journey of Apache Cassandra: Innovation, Funding, and Community Impact

    1 project | dev.to | 6 Mar 2025
  • Visualizing the Apache Cassandra Token Ring with Plotly

    1 project | dev.to | 27 Sep 2024
  • Build Your First App with JavaScript, Node.js, and DataStax Astra DB

    2 projects | dev.to | 25 Oct 2022
  • Baeldung Series Part 2: Build a Dashboard With Cassandra, Astra and CQL – Mapping Event Data

    2 projects | dev.to | 13 Sep 2022

Did you know that Java is
the 10th most popular programming language
based on number of references?