oh .. thanks for explaining .... since this is my first ever project i don't know much ... can u give me a basic idea of how it(image_proxy_server) can be done efficiently .. like serving many clients concurrently <br>
<br><div class="gmail_quote">On Feb 20, 2008 9:01 AM, Christian Heimes <<a href="mailto:lists@cheimes.de">lists@cheimes.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">bharath venkatesh wrote:<br>> hi,<br>> will this twisted,turbo gear etc help me to create a http server that can<br>> serve multiple clients concurrently....<br>> and also the http server which i want to create in my project will not be<br>
> doing any IO (it is not like frontend and backend ).. but it will act as a<br>> image_proxy_server i.e when a client wants an image it will do a http<br>> request to my http server if the image is present in cache it will fetch it<br>
> directly from cache and return it to the client as an http reponse<br>> otherwise it fetch from www and store it cache and also return it to<br>> the client as an http response so basically i want to serve many clients<br>
> concurrently in fast n efficient manner<br><br></div>You are reading data from a network socket (IO), you are serving images<br>from a disk cache or memory cache (IO) or you are retrieving images from<br>a remote site (IO).<br>
<br>Your application is most certainly not using the CPU much. All you do is<br>serving data or reading data - input and output - IO. :)<br><font color="#888888"><br>Christian<br><br></font></blockquote></div><br>