> > > > What if I used a mysql database for the metadata running on the Linode > > server --- could I access it either from my laptop's camilstored, as > > well as from a camilstored running on the Linode server? (Which I > > would use when upload pictures from my Android phone, presumably.) > > Yes, that's probably the least optimized, albeit simplest option: > define only one index and let it be the index for both instances. But > as the index is just another blobserver itself (because it implements > the Go interfaces for it), I'm quite confident there are ways (just > with the low-level camlistore server config) to set up each instance > with its own index and keep them in sync. > > I should actually experiment with that one of these days. > > Yeah, you could put a replica storage <https://camlistore.org/pkg/blobserver/replica/> in front of each index, which also syncs to the remote index. If one instance isn't always addressable though, you'd still need to manually trigger a full scan sometimes. It seems like some kind of queueing storage wrapper that will tenaciously keep retrying, and persist the queue across restarts, could make this more robust.
I just went with manually triggering the scan when I was running in this configuration, since I only cared about eventual consistency. Cheers, > Mathieu > > > You received this message because you are subscribed to the Google > Groups "Camlistore" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "Camlistore" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- best, Eric eric.pdxhub.org <http://pdxhub.org/people/eric> -- You received this message because you are subscribed to the Google Groups "Camlistore" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
