<div class="gmail_quote"><br><br><br><div class="gmail_quote"><div class="im"><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><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 class="im"><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><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></div><br>