Google Chart API or how Google gives raw performance for free
Dec 7, 2007 Uncategorized
If you dont’ understand why Google is giving for free this API, where is the value of this action, then you probably have never tried to render a chart on the server side. It’s one of the most CPU intensive actions a server side solution can have. If you don’t size and distruibute your apps properly, your site can colapse with a single impatient user clicking quickly a link several times or reloading a page because it takes more time than usual to render.
A first look at the API shows a very simple API, with a very limited set of functions. The documentation is very oriented to HTML and Javascript developers, but looks easy to implement something in the server side. So think twice before considering changing JFreeChart with this API. Moreover, the number of request per day is 50000 maximum, so if your site has a lot of traffic you will probably need to implement some kind of server side caching strategy. I will make some tests to test the latency of the API, one of the issues with any chart render engine.
Google, now you have started creating APIs for tipically CPU intensive tasks, why don’t you try something with PDF and document generation? My Hosting provider will hate you, but my budget on dedicated servers will have a relief!
A first look at the API shows a very simple API, with a very limited set of functions. The documentation is very oriented to HTML and Javascript developers, but looks easy to implement something in the server side. So think twice before considering changing JFreeChart with this API. Moreover, the number of request per day is 50000 maximum, so if your site has a lot of traffic you will probably need to implement some kind of server side caching strategy. I will make some tests to test the latency of the API, one of the issues with any chart render engine.
Google, now you have started creating APIs for tipically CPU intensive tasks, why don’t you try something with PDF and document generation? My Hosting provider will hate you, but my budget on dedicated servers will have a relief!
Tags: api, architecture, google


