Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Strange IO + concurrency issue

by vsespb (Chaplain)
on Sep 28, 2013 at 17:16 UTC ( #1056154=note: print w/replies, xml ) Need Help??


in reply to Re: Strange IO + concurrency issue
in thread [SOLVED] Strange IO + concurrency issue

So potentially many children all writing to the same file at the same time.
See above Re^2: Strange IO + concurrency issue - write-to file is actually protected (although it's extremely unclear in code). What was not protected is file copy (where destination file is unique)
It's usually better to get each child to write to its own temp file
Same, in this case there are no concurrent writes to same file (even copy writes to unique file).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1056154]
help
Chatterbox?
[erix]: I'm waiting for that zipfile-reading to show up in DBD::SQLite :)
[Corion]: hippo, erix: That sounds promising :)
[Corion]: erix: I misinterpreted that. It only allows to read a zipfile like a table, not reading a database from a zipfile :-(
shmem is grabbed by nostalgia for Bolivia
[erix]: aah, ok.
[erix]: oh well, in each life some rain must fall

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2018-02-23 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (302 votes). Check out past polls.

    Notices?