
8 Jul
2011
8 Jul
'11
6:30 a.m.
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!