[Lift] Re: jetty/actors performance question tangentially related to lift

2009-11-12 Thread Lincoln
Thanks David, I will give Lift Actors a try. Mongodb is supposedly using a connection pool behind the scenes so it isn't supposed to matter whether I create 1 or many connection objects, but I will check the source as I'm not 100% sure. Thanks, Lincoln On Thu, Nov 12, 2009 at 8:05

[Lift] Re: jetty/actors performance question tangentially related to lift

2009-11-12 Thread Lincoln
er, stats, cont) => timer.split("react") stats("mailboxSize") = mailboxSize.toLong val coll = staticColl val dbo = ( _msg -> "blah blah blah" << _event -> "blah blah blah" << _user -> "blah blah blah" << _name -> "

[Lift] Re: jetty/actors performance question tangentially related to lift

2009-11-08 Thread Lincoln
, but the mailbox never grows past a size of 1 or 2. I will try and send along a simplified version of my code to illustrate what I'm doing. Thanks, Lincoln On Sun, Nov 8, 2009 at 11:02 PM, David Pollak wrote: > If you have all your requests going to 1 actor, then you've reduced your

[Lift] jetty/actors performance question tangentially related to lift

2009-11-08 Thread Lincoln
tself is overloaded trying to queue requests but that is just a guess. Thanks, Lincoln --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com

[Lift] Re: json extraction problem

2009-10-01 Thread Lincoln
onstructor parameter, a reference to the outer > class (same way as in Java). You need to move those case classes away > from enclosing class (to an object or package etc.). > > The error message is very bad in this case. I will fix it. > > Cheers Joni > > On Oct 1, 7:49 am, L

[Lift] json extraction problem

2009-09-30 Thread Lincoln
= net.liftweb.json.DefaultFormats case class Name(first: String, last: String) case class User(name: Name, email: String) import net.liftweb.json.JsonParser._ val u = { import JsonDSL._ ("name" -> ("first" -> "Lincoln") ~ ("last" -> "

[Lift] Re: lift-json

2009-09-13 Thread Lincoln
Got it. Thanks for the info. I was afraid I was doing something wrong. Thanks, Lincoln On Sun, Sep 13, 2009 at 9:48 AM, Joni Freeman wrote: > > Hi, > > Your example should work if you take the val away from your case > class: > > case class MyName(first:String, last:String

[Lift] Re: lift-json

2009-09-13 Thread Lincoln
output of my test > > [info] lift-json should > [info] x do pain-free json conversion on nested objects > net.liftweb.json.MappingException: Expected JField but got JNothing, > json='JField(name,JObject(List(JField(first,JString(Lincoln)), JField > (last,JString(Hochberg)

[Lift] Re: Google App Engine

2009-04-08 Thread Lincoln Stoll
This looks like the thread: http://www.nabble.com/-scala--Google-App-Engine-for-Scala%21-td22944265.html Linc. On 08/04/2009, at 4:53 PM, Timothy Perrett wrote: > > Can you fwd to the lift list for those of us not on the main scala > mailing lists? > > Thanks, Tim > > On Apr 8, 3:14 pm, David