A
Andrew Parlane
Hi all, I'm fairly new to Ruby but have learnt a lot in the last month
and am enjoying the diverse features it includes.
My problem is, we have a machine with multiple IP addresses, eth0,
eth0:0 eth0:1 ... and I need to be able to select which IP it uses at
runtime.
The reason for this is to be able to paralelize web page downloads from
a site that has a max of 1 hit per seccond per IP address.
The only solution I've thought of so far, is to set up the server with
several proxies and send all requests through that.
Is there a more elegant and efficient solution in ruby? Some way to
choose eth0 / eth0:0 for each request?
Thanks in advance for any replies.
Andy
and am enjoying the diverse features it includes.
My problem is, we have a machine with multiple IP addresses, eth0,
eth0:0 eth0:1 ... and I need to be able to select which IP it uses at
runtime.
The reason for this is to be able to paralelize web page downloads from
a site that has a max of 1 hit per seccond per IP address.
The only solution I've thought of so far, is to set up the server with
several proxies and send all requests through that.
Is there a more elegant and efficient solution in ruby? Some way to
choose eth0 / eth0:0 for each request?
Thanks in advance for any replies.
Andy