I am trying to get a better understanding of how RealBasic processes
their events for TCP data available.
I have noticed some slowness in the time it takes for data sent to my
server to be seen by the server, till the time I send data back is a
minimum of 1 second even though I use flush on the write.
I am using RB 2006r4 on a Quad 700Mhz Xeon with 100Mbit ethernet.
I receive a data available event and write a message back out the
socket and flush the data. The best throughput I can manage is about
1 second. Without the flush it goes up about 1/2 a second. I am using
ethereal and Linux for my testing. I am using the Ubuntu 6.06 distro
running Linux kernel 2.6.15-27 compiled for SMP XEON machine.
Ethereal gives the time it takes from 1 packet to the next as it
captures the data.
Internally does RB utilize an event loop which spins looking for user
interface activity, TCP activity, File and other activity and then
call the relevant event? If so then how often is this loop processed?
The hardware I am communicating with allows for approx. 2 seconds for
a response and then times out and closes the socket. The messages are
between the RB server I am developing and a PLC board I am
communicating with. I have asked our PLC specialist to try and extend
this to 10 seconds.
Any comments from others regarding their experience with these timing
issues would be greatly appreciated.
--
Sincerely,
Severin Swensen
Benevian, Inc.
_______________________________________________
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>