llel writes/concurrency you REALLY
>>> should use databases. That's what they were invented for decades ago.
>>> Nowadays there a bigger choice than ever: Relational or non-relational
>>> (NOSQL), single host or distributed, web interface or not, disk-based or
>>
> each worker.
>
> On Monday, October 10, 2016 at 11:09:39 AM UTC-4, Zachary Roth wrote:
>>
>> Hi, everyone,
>>
>> I'm trying to save to a single file from multiple worker processes, but
>> don't know of a nice way to coordinate this. When I don't coor
Hi, everyone,
I'm trying to save to a single file from multiple worker processes, but
don't know of a nice way to coordinate this. When I don't coordinate,
saving works fine much of the time. But I sometimes get errors with
reading/writing of files, which I'm assuming is happening because
I'm having some trouble loading saved data, and I haven't had any luck in
looking for solutions online. I've reduced the code to as short of an
example as I could:
using HDF5, JLD
type Test
values::Vector{Integer}
end
x = Test([])
@save test.jld x
@load test.jld x
When I run the above