Tips to speed up a slow VPN connection for Servoy ?

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

Tips to speed up a slow VPN connection for Servoy ?

Postby Bernd.N » Wed Mar 09, 2016 5:25 pm

We have a customer with several branches in Far East, which are connected via a VPN or which are routed over several nodes of the customer's company network (e.g. first to Hub Asia, then to Hub USA, and from there to Hub Europe). The response time of the smart client is therefore currently not satisfying.
Are there any points which could to be taken care of, in order to speed up such connections, both from a network point of view and from side of Servoy development and Servoy AppServer?
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: Tips to speed up a slow VPN connection for Servoy ?

Postby ROCLASI » Wed Mar 09, 2016 5:38 pm

HI Bernd,

I think the proper answer is 'host in the region of your customers'.
It's not for nothing most cloud companies have datacenters in several regions.

Hope this helps.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5219
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Tips to speed up a slow VPN connection for Servoy ?

Postby Bernd.N » Wed Mar 09, 2016 8:11 pm

Hi Robert,
yes I also thought about that, it would be the last option in case all other measures fail. We have about 40 branches on one single Servoy solution (one tenant) for this group of companies, which has a lot of advantages regarding handling and transparency. As soon as we would split up this single-tenant solution, those advantages would be gone for the Far-East branches.

On the other hand, you can call today every internet page in the world and you do not have to wait more than seconds. So I can understand users when they ask why a database solution needs much more than that.
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: Tips to speed up a slow VPN connection for Servoy ?

Postby goldcougar » Wed Mar 09, 2016 9:18 pm

Thats why deploying the Smart Client over the WAN is generally a bad idea. Yes, it can be done, but is much more resource heavy and suffers over lower bandwidth or more hops to the server compared to the Web Client. The real solution is to migrate your app to the Web Client (or preferably the NG Client). I haven't developed any "new" projects in the Smart Client in many years. I still have some old customers running it, but nearly everyone is migrating to the browser.
I do have 1 large customer still running Smart Client over the WAN and it required some tuning of settings for their environment to maximize the speed. Still not as fast as Web Client, but you can only do some much with Smart Client over the WAN.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Free Training Videos
Servoy Guy- Free Plugins, Tips & Resources
ServoyForge- Open Source Servoy Components
User avatar
goldcougar
Servoy Expert
 
Posts: 657
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Tips to speed up a slow VPN connection for Servoy ?

Postby patrick » Wed Mar 09, 2016 9:24 pm

Any smart client application is a real client-server-application, meaning that many, many requests go back and forth. The most important figure to look at is latency ("ping time"). The next important measure might be query counts (not as much their timing, as long as that is not extremely slow). Less query counts, less slaggy the user experience.

Before splitting up the data to 40 locations I'd rather consider using the ng (or web) client in cases where the connection is simply not good enough (or even as a general deployment route). Since that client runs on the server, latency is less important.
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3611
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 2 guests

cron