NYCPHP Meetup

NYPHP.org

[nycphp-talk] GD imageCreate

Adam adam at ecamp.net
Mon Sep 9 14:56:48 EDT 2002


Perhaps a cronjob that runs when the weather gets updated/changed... and
just link to the static file? 

Creating a on the fly graphic that is the same every time for every user
is overly redundant...?

-----Original Message-----
From: Tim Sailer [mailto:sailer at bnl.gov] 
Sent: Monday, September 09, 2002 2:36 PM
To: NYPHP Talk
Subject: [nycphp-talk] GD imageCreate

Is anyone using the imageCreate function to create on the fly
graphics? I'm playing with my new toy, a weather station, and
it's logging to a MySQL database. I'm taking the info, and creating
a graphic button, which, when clicked, will go to graphs, etc.
The problem is the load of the server when creating the graphic. I've
run
some stress tests, and the results are *not* pretty. Is there any way to

cache the image for a period of time?

Tim

PS: http://www2.buoy.com/weather has the graphic at the top

-- 
Tim Sailer <sailer at bnl.gov> 
Application Services
Information Technology Division
Brookhaven National Laboratory  (631) 344-3001


--- Unsubscribe at http://nyphp.org/list ---






More information about the talk mailing list