+1 for what said Josiah, and I really have nothing to add if not the
perspective from the point of view of development and roadmap, that
is, why Redis is not likely at the moment (but I'm a famous
idea-changer...) to implement it.
1) It's a network layer problem, it's a shame to solve everything
inside Redis, there are good enough solutions after all, from VPN
software that is trivial to deploy and uses the tun/tap interface, to
user-level proxies (like ssh), and so forth.
2) Most over-the-wan problems of this kind also *require* encryption
otherwise your data is traversing the internet without protection.
3) Replication over the WAN is not a very common problem, so the cost
of a proxy / VPN setup is not high globally speaking. I mean, if you
need it, you can afford implementing that in your servers as you are
doing interesting stuff like cross-datacenter replication / disaster
recovery or alike.
Now since implementing encryption is remarkably harder if we don't
want a simple symmetric encryption, this means we need to link against
an ssl library, and then implement certificate handling, new config
options, and so forth. It's really not worth it IMHO.
Cheers,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org
Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defence
against complexity.
— David Gelernter