[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Irmin 1.0



Thanks for the encouraging answer. I will check the new API and try to build a prototype backend for my existing app.

Regards
Arnaud

Le 24 févr. 2017 11:11, "Thomas Gazagnaire" <thomas@xxxxxxxxxxxxxx> a écrit :
Hi,

> Congrats for the release and the efforts!

Thanks!

> Would it make sense to implement event sourcing (https://msdn.microsoft.com/en-us/library/dn589792.aspx) on top of irmin? I have an application which is based on this principle and I am looking for a robust storage solution.

Yes you can store an event stream in Irmin. The hard part is to design which operations you want to perform on this stream and to optimise the data-structure used to store the events so that these operations are fast. For instance, you can have a single key in your store and commit a new value for every new event: but then you will have to re-scan the whole history to rebuild your values. Or you can have multiple keys, or build an index of events, etc. It all depend on the use-case but Irmin should be flexible enough to pick the right structure.

I don't really know the design space of event sourcing, so I would be interested/curious how I can improve Irmin (if needed) to fit your use-cases.

Best,
Thomas

> Thanks
>
> Arnaud Bailly
>
> Le 24 févr. 2017 10:47, "Thomas Gazagnaire" <thomas@xxxxxxxxxxxxxx> a écrit :
> Hi all,
>
> I am very happy to announce that Irmin 1.0[1] is now released into opam. It's quite a big API change and I am planning to write more docs about it next week, but meanwhile you can browse the online doc[2] and examples[3].
>
> This release tried to take into account the feedback of early users regarding the creation of mergeable types, first-class support for immutable trees, the functor-heavy and complex API for creating stores. Hopefully all of this should be better/easier now, but please continue to send more feedback.
>
> Best,
> Thomas
>
> [1]: https://github.com/mirage/irmin/releases/tag/1.0.0
> [2]: https://mirage.github.io/irmin/Irmin.html
> [3]: https://github.com/mirage/irmin/tree/master/examples
>
>
> _______________________________________________
> MirageOS-devel mailing list
> MirageOS-devel@lists.xenproject.org
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.