On Wed, Jan 13, 2010 at 9:52 PM, XiaomingZheng <[email protected]>wrote:
> my colleagues and i develop portals and other web apps for lots of > small companies. One portal is low-traffic, so we put many small > portals in one jetty server. we hope each portal cost as lower memory > as better, because there are many portals in only single one server. > In Lift framework, each web app must have its stuffs like LiftRules > obj and S obj, can we shall them in different apps for saving memory? > could you give me some advice? > If memory size is your prime concern, PHP is probably your best bet. Lift is not going to give you the memory efficiencies you sound like you're looking for. Sorry. > > On Jan 14, 5:01 am, David Pollak <[email protected]> > wrote: > > On Wed, Jan 13, 2010 at 8:00 PM, XiaomingZheng < > [email protected]>wrote: > > > > > Hello everyone: > > > I have a questions confused me right now. today i try to publish my > > > lift website by using mvn package, and got a war package sized more > > > than 10M, the lib folder is the largest. i put this package in a jetty > > > server found out it takes considerable memory cost. if there are lots > > > lift web application in one jetty server, the cost maybe a disaster... > > > > > any idea for lower down the lift app memory cost? I thought a idea > > > that put these lib files to the jetty lib folder, but only suitable > > > for the libs like scala-library and H2 library. When put lift-webkit > > > lib in jetty lib folder, there must be logic errors i think, because > > > different apps shared one LiftRules obj... > > > > > so any good idea ? thanks guys > > > > I routinely run low-traffic Lift-based web sites in Jetty with a 32MB > heap > > size on the JVM. I doubt you're going to get it smaller than that. What > > are your constraints? > > > > > > > > > -- > > > 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]> > <liftweb%[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 frameworkhttp://liftweb.net > > Beginning Scalahttp://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]<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.
