users@grizzly.java.net

Grizzly + Proxy

From: Alan Williamson <alan_at_blog-city.com>
Date: Thu, 20 Dec 2007 14:51:41 +0000

Maybe somebody can help me here with a small problem.

I would like to use Grizzly as a front-end proxy server.

However, when i enter the:

    public void service(Request req, Response res)

method, then that is me using up a thread until i complete that request,
starving others from processing. Really what I want to do, is open up a
connection to a remote server, and relinguish that thread back to the
main pool, as it waits on IO from the remote server.

So looking for a way to manage the Continuation Pattern at this level.

Thoughts?

-- 
Alan Williamson
  "a wiki -and- a blog" @ http://www.Blog-City.com/
  b: http://alan.blog-city.com/