Hi All,

I'll start off with the situation ....

I have built an RB web server which is required to serve around 100 small images via a single html page (the html page and all images are being served via the RB web server). Although the images are loading in the browser they seem to load one at a time even though Safari and most browsers are able to request and display a number ( often 4 or 8) of images at once. It seems that my RB web server is not able to receive and respond to more than one request at a time.

I own RB Professional and I am using a Server Socket:

  Dim s as TCPSocket
 s = new TCPSocket1
  return s

My Server Socket has MinimumsocketsAvailable=25 MaximumSocketsConnected=250 (any thoughts on these sockets to allow maximum load/performance would be appreciated)

So the TCPSocket1 then handles incoming requests via it's DataAvailable Method.

Is this the best way to handle multiple simultaneous requests? or should DataAvailable pass the request off to a Thread or something like that to avoid forcing my app to finish processing that request before being able to handle the next.

Any thoughts would be appreciated.


Thanks


Jeff
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to