Re:Is Haskell a Good Choice for Web Applications? (2009)
by ps8ed on Friday December 02, 2011 @05:03AM
(#3303413)
Also, if you aren't wedded to SQL, Haskell now has acid-state, a memory resident database written in Haskell (formerly happstack-state).
[ Parent
| on HN ]
Re:Is Haskell a Good Choice for Web Applications? (2009)
by gujk on Friday December 02, 2011 @11:03AM
(#3304364)
How does a memory resident database satisfy the D in ACID?
Re:Is Haskell a Good Choice for Web Applications? (2009)
by jfoutz on Friday December 02, 2011 @01:29PM
(#3305060)
IIRC happstack-state has a journaling system. You don't have the state on disk, but you can reconstruct it. you could also journal to a remote machine for a live failover.
Re:Is Haskell a Good Choice for Web Applications? (2009)
by scottostler on Friday December 02, 2011 @01:28PM
(#3305054)
Presumably it writes to a transaction log, and is memory-resident in the same sense that Redis is. Which is to say that the dataset is kept entirely in memory, but also has a persistent representation on disk.