[pLog-svn] resserver usage

Oscar Renalias oscar at renalias.net
Tue Oct 3 13:14:48 GMT 2006


Just to see how much overhead resserver.php has, I wrote a very short
script that will load the same URL 100 times using curl. I ran it once
using a resserver.php URL and a second time loading the same file
using the web server (straight from the "gallery" folder)

I run this in my work laptop and the results are a bit... well, disappointing:

$ time ./repeat.sh
...
real    0m13.339s
user    0m5.911s
sys     0m3.830s

$ time ./repeat.sh
...
real    0m34.178s
user    0m6.011s
sys     0m3.530s

You can guess which one is which. I've attached the script, you will
have to edit it to find two suitable URLs and alter the value of the
$URL variable depending on what you want to test but I am expecting
comparable results.

I am busy with something else right now but if somebody wanted to take
a closer look at this issue we can create a branch in svn to play
around...

On 9/28/06, Jon Daley <plogworld at jon.limedaley.com> wrote:
> On Thu, 28 Sep 2006, Oscar Renalias wrote:
> > When I said hidden resources, I meant hidden albums. There is a checkbox when
> > creating an album that makes it not appear in the list of albums in the
> > public side of the blog. I don't see how this could be possible, although I
> > am not sure how many people are really using this feature.
>         But, I still don't get it - they can still be hidden - URLs aren't
> ever revealed.
>
> > Regarding URLs and subdomains, I know things like
> > http://subdomain.server.com/gallery/1/general/test.jpg will work but
> > considering we're using subdomains, would it be possible to have something
> > like http://subdomain.server.com/gallery/general/test.jpg? (without the blog
> > id)
>         Ah, yes.  That wouldn't work.
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: repeat.sh
Type: application/x-sh
Size: 350 bytes
Desc: not available
Url : http:// devel.lifetype.net/pipermail/plog-svn/attachments/20061003/9090e35b/repeat.sh


More information about the pLog-svn mailing list