XP is just a number | |
PerlMonks |
Re^5: Parallel::Forkmanager and large hash, running out of memoryby pokki (Monk) |
on Apr 24, 2013 at 18:37 UTC ( [id://1030479]=note: print w/replies, xml ) | Need Help?? |
The relevant doc is here. The tl;dr: version is: any number of processes can read at the same time. When a process wants to write to the database, the engine is notified, waits for current readers to finish, then gives exclusive access to the writer process. No one can read while a write is occurring. When the write is finished, everybody can start reading again.
In Section
Seekers of Perl Wisdom
|
|