On 13 October 2014 16:26, Ewan Slater ewan.slater@gmail.com wrote:
It wouldn't be the first time I'd suggested a sledgehammer to crack a nut ;-)
Or the first time I'd used one! But the Pi might be a bit puny to withstand the attack!
(Aside: Actually I'm planning to use these: https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXino-LIME/open-source... .. rather than the Pi; quite a bit more powerful and a bit more "industrial" but still only 33 Euros, and fully open source design.)
It depends if the file sync option gives you what you want? Sounds like deep down you feel that's a bit clunky.
Yep, that's my fear, but it feels simpler than the data centre options.
If you're going to use an external server why not just put a (lightweight) database on that? Or could you use cloud storage / database?
I don't want to *need* a central server, and in particular I don't want to need an Internet connection. (I do want to be able to use one, just not require it.)
Or, how about using a pub / sub model? You could have each node:
- publish it's own events and listen to the events of all the others
- write all events it's own & others events to a file (or files)
which is it's view of the data
I looked at this but again the concept seems more geared to having a more known infrastructure.
I want to end up with something where any of the individual boxes can be switched off without affecting the overall system, and that I can add another box somewhere to add something extra (eg monitor a temperature in a different location) without a dependence on one of the boxes being a "master". I wouldn't be trying if I weren't convinced the technology is all there to be used, though!
I have today found: http://www.consul.io/ ... which looks promising, and pretty lightweight.
Mark