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

Re: [MirageOS-devel] IndexedDB Irmin backend



> I've replaced my HTML Storage Irmin backend with an IndexedDB one:
> 
>  https://github.com/talex5/cuekeeper/blob/master/js/irmin_IDB.ml
> 
> Unlike HTML Storage, IndexedDB isn't limited to 5 MB. It also supports
> transactions, so updates should no longer be racey.
> 
> However, IndexedDB doesn't support notifications. My backend therefore
> also writes the current branch head hash to a single HTML Storage key
> so notifications work (browser tabs remain synchronised).

Interesting thanks! When things get more stable I think it would be interesting 
to move all the Irmin JS backend in a separate project.

Thomas

(and I'm still working on fixing the missing unwatch function)
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://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®.