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

[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).


-- 
Dr Thomas Leonard        http://0install.net/
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

_______________________________________________
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®.