[tor-talk] Load Balancing/High Availability Hidden Services

MacLemon tor at maclemon.at
Wed Mar 11 15:27:51 UTC 2015


Hoi!

I'm looking into ideas for creating “load balanced” or “high availability” hidden services. Mostly pertaining to web servers serving large-ish static files. (Let's say 5-100MB each.)

Load balanced as in not all requests end up at the same box to speed up downloads.
High availability as in the service is still available if one box goes down or is taken offline for maintenance.

So, not exactly your usual distributed-cluster setup.


From what I understand it would not make sense to run the same HS Key on multiple boxes since the descriptors would overwrite each other every few minutes.

I don't think one can do something like Round-Robin DNS with HS.

So the only way I can imagine this to work is a central redirection node that know about all the nodes and more or less intelligently/randomly 302 redirects each file request to a known-to-it server.

This still leaves a single-point-of-failure in form of the redirection server but would at least distribute the traffic load across multiple servers and cope for nodes coming and going.

Has anyone done something like this?

Thanks a bunch!
MacLemon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20150311/9a25e67d/attachment.sig>


More information about the tor-talk mailing list