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
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 -> "
, 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
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
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
= 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" -> "
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
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)
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