activerecord-jdbc-adapter
activerecord-jdbc-adapter copied to clipboard
Performance bug with JDBC/sqlite driver under multi-threaded conditions
This is transferred from jruby/jruby#3398 by @chuckremes.
The original issue seems to be that the jdbc-sqlite3 driver is compiled with a very conservative threading model, which prevents even isolated databases from being accessed concurrently. After some discussion, @patcheng figured out the right combination of build flags to be safe but still fast. We will work with @xerial via xerial/sqlite-jdbc#59 to get a release out, and then we'll need to release an update for the jdbc-sqlite3 gem.
seems it got accepted by sqlite-jdbc ... will be waiting for 3.13 to take it for a spin