I’ve simple RO server using both SOAP and binary protocols. On my development machine it’s pretty snappy (about 25-50ms responsetime), but on Windows 7 machine average response time drops to 500-1000ms with both protocols.
I’m still pretty new to Windows 7, so what could cause this? How to debug?
Edit:
By adding logging, I can see that for server application it takes about 0.02 seconds from connect to disconnect, while on clientside the call takes about 1.1 seconds. Both programs running on same computer.
Try to disabling nagle algorithm as described in our wiki http://wiki.remobjects.com/wiki/Platform_FAQs_(RemObjects_SDK)#How_can_I_decrease_extra_latency_.28about_200_ms.29_in_Windows_7.3F
Tried that, didn’t work. However it turned out that using IP address instead of “localhost” made things fast with applications inside one computer, so it most probably has something to do with DNS.
Make sure that localhost can be found in your etc/hosts file. Check your settings in Networks and Sharing Center*).
Oracle client does show very much the same behavior when the network is not configured ‘correctly’, the behavior observed would be, you can connect to the database but it takes long … add the name of the server to the etc/hosts file and everything runs smooth.
*) Find the 'sub’page page - Advanced Sharing Settings … can be accessed on the left side. If turning on network discovery does not help, try file and printer sharing. I think one of these two or both should be enabled very likely the first.