[Haskell-cafe] Fwd: Datomic-like db for Haskell?

Bardur Arantsson spam at scientician.net
Fri Dec 23 18:54:02 UTC 2016


On 2016-12-23 18:41, Ovidiu Deac wrote:
>       * Another option is to run an insertion-only relational model on
>         really any database system you want like PostgreSQL.  There is
>         nothing about preserving history that needs special handling to be
>         efficient.
> 
> I assume that some sort  of structural sharing is needed once the
> collections grow above a certain size. Also some support for caching
> would be nice.

A similar option might be something like

   https://github.com/BardurArantsson/cqrs

*However*, I'm not sure I'd actually recommend using my particular
library at this time. I'm probably going to be reworking it (slowly)
quite a bit and currently there's no support for persistent[1] queries
(see the CQRS/ES description linked from the README).

Still, the ideas are sound and pretty simple. (See the PostgreSQL
package for exactly what queries CQRS/ES maps to.)

[1] As in: stored on disk.

Regards,




More information about the Haskell-Cafe mailing list