From: Joel VanderWerf Date: 2008-07-02T01:33:26+09:00 Subject: Re: Threads and Ruby Charles Oliver Nutter wrote: > Since DRb operates over a network it's not reliable by definition; you > have to deal with the other end going away, etc. With COM, you're either > going over a network or using same-machine IPC mechanisms that are only > a bit more reliable (or loading things in-process, which is then back to > threads). And with sqlite, you need to synchronize writes and possibly > reads or you need to hope sqlite will do that for you (I don't know if > it does). And then you're into locking, atomicity, etc. Yes, sqlite does synchronize, but a potential problem is granularity: a writer gets an exclusive lock on the entire db. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407