! MouseHole 1.3 on its way -- let's talk about it
mental@rydia.net
mental at rydia.net
Mon Dec 19 11:57:12 EST 2005
Quoting why the lucky stiff <why at hobix.com>:
> Well, now I am positive that Net::HTTPIO isn't the problem, since
> I rewrote it from scratch using NaHi's http-access2 library. To
> no avail. It was slightly slower and suffered the same problem.
>
> In addition, reverting back to Net::HTTP was overall worse as
> well.
I'm pretty sure this is mostly a thing with Ruby IO, and the recent
discussions on ruby-talk are underscoring this feeling for me.
It would be nice to have event-driven IO facility in Ruby like is
available in TCL or glib. I've written some pretty decent
proxies/servers (tho I never tried this sort of HTTP hackery) using
those, and it tends to work out a lot better performance-wise than a
bunch of blocking threads.
-mental
More information about the Mousehole-scripters
mailing list