Proxy Server 2.0.

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Proxy Server 2.0.

Postby Ze_PilOt » 31 Mar 2013, 16:35

A new proxy server is in place.

The "old" one was proxying UDP packet.

The new one is encapsulating locally the UDP packets from FA to a TCP stream to the proxy server.
The proxy server sends that stream back to the other player lobby, and the lobby convert back the UDP packet to send it to FA.

The server will first try to resolve NAT between players, if it fails, it will send the connect method and check if the player manage to connect (can happen). If after 5 seconds, FA is not reporting a connection from that player, the server will fall back to the proxy proxy.

By doing that, we are going around all kind of problem with NAT, firewall, and all other crappy routers problems.

You can think TCP will be slower, and it's true.
But not that much, because we have disabled the Nagle's algorithm (http://en.wikipedia.org/wiki/Nagle's_algorithm) making the stream suitable for low delay protocols like FA.

If you want connect to the FAF lobby, you will connect to the proxy server, meaning that NIL should never happen again.

If you still have some, please, please, report it !
But remember : you have to wait A LEAST 10 seconds to be sure the proxy is kicking in !
It's also works for 1v1 obviously.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby chiefcom » 31 Mar 2013, 18:38

Since today I cannot connect to any Game anymore in the lobby. Its no problem to open FA and I see all running games, but I cannot connect to any of them.
chiefcom
 
Posts: 7
Joined: 31 Mar 2013, 18:36
Has liked: 0 time
Been liked: 0 time
FAF User Name: chiefcom

Re: Proxy Server 2.0.

Postby Ze_PilOt » 31 Mar 2013, 19:30

You have to report.

viewforum.php?f=3
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby Ze_PilOt » 01 Apr 2013, 02:22

Well there is obviously a bug, but nobody care to report it.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby Supreme321 » 01 Apr 2013, 02:31

I don't know what to even report? Connections seem fine to me, but some people (Maverick) can barely or cannot connect at all.
Ze_PilOt wrote:Once it's done, I will give a little preview thingy so you can test and break it :)
Supreme321
Avatar-of-War
 
Posts: 99
Joined: 23 Jun 2012, 06:32
Has liked: 0 time
Been liked: 0 time
FAF User Name: Supreme321

Re: Proxy Server 2.0.

Postby Ze_PilOt » 01 Apr 2013, 12:02

It's written there : viewforum.php?f=3
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby Ze_PilOt » 17 May 2013, 18:36

The proxy server is now available in c++ :
https://bitbucket.org/thepilot/forged-a ... src?at=cpp

It's not yet deployed on the server, but the performances will be way better once it's done.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby Ze_PilOt » 18 May 2013, 12:30

It's deployed.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Proxy Server 2.0.

Postby RoLa » 29 May 2013, 12:27

i dont know if how its implemented. But wouldn't it be nice to have a proxy load balancer, which automatically selects the best suited proxy out of a list of many proxy-servers. The main server distributes / manages / controls the trusted proxy-servers on the list over a secure connection.
User avatar
RoLa
Contributor
 
Posts: 313
Joined: 23 Apr 2013, 22:14
Has liked: 5 times
Been liked: 19 times
FAF User Name: RoLa

Re: Proxy Server 2.0.

Postby Ze_PilOt » 29 May 2013, 12:35

That's the long term plan.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Next

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest