On Tue, 9 May 2000, Jeremy Howard wrote:
> Murali said:
> > As I understand from this discussion we have 2 methods involving creating a
> > session-server which will store all session data.
> > a) NFS mount a server which will store all session data
> > b) Have a DB in this server which stores this data. Through a network
> > connect to the DB and retrieve the info.
> 
> I don't think you have to take either approach to store all session
> specific data. When a session is started, simply use a redirect a go
> to a URL that includes the IP address of the machine that will serve
> this session. From then on, the session will always go to the same
> machine, and therefore the session data doesn't have to be centralised
> or distributed.

Unfortunately, that's not a high-availability solution.  If the machine
you sent that user to crashes, the user's session will be lost.  Most
people who have enough traffic to need a cluster of machines also care
about sessions surviving individual machine problems.

- Perrin

Reply via email to