On Mon, Mar 1, 2010 at 12:29 PM, John Pletka <[email protected]> wrote:

> I was tasked with designing a new web-based application that has the
> requirement of being able to run on multiple servers that could be
> 1) Load balanced without requiring sticky sessions and
> 2) Single nodes could be transparently shutdown or added without the users
> noticing
>
> I would like to use Lift if possible, but I'm a bit worried about it's
> state-full nature.  Is it possible to use something like Cassandra or
> Memcached to hold the session data and have Lift grab that from a cookie
> instead of storing it all internally in memory?  I've looked around, but I
> have not found any good articles about how to scale Lift horizontally.
>

The short answer is that Lift is stateful and you can't shovel Lift state
into a backing store.

You could use Terracotta to create a cluster of Lift machines, but you're
still going to be a lot better off routing requests back to the same machine
to avoid shuffling a lot of state around (which is expensive any way you
slice it)

If you could tell us more about your app, there might be other ways to skin
your cat. http://icanhascheezburger.com/2007/08/08/i-has-minions/

Thanks,

David


>
> Thanks in advance
>
> John
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>



-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to