[Lift] Re: What happens between 7000 and 8000 requests?

2010-01-25 Thread Stefan Koenig
Yes indeed. I have an plus of ~317%. Thanks again.

On Jan 21, 3:34 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 On Thu, Jan 21, 2010 at 6:25 AM, Stefan Koenig koeni...@gmail.com wrote:
  First of all thanks for the replies. Your comments made a lot of
  sense, so I tested again using a cookie jsessionid and voilà no
  problems anymore even running more than 100,000 requests in a row now.
  Also the failed requests are gone.

 And is Lift still much faster?







  Thanks again.
  Stefan Koenig

  On Jan 21, 5:16 am, Derek Williams de...@nebvin.ca wrote:
   Okay, I tried it out. jsessionid is sometimes 12 or 13 characters long
   which is why the document length is changing. Those failures due to
   length are probably safe to ignore.

   On Wed, Jan 20, 2010 at 6:00 PM, Derek Williams de...@nebvin.ca wrote:
I could be wrong here, but I think the failed requests might be due to
  the
jsessionid that jetty adds onto the links, they may be different sizes.
  I am
away from my computer right now and can't test it though.

   --
   Derek Williams

  --
  You received this message because you are subscribed to the Google Groups
  Lift group.
  To post to this group, send email to lift...@googlegroups.com.
  To unsubscribe from this group, send email to
  liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com 
  
  .
  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 lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: What happens between 7000 and 8000 requests?

2010-01-21 Thread Stefan Koenig
First of all thanks for the replies. Your comments made a lot of
sense, so I tested again using a cookie jsessionid and voilà no
problems anymore even running more than 100,000 requests in a row now.
Also the failed requests are gone.

Thanks again.
Stefan Koenig



On Jan 21, 5:16 am, Derek Williams de...@nebvin.ca wrote:
 Okay, I tried it out. jsessionid is sometimes 12 or 13 characters long
 which is why the document length is changing. Those failures due to
 length are probably safe to ignore.

 On Wed, Jan 20, 2010 at 6:00 PM, Derek Williams de...@nebvin.ca wrote:
  I could be wrong here, but I think the failed requests might be due to the
  jsessionid that jetty adds onto the links, they may be different sizes. I am
  away from my computer right now and can't test it though.

 --
 Derek Williams
-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: What happens between 7000 and 8000 requests?

2010-01-21 Thread David Pollak
On Thu, Jan 21, 2010 at 6:25 AM, Stefan Koenig koeni...@gmail.com wrote:

 First of all thanks for the replies. Your comments made a lot of
 sense, so I tested again using a cookie jsessionid and voilà no
 problems anymore even running more than 100,000 requests in a row now.
 Also the failed requests are gone.


And is Lift still much faster?



 Thanks again.
 Stefan Koenig



 On Jan 21, 5:16 am, Derek Williams de...@nebvin.ca wrote:
  Okay, I tried it out. jsessionid is sometimes 12 or 13 characters long
  which is why the document length is changing. Those failures due to
  length are probably safe to ignore.
 
  On Wed, Jan 20, 2010 at 6:00 PM, Derek Williams de...@nebvin.ca wrote:
   I could be wrong here, but I think the failed requests might be due to
 the
   jsessionid that jetty adds onto the links, they may be different sizes.
 I am
   away from my computer right now and can't test it though.
 
  --
  Derek Williams

 --
 You received this message because you are subscribed to the Google Groups
 Lift group.
 To post to this group, send email to lift...@googlegroups.com.
 To unsubscribe from this group, send email to
 liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com
 .
 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 lift...@googlegroups.com.

To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.



[Lift] Re: What happens between 7000 and 8000 requests?

2010-01-20 Thread cody koeninger


On Jan 20, 11:03 am, Stefan Koenig koeni...@gmail.com wrote:
 So basically my questions: Did I do something wrong?

Complete requests:  1
Failed requests:9866
   (Connect: 0, Receive: 0, Length: 9866, Exceptions: 0)


Unless you're intentionally returning a page with dynamic length,
which from a cursory examination of your template it doesn't look like
you are, there is something wrong with your test.

It looks like you're using lift 1.0, so 
http://github.com/dpp/liftweb/issues/issue/275
may be an issue.
-- 
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.




Re: [Lift] Re: What happens between 7000 and 8000 requests?

2010-01-20 Thread David Pollak
I've updated the project to Lift 2.0-SNAPSHOT

It's been my experience that Jetty doesn't always close streams and has
problems with benchmarks where it's just open stream, dump stuff out,
forget to close stream.  I'd suggest trying with Tomcat.  I have not seen
similar problems in production.

But I expect that the problem is a number of sessions created issue.

On Wed, Jan 20, 2010 at 2:56 PM, cody koeninger c...@koeninger.org wrote:



 On Jan 20, 11:03 am, Stefan Koenig koeni...@gmail.com wrote:
  So basically my questions: Did I do something wrong?

 Complete requests:  1
 Failed requests:9866
   (Connect: 0, Receive: 0, Length: 9866, Exceptions: 0)


 Unless you're intentionally returning a page with dynamic length,
 which from a cursory examination of your template it doesn't look like
 you are, there is something wrong with your test.

 It looks like you're using lift 1.0, so
 http://github.com/dpp/liftweb/issues/issue/275
 may be an issue.

 --
 You received this message because you are subscribed to the Google Groups
 Lift group.
 To post to this group, send email to lift...@googlegroups.com.
 To unsubscribe from this group, send email to
 liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com
 .
 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 lift...@googlegroups.com.

To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.



Re: [Lift] Re: What happens between 7000 and 8000 requests?

2010-01-20 Thread Derek Williams
I could be wrong here, but I think the failed requests might be due to the
jsessionid that jetty adds onto the links, they may be different sizes. I am
away from my computer right now and can't test it though.

On Jan 20, 2010 5:11 PM, David Pollak feeder.of.the.be...@gmail.com
wrote:

I've updated the project to Lift 2.0-SNAPSHOT

It's been my experience that Jetty doesn't always close streams and has
problems with benchmarks where it's just open stream, dump stuff out,
forget to close stream.  I'd suggest trying with Tomcat.  I have not seen
similar problems in production.

But I expect that the problem is a number of sessions created issue.

On Wed, Jan 20, 2010 at 2:56 PM, cody koeninger c...@koeninger.org wrote:

 On Jan 20, 11:03 am, Stefan Koenig koeni...@gmail.com wrote:  
 So basically my questions...

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

-- Lift, the simply functional web framework http://liftweb.net Beginning
Scala http://www.apres...

-- 
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to
liftweb+unsubscr...@googlegroups.comliftweb%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.
-- 

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

To post to this group, send email to lift...@googlegroups.com.

To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.