Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Lift 2.0, Scala 2.8, and AppEngine
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 41 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
melling  
View profile  
 More options Jun 27 2010, 12:45 pm
From: melling <mmellinge...@gmail.com>
Date: Sun, 27 Jun 2010 09:45:53 -0700 (PDT)
Local: Sun, Jun 27 2010 12:45 pm
Subject: Lift 2.0, Scala 2.8, and AppEngine
I want to jump in and do a Scala/Lift project on the Google
AppEngine.  Since I'm still pretty much a beginner in all 3
technologies, I figure it's best to start with Scala 2.8/Lift 2 since
they're almost production ready.  Can someone point me to a couple of
recent blogs to get me started?  I'm not sure what changes occurred in
the latest Scala/Lift versions so I'm not sure if older blog posts are
still completely accurate.

-Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Wright  
View profile  
 More options Jun 27 2010, 3:03 pm
From: Kevin Wright <kev.lee.wri...@gmail.com>
Date: Sun, 27 Jun 2010 20:03:29 +0100
Local: Sun, Jun 27 2010 3:03 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine

I can't speak on behalf of behalf of the current Lift 2 status, the extent
of my contributions to the project was suggesting tail merge (hint: it
wasn't recent)

Scala 2.8 though, and app deployments, I am a bit more familiar with
everything that's going on there :)

So... I'd *definitely* recommend stax.net over GAE

a) It offers a Maven-based test/build/deploy solution.
b) It can handle threads and actors.
c) It's based on EC2, and can scale up nicely if your site suddenly gets all
popular and profitable.
d) Stax.net use some Scala internally, so you'll find them very helpful and
friendly if you encounter any issues.

I can also confirm that I'm not running into any issues with the Lift 2.0
snapshot against Scala 2.8.0.RC6.
And you're going to want 2.8 if you're after Squeryl or the massively
improved collections library, or simply to work with a recent version of the
eclipse plugin.

On 27 June 2010 17:45, melling <mmellinge...@gmail.com> wrote:

--
Kevin Wright

mail/google talk: kev.lee.wri...@gmail.com
wave: kev.lee.wri...@googlewave.com
skype: kev.lee.wright
twitter: @thecoda


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mellinger  
View profile  
 More options Jun 27 2010, 4:37 pm
From: Michael Mellinger <mmellinge...@gmail.com>
Date: Sun, 27 Jun 2010 16:37:56 -0400
Local: Sun, Jun 27 2010 4:37 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine
We already use GAE and I don't think we can change at this point, but
we'll consider it at a later stage.  I found this and got my
HelloWorld Lift program running under Jetty.

http://github.com/dpp/lift_sbt_prototype

There must be some sort of template for Google's AppEngine.  Now I'm
reading through StartingWithLift.pdf.

You know how it is when learning something new.  Just gotta connect a
lot of dots.  Unfortunately, the dots are versioned and I'm probably
gonna get burned mixing and matching Scala 2.8/Lift 2.0 and Scala
2.7/Lift 1.0.

-Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Justin S.  
View profile  
 More options Jun 27 2010, 4:59 pm
From: "Justin S." <jws...@gmail.com>
Date: Sun, 27 Jun 2010 13:59:23 -0700 (PDT)
Local: Sun, Jun 27 2010 4:59 pm
Subject: Re: Lift 2.0, Scala 2.8, and AppEngine
FYI, I put together a pom.xml for the latest Lift 2.0, Scala 2.8, and
Specs testing over here:

http://xclu.wordpress.com/2010/06/25/lift-2-0-scala-2-8-maven-in-ecli...

On Jun 27, 9:45 am, melling <mmellinge...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Timothy Perrett  
View profile  
 More options Jun 27 2010, 7:31 pm
From: Timothy Perrett <timo...@getintheloop.eu>
Date: Mon, 28 Jun 2010 00:31:52 +0100
Local: Sun, Jun 27 2010 7:31 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine
Mike,

By running Lift on GAE you loose nearly all the awesome USPs that lift provides. If you just want a framework to do templating and some other stuff, then sure, lift on GAE will be fine... if you want to use actors or anything that using any kind of threading your going to be a little screwed with GAE.

Thats not to say you cant make cool apps with Lift on GAE, its just likely you are going to have to jump through a lot of hoops to make it happen.

Cheers, Tim

On 27 Jun 2010, at 21:37, Michael Mellinger wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mellinger  
View profile  
 More options Jun 27 2010, 7:32 pm
From: Michael Mellinger <mmellinge...@gmail.com>
Date: Sun, 27 Jun 2010 19:32:13 -0400
Local: Sun, Jun 27 2010 7:32 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
I don't really know maven either.   I did get a HelloWorld app
deployed to AppEngine by following these instructions:

http://jpkutner.blogspot.com/2009/08/scala-and-lift-on-google-app-eng...

Do I simply replace the pom.xml in my project directory with yours?
Maven does all the right magic, right up until ...? :-)

-Mike


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Jun 27 2010, 9:19 pm
From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Sun, 27 Jun 2010 18:19:34 -0700
Local: Sun, Jun 27 2010 9:19 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine

FWIW, I think you're going to be very disappointed with the Lift/GAE
combination.  Because GAE doesn't support all of the JVM's features and
applies random constraints (e.g, requests for a given session may be served
by different JVMs without any notice to the running application), you'll
probably find that your Lift apps misbehave in random ways.  If you've
already settled of GAE, then I'd recommend another web framework such as
Wicket or Play.

On Sun, Jun 27, 2010 at 1:37 PM, Michael Mellinger
<mmellinge...@gmail.com>wrote:

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mellinger  
View profile  
 More options Jun 27 2010, 11:13 pm
From: Michael Mellinger <mmellinge...@gmail.com>
Date: Sun, 27 Jun 2010 23:13:10 -0400
Local: Sun, Jun 27 2010 11:13 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine
Yeah, GAE was decided first, and work has already started.  I heard
you on FLOSS Weekly (http://twit.tv/floss125) and realized Scala 2.8
is here so it's probably a great time to toe-dip into Scala/Lift with
some sort of project.

The yet another Java framework state of Java is a bit annoying and a
hard sell on group projects.  I was hoping Scala/Lift would snowball,
and end the pain.

-Mike

On Sun, Jun 27, 2010 at 9:19 PM, David Pollak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Jun 27 2010, 11:41 pm
From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Sun, 27 Jun 2010 20:41:47 -0700
Local: Sun, Jun 27 2010 11:41 pm
Subject: Re: [Lift] Lift 2.0, Scala 2.8, and AppEngine

On Sun, Jun 27, 2010 at 8:13 PM, Michael Mellinger
<mmellinge...@gmail.com>wrote:

> Yeah, GAE was decided first, and work has already started.

Bummer.

>  I heard
> you on FLOSS Weekly (http://twit.tv/floss125) and realized Scala 2.8
> is here so it's probably a great time to toe-dip into Scala/Lift with
> some sort of project.

Maybe next time you have a project that's hosted anywhere except GAE you'll
give Lift a try.

> The yet another Java framework state of Java is a bit annoying and a
> hard sell on group projects.  I was hoping Scala/Lift would snowball,
> and end the pain.

Play is Java-based, but the Scala extension is very nice.

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur  
View profile  
 More options Jun 30 2010, 10:07 pm
From: Arthur <arthur.pet...@gmail.com>
Date: Wed, 30 Jun 2010 19:07:32 -0700 (PDT)
Local: Wed, Jun 30 2010 10:07 pm
Subject: Re: Lift 2.0, Scala 2.8, and AppEngine
I remember a long while back that there was talk of implementing
actors on GAE by using a CRON job and by running them in the thread
that sent the message to the actor. Was this deemed impossible or bad
or was it just not done because of the small target audience and the
difficulty of implementation?

-Arthur

On Jun 27, 11:41 pm, David Pollak <feeder.of.the.be...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Jun 30 2010, 10:52 pm
From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Wed, 30 Jun 2010 19:52:38 -0700
Local: Wed, Jun 30 2010 10:52 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

On Wed, Jun 30, 2010 at 7:07 PM, Arthur <arthur.pet...@gmail.com> wrote:
> I remember a long while back that there was talk of implementing
> actors on GAE by using a CRON job and by running them in the thread
> that sent the message to the actor. Was this deemed impossible or bad
> or was it just not done because of the small target audience and the
> difficulty of implementation?

Doing any work for GAE is a waste of time.  Why?

GAE is slow and non-scalable, despite Google's claims (everyone I've spoken
with that have tried to scale GAE apps have failed and gone elsewhere).

GAE locks you into a tremendously suboptimal storage mechanism.

GAE is free, but so is Stax and there are many inexpensive options including
SliceHost.  Next up, you've got Amazon EC2 and RackSpace.

So, I haven't found a good reason for anyone to use GAE.  And if there's no
good reason to use GAE, devoting a pile of resources to code around the GAE
JVM incompatibilities (e.g., no new threads) seems like a waste.

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Peters  
View profile  
 More options Jul 2 2010, 12:57 am
From: Arthur Peters <a...@singingwizard.org>
Date: Fri, 2 Jul 2010 00:57:54 -0400
Local: Fri, Jul 2 2010 12:57 am
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

That makes a lot of sense. I was just curious.

What recommendations would people have for minimum RAM size for hosting lift
in a VPS. I experimented at one point and found that it seemed to require
quite a bit. But I may not have been doing it write. Are there any guides
online for how to setup and optimize a VPS for lift? (or other servlets I
guess they are probably the same)

-Arthur (sent from phone)

On Jun 30, 2010 10:52 PM, "David Pollak" <feeder.of.the.be...@gmail.com>
wrote:

On Wed, Jun 30, 2010 at 7:07 PM, Arthur <arthur.pet...@gmail.com> wrote:

> I remember a long while...

Doing any work for GAE is a waste of time.  Why?

GAE is slow and non-scalable, despite Google's claims (everyone I've spoken
with that have tried to scale GAE apps have failed and gone elsewhere).

GAE locks you into a tremendously suboptimal storage mechanism.

GAE is free, but so is Stax and there are many inexpensive options including
SliceHost.  Next up, you've got Amazon EC2 and RackSpace.

So, I haven't found a good reason for anyone to use GAE.  And if there's no
good reason to use GAE, devoting a pile of resources to code around the GAE
JVM incompatibilities (e.g., no new threads) seems like a waste.

> -Arthur

> On Jun 27, 11:41 pm, David Pollak <feeder.of.the.be...@gmail.com>
> wrote:
> > On...

--

Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890

Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im
Surf the harmonics

--
You received th...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Jul 2 2010, 9:32 am
From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Fri, 2 Jul 2010 08:32:48 -0500
Local: Fri, Jul 2 2010 9:32 am
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

On Thu, Jul 1, 2010 at 11:57 PM, Arthur Peters <a...@singingwizard.org>wrote:

> That makes a lot of sense. I was just curious.

> What recommendations would people have for minimum RAM size for hosting
> lift in a VPS.

64MB min.  128MB (so the JVM has 64MB heap+32MB other) is reasonable for
most apps that are going to have 10-20 users logged in at any time.

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Jonsson  
View profile  
 More options Jul 2 2010, 9:53 am
From: Fredrik Jonsson <fredrik.jo...@gmail.com>
Date: Fri, 2 Jul 2010 15:53:28 +0200
Local: Fri, Jul 2 2010 9:53 am
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
Interesting. I would appreciate if you had time to elaborate a bit on this.

Our site seemed to need 768MB to run Ubuntu 9.10 Server with
PostgreSQL 8.4 and Jetty with a small Lift app on. (swap is not
allowed on the VPS host).

Could we do a better setup?

-Fredrik

On Fri, Jul 2, 2010 at 3:32 PM, David Pollak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Chen-Becker  
View profile  
 More options Jul 2 2010, 11:32 am
From: Derek Chen-Becker <dchenbec...@gmail.com>
Date: Fri, 2 Jul 2010 09:32:11 -0600
Local: Fri, Jul 2 2010 11:32 am
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

How much of that memory was PostgreSQL using? What were your VM memory
allocations for heap, perm space, etc? I ask because I've seen PostgreSQL
chew up quite a bit of memory if it's configured to do so.

Derek

On Fri, Jul 2, 2010 at 7:53 AM, Fredrik Jonsson <fredrik.jo...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Peters  
View profile  
 More options Jul 2 2010, 5:02 pm
From: Arthur Peters <a...@singingwizard.org>
Date: Fri, 2 Jul 2010 17:02:33 -0400
Local: Fri, Jul 2 2010 5:02 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
I would also love to see the options, container and configuration used
to get lift to run in 128MB. I have attempted it and I had trouble
when I was running it in even 300MB let alone 128MB. I'm sure I was
doing something wrong, but I don't know what.

-Arthur

On Fri, Jul 2, 2010 at 11:32 AM, Derek Chen-Becker


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Jonsson  
View profile  
 More options Jul 2 2010, 7:07 pm
From: Fredrik Jonsson <fredrik.jo...@gmail.com>
Date: Sat, 3 Jul 2010 01:07:17 +0200
Local: Fri, Jul 2 2010 7:07 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
These are the top stats from our VPS:

Mem:   1048576k total,   663416k used,   385160k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28112 jetty     18   0  545m 136m 6100 S  0.0 13.4   3:06.41 jsvc
 5570 postgres  15   0  107m  14m 5168 S  0.0  1.5   0:04.64 postgres
 3178 postgres  18   0  107m 9.8m    4 S  0.0  1.0   0:03.59 postgres
 5868 postgres  18   0  107m 9.8m    4 S  0.0  1.0   0:04.84 postgres

I'm not sure how these things works but the sum of the processes
virtual memory seems to be close to the total memory used.

Suggestions anyone?

Thanks!
-Fredrik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Williams  
View profile  
 More options Jul 2 2010, 8:29 pm
From: Derek Williams <de...@nebvin.ca>
Date: Fri, 2 Jul 2010 18:29:00 -0600
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

Virt is what the kernel allows that process to use, but Res is the actual
amount of RAM used. The total seems too high though, but I suspect that may
be because you dont have any swap defined. Are you able to at least setup a
swap file if you cant use an actual partition?

Also, what jvm options are you using? If you are using defaults, they scale
with the total mem I believe.

I think thats all correct, but writing this from my phone so unable to
doublecheck.

On 2010-07-02 5:07 PM, "Fredrik Jonsson" <fredrik.jo...@gmail.com> wrote:

These are the top stats from our VPS:

Mem:   1048576k total,   663416k used,   385160k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
28112 jetty     18   0  545m 136m 6100 S  0.0 13.4   3:06.41 jsvc
 5570 postgres  15   0  107m  14m 5168 S  0.0  1.5   0:04.64 postgres
 3178 postgres  18   0  107m 9.8m    4 S  0.0  1.0   0:03.59 postgres
 5868 postgres  18   0  107m 9.8m    4 S  0.0  1.0   0:04.84 postgres

I'm not sure how these things works but the sum of the processes
virtual memory seems to be close to the total memory used.

Suggestions anyone?

Thanks!
-Fredrik

On Fri, Jul 2, 2010 at 11:02 PM, Arthur Peters <a...@singingwizard.org>
wrote:

> I would also love t...

--

You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to t...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Derek Williams  
View profile  
 More options Jul 2 2010, 8:45 pm
From: Derek Williams <de...@nebvin.ca>
Date: Fri, 2 Jul 2010 18:45:31 -0600
Local: Fri, Jul 2 2010 8:45 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

To clarify, total should be Res, Buffers, and Cache. The total might be
using Virt instead of Res due to the kernel not having swap to fall back on.

On 2010-07-02 6:29 PM, "Derek Williams" <de...@nebvin.ca> wrote:

Virt is what the kernel allows that process to use, but Res is the actual
amount of RAM used. The total seems too high though, but I suspect that may
be because you dont have any swap defined. Are you able to at least setup a
swap file if you cant use an actual partition?

Also, what jvm options are you using? If you are using defaults, they scale
with the total mem I believe.

I think thats all correct, but writing this from my phone so unable to
doublecheck.

> On 2010-07-02 5:07 PM, "Fredrik Jonsson" <fredrik.jo...@gmail.com> wrote:

> These are the top...

> On Fri, Jul 2, 2010 at 11:02 PM, Arthur Peters <a...@singingwizard.org>
wrote:
> I would also love t...

--

> You received this message because you are subscribed to the Google Groups

"Lift" group.
To post to t...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Pollak  
View profile  
 More options Jul 3 2010, 6:29 pm
From: David Pollak <feeder.of.the.be...@gmail.com>
Date: Sat, 3 Jul 2010 17:29:02 -0500
Local: Sat, Jul 3 2010 6:29 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

On Fri, Jul 2, 2010 at 7:45 PM, Derek Williams <de...@nebvin.ca> wrote:
> To clarify, total should be Res, Buffers, and Cache. The total might be
> using Virt instead of Res due to the kernel not having swap to fall back on.

To deploy, please download
http://github.com/dpp/lift-samples/raw/master/jetty_instance.tgz and set the
ram_size file to 64M and put your Lift app in webapps/root.war and run
"start_prod.sh"

That'll consume about 96MB of total RAM.  You should be able to run the rest
of your system (RDBMS, OS, etc.) in the remaining 32MB.

http://demo.liftweb.net serves a peak of 10 pages per second and typically
has 500 sessions and it's running with 256MB of heap.

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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Jonsson  
View profile  
 More options Jul 4 2010, 7:13 am
From: Fredrik Jonsson <fredrik.jo...@gmail.com>
Date: Sun, 4 Jul 2010 13:13:34 +0200
Local: Sun, Jul 4 2010 7:13 am
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
Thank you! I'll try it out and get back with my findings. I like this community!

-Fredrik

On Sun, Jul 4, 2010 at 12:29 AM, David Pollak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fredrik Jonsson  
View profile  
 More options Jul 7 2010, 5:44 pm
From: Fredrik Jonsson <fredrik.jo...@gmail.com>
Date: Wed, 7 Jul 2010 23:44:18 +0200
Local: Wed, Jul 7 2010 5:44 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine
A final memory report if anyone is interested.

With 64mb heap jetty reports 119mb RES, postgres about 35mb RES and
rest of OS 10-20mb RES. I conclude that 128mb with some tweaking or on
the safe side 256 mb would be sufficient.

However since our VPS host (they use OpenVZ) doesn't allow swap top
reports 450mb total memory usage which forces us to buy 512 or even
768 mb to be on the safe side.

BR
-Fredrik

PS. switched to nginx asweel, thank you for pointing me to it.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Peters  
View profile  
 More options Jul 7 2010, 6:51 pm
From: Arthur Peters <a...@singingwizard.org>
Date: Wed, 7 Jul 2010 18:51:27 -0400
Local: Wed, Jul 7 2010 6:51 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

Thanks for posting your results. Its quite illuminating (though it does
leave me wondering why you would need swap or lots of extra RAM. What is
soaking up the extra? I wonder.)

Just in case and one else had this confusion about the free service on Stax:
free hosted apps hybernate after 24 hours HOWEVER this does not mean that an
admin needs to poke it or anything. Any HTTP request to the app will wake it
up. It just means that the first request after 24 hrs of non-use will take
an extra few seconds while the VPS resumes from hibernation.

-Arthur (sent from phone)

On Jul 7, 2010 5:44 PM, "Fredrik Jonsson" <fredrik.jo...@gmail.com> wrote:

A final memory report if anyone is interested.

With 64mb heap jetty reports 119mb RES, postgres about 35mb RES and
rest of OS 10-20mb RES. I conclude that 128mb with some tweaking or on
the safe side 256 mb would be sufficient.

However since our VPS host (they use OpenVZ) doesn't allow swap top
reports 450mb total memory usage which forces us to buy 512 or even
768 mb to be on the safe side.

BR
-Fredrik

PS. switched to nginx asweel, thank you for pointing me to it.

On Sun, Jul 4, 2010 at 1:13 PM, Fredrik Jonsson <fredrik.jo...@gmail.com>
wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Naftoli Gugenheim  
View profile  
 More options Jul 7 2010, 11:05 pm
From: Naftoli Gugenheim <naftoli...@gmail.com>
Date: Wed, 7 Jul 2010 23:05:35 -0400
Local: Wed, Jul 7 2010 11:05 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

Interesting. What kind of "few seconds"? Like 3? Or 20?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Peters  
View profile  
 More options Jul 7 2010, 11:45 pm
From: Arthur Peters <a...@singingwizard.org>
Date: Wed, 7 Jul 2010 23:45:09 -0400
Local: Wed, Jul 7 2010 11:45 pm
Subject: Re: [Lift] Re: Lift 2.0, Scala 2.8, and AppEngine

They claim like 5 I think, but a quick test with the "basic eclipse app"
(the one in the maven achetype) was more like 20 or maybe even 30. But that
only happens the your app gets 0 hits in 24 hours I think.

-Arthur (sent from phone)

On Jul 7, 2010 11:05 PM, "Naftoli Gugenheim" <naftoli...@gmail.com> wrote:

Interesting. What kind of "few seconds"? Like 3? Or 20?

On Wed, Jul 7, 2010 at 6:51 PM, Arthur Peters <a...@singingwizard.org> wrote:

> > Thanks for posting your results. Its quite illuminating (though it does
> leave me wondering why y...
> --

> > You received this message because you are subscribed to the Google Groups
> "Lift" group.
> > To post ...

--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post ...

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 41   Newer >
« Back to Discussions « Newer topic     Older topic »