Re: generate image by servlet for large amount of requests

2005-07-11 Thread Ronald Klop
We resize our images using Tomcat. The resized images are cached on the local disk with a nigthly cron, which removes unused files older than x days. Just try it and see what the load is. If the load is very high, buy more servers with a loadbalancer. Ronald. On Fri Jul 08 17:32:03 CEST 2005

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Tony Smith
Any ideas? --- Tony Smith [EMAIL PROTECTED] wrote: Let's think about maps.yahoo.com. I do not know how they handle millions of request and generate the map pictures quickly. If I use a servlet, in the post or get method I use: BufferedImage mapImage =

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Christoph Kutzinski
Yes, a good idea would be not to hijack someone elses discussion thread and start a new one instead. Then probably more people will read your question. Regarding your original question: no idea Tony Smith wrote: Any ideas? --- Tony Smith [EMAIL PROTECTED] wrote: Let's think about

Re: generate image by servlet for large amount of requests

2005-07-08 Thread Michael Jouravlev
On 7/7/05, Tony Smith [EMAIL PROTECTED] wrote: Let's think about maps.yahoo.com. I do not know how they handle millions of request and generate the map pictures quickly. For simpler and more formal images like bar charts you can return javascript and render image in browser. Michael.

generate image by servlet for large amount of requests

2005-07-07 Thread Tony Smith
Let's think about maps.yahoo.com. I do not know how they handle millions of request and generate the map pictures quickly. If I use a servlet, in the post or get method I use: BufferedImage mapImage = myTookKit.generateMap(String address); response.setContentType(imageĀ­/png);