> meaning that if the making of such a file
> in the event handler take some time (10 s let's say),
> and i have 10 clients asking almost simultaneously for images, 
> the last one will have to wait for 100 secs 
> before receiving anything.

You you have to hang into the event handler for 10 seconds, then you have a 
problem.
You should redesign your code as an asynchronous operation, probably using 
threads.

> else someone has another idea ? knowing that all the images are stored in a db
> and retrieved on demand.

You don't need to have to wait 10 seconds to get the image from the DB ! 
Or if really you have, then use another DBMS.
--
[EMAIL PROTECTED]
http://www.overbyte.be


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to