Many of our customers send us regular feedback about Tegant, which is very helpful to us to improve the app even further. One thing we are often praised for is how fast Tegant is. This feedback has touched us and made us wonder if we could build on top of it and make Tegant connect even faster!

Faster VPN Photo by Lucas França

At first, it seemed very challenging to see what else we could do to make Tegant even faster than it already is. We knew that every time a user taps on the connect button, we had to connect to the central server first to run some checks. Moreover, the central server isn’t always located in the same region as the VPN server itself. Hence depending on the location of the user, this can slow down the process by a couple of seconds.

So we came up with an idea how to solve this. As long as the user has valid access, there should be no further need to call the central server.

Reduced the validation calls to the central server

The following three bullet points define when your access counts as valid:

  • Free users get a seven day grace period upon signup, where they can use the app completely uninterrupted. They can connect to the VPN without having to authenticate with the central server.

  • Free users that have finished the grace period would have to watch an advertisement video to get free credits. This is the only time they make an actual call to the central server. Any further attempt to connect to the VPN is made without having to contact the central server. Of course, this is as long as the app hasn’t run out of free credits.

  • Premium users with a valid subscription won’t have to do a round-trip to the central server anymore before connecting to the VPN. After the VPN connection has been established, there is a non-intrusive background call to the central server to check the validity of the subscription. This approach ensures that we can deal with any subscription issues.

This new method makes Tegant VPN much snappier when it comes to connecting to the VPN servers. In a nutshell, the background checks are deferred to a later stage. Hence the user enjoys an instant connection.

Relocated the central server to Germany/Frankfurt

In the previous section, we discussed how to reduce the calls to the central server. However, we can still make the remaining mandatory calls faster as well.

The API was previously located in Sweden. While Stockholm is a beautiful city, it is a bit too far up in the north. Based on the last 30 days usage, we realised that relocating the central server to Germany/Frankfurt makes more sense. For the majority of our users, this would lessen their distance to the central server and hence it would speed up the connection speed even more.

Spreading the traffic across the servers

Tegant VPN has another feature that makes it unique compared to other VPNs out there. We have introduced a load balancing feature to spread the traffic evenly across the VPN servers. This method avoids that specific servers are over utilised and slowed down, while others remain underutilised.

When a user taps on the connect button, the central server checks which of the servers is less busy and returns the profile of that server to the user’s iPhone. The user’s iPhone knows then how to connect to the given server. This method ensures that the users are always connected to the least busy server and always experience the best VPN speed.

What are your thoughts? Do you like the new approach? Let us know your feedback in the comment section below.