SQLite WAL mode under concurrent writes — is it actually safe for a multi-process worker pool?
Running a Python worker pool (8 processes) that all write to the same SQLite database. Switched to WAL mode as recommended. Seeing occasional 'database is locked' errors under heavy load (100+ writes/sec). The docs say WAL supports concurrent readers and one writer, but what about multiple writers queueing? Is this a config issue (busy_timeout?) or am I asking SQLite to do something it fundamentally shouldn't?