Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: An alternative for Gd?

by atemerev (Beadle)
on Apr 15, 2008 at 17:07 UTC ( #680581=note: print w/ replies, xml ) Need Help??


in reply to Re: An alternative for Gd?
in thread An alternative for Gd?

Since it's going to be a public service with (hopefully) heavy loads, I don't think deferring chart processing to Google Charts is a good idea. Or it is? Have to check first.


Comment on Re^2: An alternative for Gd?
Re^3: An alternative for Gd?
by samtregar (Abbot) on Apr 15, 2008 at 17:19 UTC
    Google seems to be pretty good at supporting heavy load! Lots of heavy traffic sites use their free Google Maps service, for example. There's no limit on usage, but they do ask that you inform them if you expect to generate more than 250,000 charts per day (!).

    -sam

Re^3: An alternative for Gd?
by renodino (Curate) on Apr 15, 2008 at 17:28 UTC
    If by public service, you mean browser based, perhaps you should bypass Perl for a purely browser based, Javascripted solution, namely, <canvas>. In which case, not only do you avoid the hit for pushing the data to Google, you can actually avoid the hit for processing in your server, and let the browser do the rendering.

    <canvas> does have some issues (no native text drawing, no native IE support, hard to get static copies of the image, etc.), but its a fairly serviceable solution.

    Here's some pointers:


    Perl Contrarian & SQL fanboy

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://680581]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-10-23 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (123 votes), past polls