Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-03-04 Thread Daniel Halperin
Hey, I found the problem in my logs (compared with wget) and then, on the Internet (http://curl.haxx.se/mail/lib-2008-02/0048.html) Curl automatically uses a Expect: 100-continue header when sending payloads >1024 bytes. Apparently Restlet does not handle this correctly? Sorry to keep spamming,

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-03-04 Thread Daniel Halperin
Followup: the bug persists with the newer 2.1.2 release. Dan On Mon, Mar 4, 2013 at 5:23 PM, Daniel Halperin wrote: > Hi Jerome, > > Sorry for not responding until now -- I am not signed up for the mailing > list (about to rectify this) and I never saw your answer. > > If you look at the clean

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-03-04 Thread Daniel Halperin
Hi Jerome, Sorry for not responding until now -- I am not signed up for the mailing list (about to rectify this) and I never saw your answer. If you look at the clean git project, in build.gradle, you can see that the only libraries used in the project are: dependencies { compile "org.restlet.

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-02-21 Thread Jerome Louvel
Hi Daniel, Thanks for reporting those result in a reproducible way. Which HTTP connector are you using exactly? The default on in org.restlet.jar or the Simple/Jetty extensions? Thanks, Jerome -- http://restlet.com http://twitter.com/#!/jlouvel 2013/2/15 Daniel Halperin > Hi everyone, > >

Re: RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-02-15 Thread Daniel Halperin
Hi everyone, Just a note that I created a clean, minimal test example here: https://github.com/dhalperi/restlet-testing Thanks, Dan On Fri, Feb 15, 2013 at 10:20 AM, Daniel Halperin < dhalp...@cs.washington.edu> wrote: > Hi everyone, > > I'm having some crazy timing properties related to RESTl

RESTlet + JSON performance flip at ~1024/1025 byte payload?

2013-02-15 Thread Daniel Halperin
Hi everyone, I'm having some crazy timing properties related to RESTlet responses being above or below 1024 bytes. The fact that this is a power of 2 makes me think it's no coincidence! [To start, here is some setup text copied from my previous mail.] I'm just getting started with RESTlet (v.2.1.