tunnelConnectionMode vs. Documentation

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

tunnelConnectionMode vs. Documentation

Postby Bernd.N » Mon Sep 05, 2016 7:12 pm

On the AppServer, the naming of the four tunnelConnectionModes in the ServoyNetworkSettings is as follows:
- http
- socket
- http&socket
- 2waysocket
modes.png
modes.png (23.26 KiB) Viewed 723 times


In the documentation
https://wiki.servoy.com/display/public/DOCS/Network+Related+Settings#NetworkRelatedSettings-SmartClientSpecificConfiguration
the naming of the four modes is like this:
- Direct Connection
- TwoWay Socket
- HTTP Tunnel
- Socket Tunnel
documentation.png
documentation.png (68.64 KiB) Viewed 723 times


Does the sequence of both lists match exactly the option on the other list?
I guess not, as 2waysocket is the last option on the first list, while TwoWay Socket is the second option in the documentation.

So what is the exact mapping between the Server listbox options and the documentation?
And which option will provide the fastest connection, provided the requirements can be fullfilled?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: tunnelConnectionMode vs. Documentation

Postby Bernd.N » Tue Sep 06, 2016 10:27 am

The longer I think about it, the more I tend to this mapping:
2waysocket === TwoWaySocket
http === HTTP Tunnel
socket === Socket Tunnel
That leaves the last combination
http&socket === Direct Connection

Can someone confirm this?

From our experience: We made a test yesterday and switched from http&socket to http. That resulted into a strong decrease of speed, so we quickly switched back today.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: tunnelConnectionMode vs. Documentation

Postby Harjo » Tue Sep 06, 2016 11:13 am

No http&socket is not direct connection.

it is really a combination off http and socket tunnel

creating a profile in servoy-admin page, there you can than choose/set what kind of connection you want
The default is socket tunnel

we are running for 2 years now in http tunnel mode.
We can't measure any difference in speed between http or http&socket mode
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4271
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: tunnelConnectionMode vs. Documentation

Postby Bernd.N » Tue Sep 06, 2016 11:50 am

Hi Harjo,
that sounds like we have in reality five modes, while the mode "Direct Connection" that is mentioned in the documentation has no equivalent in the tunnelConnectionModes-listbox in the ServoyNetworkSettings ?
We did not use profiles so far, but tried to just run with one setting that we entered in the ServoyNetworkSettings page.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 477
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 6 guests

cron