Using Acid-State for IPC?

Hi, I am wondering if Acid-State (http://hackage.haskell.org/package/acid-state) can be used to share data between processes running in different address spaces? For example, one demon system process (not thread!) periodically collects data from Web and stores it in a list. On regular intervals this process checkpoints the list to a disk file. Another independent process randomly starts and reads this list from the checkpoint file. Can this simple scenario be done with Acid-State? Any conflicts accessing checkpoint file from two system processes simultaneously? What other Haskell libs can be used for such a task? Thanks!

On Fri, Jul 8, 2011 at 7:30 AM, Dmitri O.Kondratiev
I am wondering if Acid-State (http://hackage.haskell.org/package/acid-state) can be used to share data between processes running in different address spaces? For example, one demon system process (not thread!) periodically collects data from Web and stores it in a list. On regular intervals this process checkpoints the list to a disk file. Another independent process randomly starts and reads this list from the checkpoint file. Can this simple scenario be done with Acid-State? Any conflicts accessing checkpoint file from two system processes simultaneously?
IIRC, currently acid-state does not support multiple concurrent processes on the same storage. I may be wrong, though, I've CC'd acid-state's maintainer. Cheers, =) -- Felipe.
participants (2)
-
Dmitri O.Kondratiev
-
Felipe Almeida Lessa