Reply to Re: Intense CPU strain....suggestions

Your name:

Reply:


Posted by Jerry Stuckle on 05/31/07 11:53

cbmeeks wrote:
> I thought about that. The problem is, that I want to allow very high
> res uploads. If the user uploaded 20 pictures, and they went to a
> gallery page for the first time, it would take a while to resize.
> That could leave a bad first impression.
>
>
>
> On May 30, 7:41 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
>> Message-ID: <1180559482.648398.209620@m36g2000hse.googlegroups.com> from
>> cbmeeks contained the following:
>>
>>> Currently, the user can upload up to six pictures at once. When the
>>> uploads are complete, I then have a script that will resize the pix to
>>> different thumbnails for speed. However, imagine resizing 6 pictures
>>> of 2300x2200 pixels in 6 different sizes (maintaining the best quality
>>> I can) on a Pentium 3 450Mhz running Ubuntu and 384 megs of ram.
>>> Seriously.
>> Why not just upload the pics and leave resizing til the pics are fetched
>> for the first time? After that fetch from the filesystem.
>>
>> --
>> Geoff Berrow (put thecat out to email)
>> It's only Usenet, no one dies.
>> My opinions, not the committee's, mine.
>> Simple RFDshttp://www.ckdog.co.uk/rfdmaker/
>
>

Well, you could kick off a batch job to do your resizing, then return to
the user. That way it can keep processing the images. The only thing
you'll have to handle is when the user wants to display his gallery
before it's ready.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация