recommendation on server size and needed upload speeds

andylinux

Joined: 2009-09-17
Posts: 7
Posted: Fri, 2009-10-23 01:58

I'm trying to serve a gallery3 installation using a home server to avoid paying for a vps server. I have DSL with a 768k up. For testing I'm using an old 500 MHz laptop.

Right now the website is slow to view. I thought it would work to use the slideshow since although slow initially it seems to speed up (I assume the next picture is uploaded while I'm viewing the first one.) However some users say it takes 1 minute for a picture to show up when viewing the slideshow. I'm uploading full res pictures 2.5 - 4.0 MB in size.

Is there any tricks to make it faster? Not upload full res pictures? Of course I assume browsing the website would be faster with a faster home server. Could I get away with an dual core atom? I'm trying to keep power requirements to a minimum.

Anyone else doing the same thing? How does it work for you?

Any suggestions are appreciated.

I love how Gallery3 is taking shape.

Thanks,
Andy

 
griffinmt
griffinmt's picture

Joined: 2009-09-06
Posts: 128
Posted: Fri, 2009-10-23 03:10

Do you plan on letting users DOWNLOAD your pictures for possible printing etc. If so, keep your fullsize resolution as it is. Else, shrink the dimensional size to match the slideshow size and select a compression of from 50% to 75% (trial and error possibly).

I am using a WXP dual core 2.8ghz system with large sata drives for storage. Also using same machine for both client and server for all functions (developement system). Performance is adequate. Better when using other system as client.

Martyn T. Griffin

 
andylinux

Joined: 2009-09-17
Posts: 7
Posted: Fri, 2009-10-23 15:19

I did a test install on a faster server and now it is easier to browse through the Gallery. I'm still curious if viewing full resolution images in the slideshow requires more upload bandwidth then images that I downsized. I would like to keep the full resolution images in case someone wants to download them. I guess I'll do a test. Does anyone know of a tool to use that would tell me how much data my server is uploading or how much data is being downloaded when I look at the slideshow?

Thanks,
Andy

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-10-23 15:47

The way the slideshow works currently is if they have permission to view the full size the slideshow grabs the full size image to display.

http://www.google.com/#hl=en&source=hp&q=bandwidth+monitor

Any quality host out there is going to have a faster connection than you'll ever be able to get at home. If that's your concern, get a hosting plan. There are quality hosts that are quite affordable.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
andylinux

Joined: 2009-09-17
Posts: 7
Posted: Sat, 2009-10-24 11:23

Thanks for the help. For now I'll have to resize my images when I upload them. If I get some time I might look at modifying or making a module that would give you the option to load a different image size for the slideshow.

Is this on a todo list for features to be added? If someone has already thought through a good way to implement this I would like to use their suggestions.

Thanks,
Andy

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-10-24 16:26

It's not on the todo list. In G2, suprsidr, modified the slideshow module that ships with G2 to do just that. His modification allowed you to go into the admin settings for the slideshow module and select the largest size to be displayed.

So you should still display full size images to people, but the slideshow module was only grabbing one of the resized versions that was closest to the size you specified.

Since G3 is simpiler and doesn't have multiple resized versions, you should just make an option to have it display the resized version instead of the full size version. But I think in G3 the slideshow module may use an existing RSS feed instead of creating it's own like it does in G2. I'm not sure.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here