<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
you are right calling File.length this way is prolly not a good thing.<br>
You would be better of to add an ExecutionHandler in front of it which<br>
will offload the task to an other ThreadPool and so keep the<br>
</blockquote><div><br></div><div>It's a shame that it would make the examples difficult to grok but doing the right thing in the examples is probably the right thing.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
IO-Worker-Thread not blocked.<br>
<br>
The same is true for DNS stuff.<br>
<br>
There is also a async DNS provider called dnsjnio which use dnsjava.<br>
This allows you todo DNS queries in a non-blocking manner.<br><br></blockquote><div><br></div><div>I was looking at dnsjava (which seems to be as old as time) ... I'll have to take a look at this.</div><div><br></div>
<div>We have the need for a decent HTTP proxy for some internal stuff here at work and we aren't really happy with Node.js or tinyproxy or the other options.</div><div><br></div><div>Doing something like this in netty would be straight forward but I'd want it to do DNS, etc correctly.</div>
<div><br></div><div>Kevin</div></div><div><br></div>-- <br><div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:12pt;margin-left:0px">Founder/CEO <a href="http://Spinn3r.com" target="_blank">Spinn3r.com</a></p>
<div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Location: <b>San Francisco, CA</b><br>Skype: <b>burtonator</b></p></div></div></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
Skype-in: <span><b><span style="color:rgb(44, 44, 44)"><a>(415) 871-0687</a></span></b></span></p></div><br>