I’m testing our smart client solution connecting to our domain via vpn (that’s where Servoy server runs) but on wireless.
It’s ok over LAN, however on wireless the solution is miserably slow.
Normally it takes a few seconds to login, on wireless it’s minutes and minutes. Every operation is just too slow, and it looks like caching is not exactly working: after I ran my solution the first time, it shouldn’t load same long again, right? But it does.
Well, so far usability is a huge problem.
Someone, please, point me in the right direction.
I am using Windows 7 on both client and server, Servoy 7.2 (7.1 had the same problem)
Tried Java 6 and 7 on the client, no difference. At the moment the Server is running Java 6.
Tried different wireless sites, high speed connection everywhere, you can play Borderlands over it just fine.
Please help.
Hmmm, there could be many reasons: firewalls, antivirus, vpn settings, latency… can you give me more details? Did you try to access the server WITHOUT going through the VPN?
Assuming everything on LAN and Wireless is the same (ie your on the VPN for both situations)
It could be one of the routers or switch specifically causing you problems. If the wireless device also has LAN ports, plug your computer into it, see if there is a difference. If not, then plugin your computer into the switch/router that the wireless device is plugged into. See if there is a difference. Keep working your way until you reach the primary router that the internet is coming into.
What can happen is that your path out to the internet can be different from LAN vs WIreless depending on what switches your traversing through. One of them may be misconfigured, or going bad, or needs a firmware upgrade.
It should be possible to get usable performance, so there is likely to be a problem somewhere.
I regularly connect to Smart Client (Server 6.1.x on Mac OS X, on DSL line) over both WIFI and 3G and both are usable.
Hi guys, sorry I was away for a few weeks.
Now coming back to the same issue.
ngervasi:
Hmmm, there could be many reasons: firewalls, antivirus, vpn settings, latency… can you give me more details? Did you try to access the server WITHOUT going through the VPN?
Nicola, in fact, the performance is poor even when we are trying to access the smart client in our local network, no wireless, all cable. To be honest, it’s not good enough even running on the same machine as the server at times.
It takes about 30 seconds from the moment I hit the link for the smart client to start and till I can see the login screen.
Half the time I spend looking at the splashscreen, the other half - at an ugly grey frame below.
[attachment=1]Untitled.jpg[/attachment]
My screen looks like this, fairly simple, but this only comes up in the last second of the waiting:
[attachment=0]Untitled1.png[/attachment]
The console only starts outputting in onLoad() of the login screen in the last 2-3 seconds of that waiting, so I reckon it’s not my code running all this time.
That’s after it’s downloaded and verified the application for the first time.
There are no errors in the server log.
goldcougar:
Assuming everything on LAN and Wireless is the same (ie your on the VPN for both situations)
It could be one of the routers or switch specifically causing you problems. If the wireless device also has LAN ports, plug your computer into it, see if there is a difference. If not, then plugin your computer into the switch/router that the wireless device is plugged into. See if there is a difference. Keep working your way until you reach the primary router that the internet is coming into.
What can happen is that your path out to the internet can be different from LAN vs WIreless depending on what switches your traversing through. One of them may be misconfigured, or going bad, or needs a firmware upgrade.
Thanks, Scott.
We’ll see again if wireless is still a problem after we fix performance locally and on cable.
Any tips on that would be highly appreciated as the startup is really annoyingly long.
swingman:
It should be possible to get usable performance, so there is likely to be a problem somewhere.
I regularly connect to Smart Client (Server 6.1.x on Mac OS X, on DSL line) over both WIFI and 3G and both are usable.
Christian, I very much hope it will be for us too.
Are there any links with Servoy solutions running elsewhere where I can access them and see what kind of performance they have?
An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.
Other things to watch out for: I took over a Servoy app that had been built with a really old Servoy framework – it took ages to start up. I found that because of the way it was structured it queried all the tables on startup and there were no indexes in the database! Look in the performance data for clues, look in the logs…
maria.kyselova:
An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.
then there is a problem in your network setup.
What is the output if you start with the webstart console enabled? What output do you get there?
What is the tunnel/connection mdoe that you use? Try Http&Socket (network settings page)
maria.kyselova:
An interesting thing: I put the sample CRM solution that Servoy provides, on our server and ran it - it is as slow as our app!
Well, almost.
then there is a problem in your network setup.
What is the output if you start with the webstart console enabled? What output do you get there?
What is the tunnel/connection mdoe that you use? Try Http&Socket (network settings page)
What about my local, Johan? It’s still fairly slow even on the same machine with the server.
I was using 2waysocket, switched to http&socket but it made no difference at all.
A sample ‘hello-world’ solution on a vanilla server takes only a little less time to load, just btw. It has just one form and no code whatsoever. Similar output in the console except the first four lines.
Tried running the server on Java 6 and 7, no difference in performance.
Another problem: whenever I run the .jnlp I get the window saying ‘Verifying application’. Why does it do it every time? It seems to only happen on machines running Java 7.
swingman:
Other things to watch out for: I took over a Servoy app that had been built with a really old Servoy framework – it took ages to start up. I found that because of the way it was structured it queried all the tables on startup and there were no indexes in the database! Look in the performance data for clues, look in the logs…
We sniffed the network, nothing seems happening, except certificates checking.
Here is the output of the server performance page:
[attachment=0]Untitled.png[/attachment]
I can see no problem at all but the whole things takes 40 bloody seconds to load locally.
The topic seems to be more about overall smart client performance issues, not only on wireless.
If any of the moderators would like to change the topic header, I don’t mind at all. Thanks.
yes java 7 will (thats what all the security updates are all about) constantly check all the certificates of the jars online, so the full startup will take time because of that
You can disable that in the java preferences/control panel → advanced tab you can tweak various settings how to check for certificates.
jcompagner:
yes java 7 will (thats what all the security updates are all about) constantly check all the certificates of the jars online, so the full startup will take time because of that
You can disable that in the java preferences/control panel → advanced tab you can tweak various settings how to check for certificates.
Ok, Johan.
With the certificates checking out of three runs the average speed of getting through to the login screen is 50 seconds; java console comes up after the first 30 seconds.
After disabling certificates checking it takes 20 seconds in average! That is much better, Johan, thanks very much.
Johan, is the checking going on before the java console pops up or after? It takes about 10 seconds for it to come up - is that when certificates are checked or is it something else that we can also tweak?