[Haskell-cafe] Easiest to use NoSQL storage with Haskell?

Daniel Schoepe daniel at schoepe.org
Thu Nov 10 20:01:56 CET 2011


On Wed, 9 Nov 2011 20:34:11 +0300, dokondr <dokondr at gmail.com> wrote:
> I am wondering if Database.Persist can work with key/value storage such as
> Riak or SimpleDB where records are lists of key/value pairs and any two
> lists can have different keys?
> Is simple implementation of 'persistent'  based on files with key/value
> records possible?
> For example 'persistent' based on KyotoCabinet package?
> (http://hackage.haskell.org/package/KyotoCabinet)<http://hackage.haskell.org/package/KyotoCabinet>

As far as I know, persistent doesn't depend on any particular backend,
but as far as NoSQL-stuff goes, I think there's only persistent-mongodb
at the moment. I don't know how much work it is to create a new backend
(and if it's worth the effort in your case), but this looks like a good
place to start:

http://hackage.haskell.org/packages/archive/persistent/0.6.4/doc/html/Database-Persist.html#t:PersistBackend

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111110/e394958a/attachment.pgp>


More information about the Haskell-Cafe mailing list