Perlbal - Sticky Sessions

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > May 2007 > Sticky Sessions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Sticky Sessions
Oezcan Acar

2007-05-06, 7:11 pm

Hi,

how does Perlbal handle sticky sessions? I set up perlbal as reproxy with=
2 resin backend webserver. The application requires login. Each time a r=
equest arrives at perlbal, it is redirected to another backend server. Us=
er session is bound a certain backend server, so each request must be red=
irected to the same backend server. How do you handle this at livejournal=
Brad?

Thanks.



--=20
Mit freundlichen Gr=FC=DFen

___________________________

=D6zcan Acar, Dipl. Inf(FH)
Vorstand
Smart Web Business AG

Im Niederfeld 8
65462 Gustavsburg

+49 171 57 33 66 5
acar@unitedinter.net


André Cruz

2007-05-06, 7:11 pm

Livejournal does not need sticky sessions.

But I sent a patch some days ago to this list giving Perlbal the =20
ability to choose the backend according to a cookie or hook. This can =20=

be used to enable sticky sessions.

Hope this helps.

Andr=E9

On May 6, 2007, at 11:20 PM, Oezcan Acar wrote:

> Hi,
>
> how does Perlbal handle sticky sessions? I set up perlbal as =20
> reproxy with 2 resin backend webserver. The application requires =20
> login. Each time a request arrives at perlbal, it is redirected to =20
> another backend server. User session is bound a certain backend =20
> server, so each request must be redirected to the same backend =20
> server. How do you handle this at livejournal Brad?
>
> Thanks.
>
>
>
> --=20
> Mit freundlichen Gr=FC=DFen
>
> ___________________________
>
> =D6zcan Acar, Dipl. Inf(FH)
> Vorstand
> Smart Web Business AG
>
> Im Niederfeld 8
> 65462 Gustavsburg
>
> +49 171 57 33 66 5
> acar@unitedinter.net
>



Ask Bjørn Hansen

2007-05-06, 7:11 pm


On May 6, 2007, at 3:20 PM, Oezcan Acar wrote:

> how does Perlbal handle sticky sessions? I set up perlbal as
> reproxy with 2 resin backend webserver. The application requires
> login. Each time a request arrives at perlbal, it is redirected to
> another backend server. User session is bound a certain backend
> server, so each request must be redirected to the same backend
> server. How do you handle this at livejournal Brad?


Don't store the session state locally on one box.

http://develooper.com/talks/
http://develooper.com/talks/Real-Wo...QL-2007-r12.pdf

http://danga.com/words/2007_yapc_asia/yapc-2007.pdf


- ask

--
http://develooper.com/ - http://askask.com/



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com