I have a bad situation where several Perl processes are writing and reading the same SQLite3 database at the same time.
This often causes Perl processes to crash, because two processes will write at the same time, or one process will read from the database and the other will try to update the same record.
Does anyone know how I could coordinate several processes to work with the same sqlite database?
I will work on the transition of this system to another database engine, but before I do this, I somehow need to fix it so that it works as it is.
source share