On 13 October 2014 14:10, Ewan Slater ewan.slater@gmail.com wrote:
OK. I would try to use Coherence or Hazelcast to implement your use case. Both support range queries and indexing. Hazelcast is open source, Coherence is not.
OK, I've looked a bit more into this (although not got as far as trying anything).
Coherence/Hazelcast look like great tools that I should probably learn to use at some point. Indeed I need to start playing with NoSQL in general some day just to have it in the mental toolbox for when it's needed.
But the more I look at them the less they look like the right was to share a small amount of data between (small, underpowered, low memory) hosts?
The other thing I'm finding is that everything is based around high availability clusters, rather than the "simpler" concept of just making sure that all the boxes have the same data, which is really all I want.
I'm now looking at things like btsync and syncthing to keep a directory synchronised between boxes (and, optionally, to an external backup server, although the mechanisms will be P2P with no "master"). The issues there are with speed (eg by default syncthing will synchronise the directories every minute, and although I can reduce that to 1s I don't feel like it "wants" me to be doing that), and then obviously with file locking. I'm sure that something based around memcache would be better suited though, if only I can get my head around it!