Jetty6 proxy handler

View: New views
5 Messages — Rating Filter:   Alert me  

Jetty6 proxy handler

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

I read some messages about the upcoming Jetty proxyhandler.

Is this a handler that will enable me to write a reverse proxy? I am using
Pound as a HTTP load-balancer at this point but I need something where I
have more detailed control over which backend receives what.

In particular I need a reverse proxy that selects a beackend based on:

-the HTTP URL (URI?)

-the HTTP Host header

-the presence/absence of a HTTP session cookie

The latter is the most tricky: I need sessions to stick to the backend and I
need to be able to "soft-turn-off" a backend so it will continue serving
existing sessions but will not be selected for new sessions. This is
something Pound can not do.

Is this anywhere near what the upcoming ProxyHandler is targeted at? If not
I may need to start for a Pound replacement but I would prefer to have
complete control over the proxy logic.

Thanks in advance,

Regards,

Silvio Bierman


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

Re: Jetty6 proxy handler

by Greg Wilkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Silvio Bierman wrote:
> Hello all,
>
> I read some messages about the upcoming Jetty proxyhandler.

yes it is still upcoming... struggling to find time, but it is near top
of the priority heap.

> Is this a handler that will enable me to write a reverse proxy? I am using
> Pound as a HTTP load-balancer at this point but I need something where I
> have more detailed control over which backend receives what.

yes

> In particular I need a reverse proxy that selects a beackend based on:
>
> -the HTTP URL (URI?)

sure

> -the HTTP Host header

yep

> -the presence/absence of a HTTP session cookie

no problem

> The latter is the most tricky: I need sessions to stick to the backend and I
> need to be able to "soft-turn-off" a backend so it will continue serving
> existing sessions but will not be selected for new sessions. This is
> something Pound can not do.

have you looked at mod_proxy_balancer?

even still, that will not handle async requests like jetty will do.

> Is this anywhere near what the upcoming ProxyHandler is targeted at? If not
> I may need to start for a Pound replacement but I would prefer to have
> complete control over the proxy logic.

Doing smart proxying is exactly what it is targetted at.

I just wish I could find time to finish it!

> Thanks in advance,
>
> Regards,
>
> Silvio Bierman
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

Parent Message unknown Re: Jetty6 proxy handler

by Silvio Bierman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Greg,

Great stuff, I can hardly wait. If you need someone to try it out before
going rc I would be happy to give it a shot...

BTW: I switched our ASP platform (currently 4 debian bigmem servers) from
5.1 to 6.0.2. Apart from the HttpSession#setAttribute issue I mailed about
(and worked around by setting it to some dummy value first) there where no
issues. It is working like a charm, throughput seems a lot better during
heavy load but that is just gut feeling. Looks like the
SelectChannelListener is a major step forward.

Thanks for the great software and excellent support!

Kind regards,

Silvio Bierman
Jambo software


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

Re: Jetty6 proxy handler

by Denis Mercier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Silvio,

when do you think the proxyhandler will be available ?

Denis.





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss

Re: Jetty6 proxy handler

by Greg Wilkins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Denis Mercier wrote:
> Hi Silvio,
>
> when do you think the proxyhandler will be available ?

mmmmm   hard to say.  there is a bit more work to be done yet - but not
tooo much.

The problem is that every time we put a resource on it - they get sucked
off onto something else within a few days and progress stalls again....

It is just a matter of finding time/resources or a client to drive
this to completion.

regards


--
Greg Wilkins<gregw@...>  US: +1  3104915462   IT: +39 3349267680
http://www.webtide.com           UK: +44(0)2079932589 AU: +61(0)417786631

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jetty-discuss mailing list
jetty-discuss@...
https://lists.sourceforge.net/lists/listinfo/jetty-discuss