[albatross-users] Welcome to Albatross-users

Andrew McNamara andrewm at object-craft.com.au
Mon Mar 4 21:14:33 EST 2002


>>   - a new file based session recorder to supplement the hidden field
>>     and session server recorders,
>
>Sounds good. Will the file-based session server support "migration" of
>user sessions from one server to another eg if there is a "farm" of Web
>app servers each accessing a shared file-based session server, then a
>round-robin DNS can be used to route each HTTP request to the next
>server and that server will load the correct application state.

No, it's really a simpler alternative to running a session server. The cgi
itself is responsible for writing the pickled sessions to the filesystem.
The implementation was kept deliberately simple and portable - it should
work under windows (although this hasn't been tested). This does mean
that there is no provision for sharing the sessions between servers
(the file access is *not* NFS safe, because the techniques used would
upset windows, and there are better alternatives anyway).

As Dave said, you can run a single session server, and have multiple
front ends hit this server (since the server protocol is TCP).

Currently the session server is not persistent - if you restart it, you
lose all the currently open sessions. Future work will add some sort of
presistent store (maybe libdb).

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/



More information about the Albatross-users mailing list