[Haskell-cafe] Using Acid-State for IPC?

Felipe Almeida Lessa felipe.lessa at gmail.com
Fri Jul 8 16:01:32 CEST 2011


On Fri, Jul 8, 2011 at 7:30 AM, Dmitri O.Kondratiev <dokondr at gmail.com> wrote:
> 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.



More information about the Haskell-Cafe mailing list