-----BEGIN PGP SIGNED MESSAGE----- Patrick Horgan <patrick@Verity.COM> writes:
I did a distributed scheme for something else that had two levels, a master and a group of slaves. Only the slaves talked to the master. For this effort I think a variation of the idea would be better. Have all of the brutes contact the master, who will, in the first transaction assign them to the next slave in a round-robin fashion.
Why not just have the brutes pick a slave at random? Of course, you need to give them a complete list of slaves to choose from. But then the only difference between the master and the slaves will be that the master doesn't get any keyspace (it's got it all to begin with) and doesn't report any results upward. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBMEIKkhEcrOJethBVAQHjVQP/RGGxRkUp2WB1/yWngAIrGG3m7Xo6CG17 2sODkkDDGJYmGV+wDBLWObc7VS30MHrPfMLT7Cp7yI/AgYgDJrZ/1SRKw2OuVFqI kgL8hICRxqe76IvmlFAa/pFXVgYiu+WHsMlSEKYlpLa7T424HUdAD21Rc2Dvqioi zMqmhgdn22I= =QAi2 -----END PGP SIGNATURE----- -- David R. Conrad, ab411@detroit.freenet.org, http://www.grfn.org/~conrad Finger conrad@grfn.org for PGP 2.6 public key; it's also on my home page Key fingerprint = 33 12 BC 77 48 81 99 A5 D8 9C 43 16 3C 37 0B 50 Jerry Garcia, August 1, 1942 - August 9, 1995. Requiescat in pace.
Patrick Horgan <patrick@Verity.COM> writes:
I did a distributed scheme for something else that had two levels, a master and a group of slaves. Only the slaves talked to the master. For this effort I think a variation of the idea would be better. Have all of the brutes contact the master, who will, in the first transaction assign them to the next slave in a round-robin fashion.
Why not just have the brutes pick a slave at random? Of course, you need to give them a complete list of slaves to choose from. But then the only difference between the master and the slaves will be that the master doesn't get any keyspace (it's got it all to begin with) and doesn't report any results upward.
Better to include in the clients a list of all slaves and have the initial contact to a slave random, maybe weighted by network proximity, and either have the clients cycle to each slave with each ACK, or have the slave TELL the clients what server to ACK to next, based on slave to slave balancing. Slaves could tune their pointers to faster slaves and transparently handle crashed slaves The idea is to have all the slaves working evenly, assuming they are on equal nets and equal machines. If not then you can have the slaves tell clients to only point to a weaker slave once in a while. I dont think advertising the master is a good idea, better to have the slaves talking to it only. A backup mirror master would be worthwhile too. Web people would most likely have to communicate with the one central http server as you have to Keep It Simple for them. Comments? Mark
participants (2)
-
ab411@detroit.freenet.org -
Mark