Trading from South East Asia

User to User support only. For technical support visit www.betangel.com/support/
Post Reply
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

Because the server is in the UK, you remote desktop to it: -

http://en.wikipedia.org/wiki/Remote_Desktop_Services.

That way you always get a fast response time from Betfair's servers as the host running the software is very near to their servers in the UK. If you connect from abroad using the software locally in that country connecting to the Betfair servers you have a huge round trip to get the odds and all masses of data that we have to poll from Betfair. A lot of data to pull over a very long distance makes for a tough, sluggish trading environment.

When you remote desktop to a server you still have the latency of a mouse click to do something but the remote data pulled to the local remote desktop client is significantly smaller than if you tried to run it locally, this makes it much more viable to trade from overseas.
User avatar
mctash
Posts: 101
Joined: Wed May 12, 2010 2:11 pm

Hi,

BetAngel, I wonder if you could clarify how you connect to the UK at 0-15ms from almost anywhere in the world (surely you mean that's the approx response between VPS and BF Exchange?) given the speed of light travels at approx 186 miles per millisecond traveling through a vacuum?(Remember that number).

Also, with a remote desktop (or any internet traffic for that matter) the the amount of data you transfer (about 1.6kbps for 256 colors no sound) has little bearing on the response time(the ops original concern). That is a bandwidth concern.

For the OP:
A quick tech lesson:

What is a VPS? A VPS (virtual private server) is simply one physical server subdivided (usually at the operating system level)into many virtual computers which each have an allocation of system memory, disk space and cpu cycles to use. Depending on the system in use the allocations may be static or burstable, its kind of irrelevant here. Each sub "pc" can run its own operating system and software which is protected from the other sub "pcs". Its a good way of improving server hardware efficiency with regards to its internal resources. A VPS will use one of the network interfaces present in the physical server hardware. Typically these servers are hosted in data centers with either 100mb or 1gb connections per physical server to the internet shared between each vps operating on that physical server.

Now we know what a vps is how does this affect you?

Distance from Saigon to London is 6335.24 miles. This gives you a theoretical best response (unidirectional) of 6335/186(speed of light per millisecond) = 34ms or 68ms both ways. That's the approx quickest it could be by today's physics. In practice its never that quick (try multiplying by a factor of 6) because a)the light inst traveling through a vacuum all the way and b) the internet isn't a direct route from one pc to another and packets can be routed through many different servers en route and may be subject to delays if any of the servers en route are under load. This figure is important because this is the delay you will experience between you and any VPS located in the UK which routes its traffic over the internet.

If you want to find out the actual response time use the ping tool from the command prompt. If you want to see how you data is routed use tracert "some ip" again from the command prompt. This will show you a list of servers your packets "hop" through on their way to their destination.

The BA VPS may have a nice low response time to BFHQ but your connection to the VPS will still have a similar response time as you would get from connecting directly to betfair exchange as they are pretty much next door to each other on the global scale in relation to you the origin (Not taking in to account the Malta factor).

The VPS will provide speed benefits for automatic trading and stop losses (or anything that you can set to run automatically (or be triggered) on the vps)due to its relatively close location in relation to the bf exchange(and maybe they have a direct fibre connection, who knows?)etc.

However, it is not a magic bullet that can break the laws of physics. Any manual interaction will suffer the same response delay you are accustomed to.

I hope this makes it a little clearer for you.

McTash
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Bet Angel wrote: Using a VPS I can connect to the UK between 0-15ms from pretty much anywhere in the world.
Surely there is still the delay from your PC at home to the VPS though.

I can understand if you have a bot installed on the VPS which puts the bets in and requires no input from your home PC that that is operating with a response time of 0-15ms.

However, when trading 'normally' the information still has to get from the VPS to your home PC for you to see it then decide to place a bet which is done by you clicking on your home PC which then sends a message to the VPS to tell it to place a bet and then the VPS places that bet in 0-15ms. But the step between your home PC and the VPS surely isn't 0ms, thus meaning the 'real' response time is not 0-15ms?

Edit: Posted this after the reply above was given by Bet Angel. So the delay between where the bet is placed, i.e. the VPS and Betfair is 0-15ms, however, the overall response i.e. when placing a bet you clicking on your Home PC and the info that the bet has been placed getting back to you at home and you being able to see the info is bigger than 0-15ms as there is still the time between your Home PC and the VPS which is dependant on your local connection to London, UK.
Bet Angel wrote:But if you are an international customer then all your calls get routed through Malta first. However if you are using a VPS then the calls will go from London to Malta and back again, rather confusingly. But this will be a lot quicker than from a local connection (some other place) to London or Malta and finally back to London.
Are you sure that is correct?

As I understand it:

UK registered customers go:

Home (Depends on your connection) > Betfair London > Home (Depends on your connection)

UK registered customers using a VPS go:

Home (Depends on your connection) > VPS (0-15ms)>Betfair London> VPS (0-15ms) > Home (Depends on your connection)

International customers go:

Home (Depends on your connection) > Betfair London (30ms) > Betfair Malta (30ms) > Betfair London (30ms) > Betfair Malta (30ms) > Betfair London (30ms) > Home (Depends on your connection)

International customers using VPS go:

Home (Depends on your connection) > VPS (0-15ms) > Betfair London (30ms) > Betfair Malta (30ms) > Betfair London (30ms) > Betfair Malta (30ms) > Betfair London (30ms) > VPS (0-15ms) > Home (Depends on your connection)

If using a bot installed on the VPS:

As above respectively for both UK registered and International Customers but remove the Home > VPS and VPS > Home steps.

This is how I have understood it using Betfair's own information:

http://bdp.betfair.com/index.php?option ... Itemid=108

I may be wrong of course but that is how I understand it all using what I have read/know.
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

mctash wrote:BetAngel, I wonder if you could clarify how you connect to the UK at 0-15ms from almost anywhere in the world (surely you mean that's the approx response between VPS and BF Exchange?) given the speed of light travels at approx 186 miles per millisecond traveling through a vacuum?(Remember that number).
Yes that's what I mean, sorry if you mis-interpreted what I meant. Maybe I should have used the phrase "I can achieve a refresh of 0-15ms to Betfair via the VPS" from anywhere in the world.

You are under no obligation to use it, but I have found it immensely useful in the years I have used it.
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

andyfuller wrote:I may be wrong of course but that is how I understand it all using what I have read/know.
To be sure I have asked Betfair for clarity.

You use a VPS don't you Andy?
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

I just re-read that BDP document and it does seem to indicate you arrive in the UK first, so I stand corrected on that.
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Bet Angel wrote:You use a VPS don't you Andy?
I have used one in the past. I found it very helpful when I was having issues with my local connection to Betfair. My internet connection was fine connecting to everything bar Betfair but connecting to Betfair I was regularly (I mean every 10 to 20 seconds) getting responses over 1000ms and sometimes 3,000ms+.

By connecting via a VPS so my Home PC was now connecting to the VPS and the VPS was the thing connecting to Betfair, I went back to getting good response times.

However, I switched ISP to Zen and that solved my connection issues with Betfair and improved my response times to about 60ms. Therefore I didn't see much need for adding in another step so stopped using the VPS as allowing 15ms for the VPS to Betfair that meant that my connection to the VPS from home needed to be 45ms to equal my direct connection from Home to Betfair but would gain no extra benefit so I saw no benefit in it and just increased risk by adding a further step and chance for something else to go wrong.

As I said at the start of the post though, when I was having connections issues it was a God send :!:
Bet Angel wrote:I just re-read that BDP document and it does seem to indicate you arrive in the UK first, so I stand corrected on that.
It is a bit of an odd way they have of doing things but I assume it is to do with complying with something in their Bookmakers licence.

Just goes to show 10 years on and it is still possible to learn new things about trading on Betfair ;)
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

andyfuller wrote:Just goes to show 10 years on and it is still possible to learn new things about trading on Betfair ;)
:lol:

You would have thought they would route it through Malta first as by looping it through the UK first you could argue that the operations are not in fact offshore, which is why they introduced the order routing in the first place!
User avatar
mctash
Posts: 101
Joined: Wed May 12, 2010 2:11 pm

Hi BA,

Please don't think i was slating it. I'm not. As you rightly say it has its uses. I merely sought to explain technical details to those having difficulty.

As I said using a vps will have a MAJOR speed impact on any operation that originates from the VPS. It's just that manual operations are still subject to the latency between your pc and the VPS.

Tash
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

We have quite a few people that use VPS for many reasons, including using the spreadsheet and a VPS to trade in the background.

I use a VPS to trade Austrailian markets for the same reasons Austrailians may want to use a VPS to trade UK markets. But we are not recommending everybody buys one, just that its there as an option for people who want to benefit from the things it can bring.
User avatar
mctash
Posts: 101
Joined: Wed May 12, 2010 2:11 pm

Precisely BA, using a VPS with a response time of 15ms in those situations (automation at any level located on the vps) is going to give you a major speed advantage over average Joe connecting from his pc.
andyfuller
Posts: 4619
Joined: Wed Mar 25, 2009 12:23 pm

Bet Angel wrote:You would have thought they would route it through Malta first as by looping it through the UK first you could argue that the operations are not in fact offshore, which is why they introduced the order routing in the first place!
I agree it is an interesting point. From the BDP page it says:

"Your bet request from the UK to Betfair International in Malta
Bet request from Betfair International in Malta to the UK
Bet response (matched, unmatched, partially matched) from the UK to Betfair International in Malta
Your bet response from Betfair International to the UK
Your bet response from the UK to your location"


That would indicate that the Bet does not become Betfair's until it is received in Malta and thus until then it is still the Users. However, could it be argued that once Betfair UK receive it initially and handle it by sending it on to Malta it becomes their bet and not the Users?

If the fact that they handle it and thus it becomes their bet at that stage it would mean Betfair are liable for Levy on these bets placed on Horse Racing in the UK.

However, they are not stupid and as such I am sure they know what they are doing but I would say this is a much better area for the Levy Board/BHA to look at as opposed to chasing their tails with regards to Betfair as they are at the moment.
ndtcbet
Posts: 8
Joined: Sun May 03, 2009 12:44 pm

andyfuller wrote:I have used one in the past. I found it very helpful when I was having issues with my local connection to Betfair. My internet connection was fine connecting to everything bar Betfair but connecting to Betfair I was regularly (I mean every 10 to 20 seconds) getting responses over 1000ms and sometimes 3,000ms+.
I experience this problem.May be, I should try a different ISP or using VPS again.
ndtcbet
Posts: 8
Joined: Sun May 03, 2009 12:44 pm

To clarify my issue, I run a betfair performance test using betangel diagnostics, the result is:
2:51:47 PM : 390 ms
2:51:48 PM : 315 ms
2:51:48 PM : 311 ms
2:51:49 PM : 1318 ms
2:51:50 PM : 311 ms
2:51:50 PM : 311 ms
2:51:50 PM : 312 ms
2:51:51 PM : 312 ms
2:51:51 PM : 313 ms
2:51:51 PM : 310 ms
2:51:52 PM : 312 ms
2:51:52 PM : 311 ms
2:51:52 PM : 311 ms
2:51:52 PM : 311 ms
2:51:54 PM : 1316 ms
2:51:54 PM : 311 ms
2:51:54 PM : 311 ms
2:51:55 PM : 311 ms
2:51:55 PM : 311 ms
2:51:55 PM : 310 ms
2:51:56 PM : 311 ms
2:51:56 PM : 314 ms
2:51:56 PM : 312 ms
2:51:57 PM : 311 ms
2:51:57 PM : 314 ms
2:51:57 PM : 312 ms
2:51:59 PM : 1312 ms
2:51:59 PM : 311 ms
2:51:59 PM : 311 ms
2:51:59 PM : 311 ms
2:52:00 PM : 311 ms
2:52:00 PM : 310 ms
2:52:00 PM : 312 ms
2:52:01 PM : 312 ms
2:52:01 PM : 311 ms
2:52:01 PM : 311 ms
2:52:02 PM : 311 ms
2:52:03 PM : 1319 ms
2:52:03 PM : 311 ms
2:52:04 PM : 311 ms
2:52:04 PM : 311 ms
2:52:04 PM : 311 ms
2:52:05 PM : 311 ms
2:52:05 PM : 311 ms
2:52:05 PM : 312 ms
2:52:06 PM : 1312 ms
2:52:07 PM : 311 ms
2:52:07 PM : 312 ms
2:52:07 PM : 311 ms
2:52:08 PM : 310 ms
2:52:09 PM : 1317 ms
2:52:09 PM : 311 ms
2:52:10 PM : 313 ms
2:52:10 PM : 311 ms
2:52:10 PM : 311 ms
2:52:11 PM : 313 ms
2:52:11 PM : 311 ms
2:52:11 PM : 311 ms
2:52:12 PM : 312 ms
2:52:12 PM : 310 ms
2:52:12 PM : 311 ms
2:52:12 PM : 311 ms
2:52:13 PM : 312 ms
2:52:13 PM : 313 ms
2:52:13 PM : 311 ms
2:52:14 PM : 311 ms
2:52:14 PM : 311 ms
2:52:14 PM : 311 ms
2:52:15 PM : 312 ms
2:52:15 PM : 311 ms
2:52:15 PM : 311 ms
2:52:16 PM : 311 ms
2:52:17 PM : 1320 ms
2:52:17 PM : 312 ms
2:52:18 PM : 312 ms
2:52:18 PM : 311 ms
2:52:18 PM : 312 ms
2:52:18 PM : 311 ms
2:52:19 PM : 312 ms
2:52:19 PM : 313 ms
2:52:20 PM : 1319 ms
2:52:22 PM : 1323 ms
2:52:22 PM : 313 ms
2:52:23 PM : 1321 ms
2:52:24 PM : 312 ms
2:52:24 PM : 312 ms
2:52:24 PM : 312 ms
2:52:25 PM : 313 ms
2:52:25 PM : 312 ms
2:52:25 PM : 310 ms
2:52:26 PM : 312 ms
2:52:26 PM : 311 ms
2:52:26 PM : 311 ms
2:52:26 PM : 310 ms
2:52:27 PM : 311 ms
2:52:27 PM : 312 ms
2:52:27 PM : 312 ms
2:52:28 PM : 312 ms
2:52:28 PM : 310 ms
2:52:28 PM : 312 ms
2:52:29 PM : 312 ms
2:52:29 PM : 311 ms
2:52:29 PM : 311 ms
2:52:30 PM : 310 ms
2:52:30 PM : 313 ms
2:52:30 PM : 311 ms
2:52:31 PM : 311 ms
2:52:31 PM : 312 ms
2:52:31 PM : 312 ms
2:52:31 PM : 314 ms
2:52:32 PM : 311 ms
2:52:32 PM : 314 ms
2:52:32 PM : 312 ms
2:52:33 PM : 311 ms
2:52:33 PM : 310 ms
2:52:33 PM : 310 ms
2:52:34 PM : 313 ms
2:52:34 PM : 312 ms
2:52:34 PM : 311 ms
2:52:35 PM : 310 ms
2:52:35 PM : 312 ms
2:52:35 PM : 313 ms
2:52:36 PM : 312 ms
2:52:36 PM : 310 ms
2:52:36 PM : 312 ms
2:52:36 PM : 311 ms
2:52:37 PM : 311 ms
2:52:37 PM : 311 ms
2:52:37 PM : 311 ms
2:52:38 PM : 310 ms
2:52:38 PM : 312 ms
2:52:38 PM : 311 ms
2:52:39 PM : 311 ms
2:52:39 PM : 311 ms
2:52:39 PM : 312 ms
2:52:41 PM : 1320 ms
2:52:41 PM : 311 ms
2:52:41 PM : 310 ms
2:52:41 PM : 312 ms
2:52:42 PM : 314 ms
2:52:42 PM : 310 ms
2:52:42 PM : 312 ms
2:52:43 PM : 311 ms
2:52:43 PM : 311 ms
2:52:43 PM : 311 ms
2:52:44 PM : 311 ms
2:52:44 PM : 312 ms
2:52:44 PM : 310 ms
2:52:45 PM : 311 ms
2:52:46 PM : 1312 ms
2:52:46 PM : 311 ms
2:52:47 PM : 312 ms
2:52:47 PM : 310 ms
2:52:48 PM : 1317 ms
2:52:48 PM : 311 ms
2:52:50 PM : 1319 ms
2:52:50 PM : 311 ms
2:52:50 PM : 315 ms
2:52:51 PM : 311 ms
2:52:51 PM : 311 ms
2:52:51 PM : 311 ms
2:52:52 PM : 311 ms
2:52:52 PM : 311 ms
2:52:52 PM : 312 ms
2:52:53 PM : 310 ms
2:52:53 PM : 312 ms
2:52:53 PM : 313 ms
2:52:54 PM : 310 ms
2:52:54 PM : 312 ms
2:52:54 PM : 313 ms
2:52:54 PM : 311 ms
2:52:55 PM : 311 ms
2:52:55 PM : 311 ms
2:52:55 PM : 311 ms
2:52:56 PM : 311 ms
2:52:56 PM : 311 ms
2:52:56 PM : 312 ms
2:52:57 PM : 312 ms
2:52:57 PM : 311 ms
2:52:57 PM : 311 ms
2:52:58 PM : 314 ms
2:52:58 PM : 312 ms
2:52:59 PM : 1321 ms
2:53:00 PM : 354 ms
2:53:00 PM : 312 ms
2:53:00 PM : 312 ms
2:53:01 PM : 312 ms
2:53:01 PM : 312 ms
2:53:01 PM : 312 ms
2:53:01 PM : 311 ms
2:53:02 PM : 312 ms
2:53:02 PM : 312 ms
2:53:03 PM : 1320 ms
2:53:04 PM : 312 ms
2:53:05 PM : 1318 ms
2:53:05 PM : 312 ms
2:53:06 PM : 313 ms
2:53:06 PM : 311 ms
2:53:06 PM : 311 ms
2:53:07 PM : 312 ms
2:53:07 PM : 311 ms
2:53:07 PM : 313 ms
2:53:08 PM : 311 ms
2:53:08 PM : 312 ms
2:53:08 PM : 311 ms
2:53:08 PM : 312 ms
2:53:09 PM : 313 ms
2:53:09 PM : 312 ms
2:53:09 PM : 311 ms
2:53:10 PM : 312 ms
2:53:10 PM : 311 ms
2:53:10 PM : 311 ms
2:53:11 PM : 311 ms
2:53:11 PM : 312 ms
2:53:11 PM : 313 ms
2:53:12 PM : 312 ms
2:53:12 PM : 311 ms
2:53:12 PM : 312 ms
2:53:13 PM : 312 ms
2:53:13 PM : 313 ms
2:53:13 PM : 312 ms
2:53:13 PM : 311 ms
2:53:14 PM : 316 ms
2:53:14 PM : 320 ms
2:53:14 PM : 310 ms
2:53:15 PM : 312 ms
2:53:15 PM : 311 ms
2:53:15 PM : 312 ms
2:53:16 PM : 311 ms
2:53:16 PM : 312 ms
2:53:16 PM : 312 ms
2:53:17 PM : 311 ms
2:53:17 PM : 313 ms
2:53:17 PM : 312 ms
2:53:18 PM : 313 ms
2:53:18 PM : 312 ms
2:53:18 PM : 311 ms
2:53:18 PM : 311 ms
2:53:19 PM : 311 ms
2:53:19 PM : 312 ms
2:53:19 PM : 314 ms
2:53:20 PM : 312 ms
2:53:20 PM : 311 ms
2:53:20 PM : 312 ms
2:53:21 PM : 312 ms
2:53:21 PM : 312 ms
2:53:21 PM : 313 ms
2:53:22 PM : 310 ms
2:53:22 PM : 312 ms
2:53:22 PM : 312 ms
2:53:26 PM : 3328 ms
2:53:26 PM : 312 ms
2:53:26 PM : 313 ms
2:53:26 PM : 312 ms
2:53:27 PM : 311 ms
2:53:27 PM : 314 ms
2:53:27 PM : 312 ms
2:53:28 PM : 313 ms
2:53:28 PM : 311 ms
2:53:28 PM : 311 ms
2:53:29 PM : 312 ms
2:53:29 PM : 312 ms
2:53:29 PM : 314 ms
2:53:30 PM : 312 ms
2:53:31 PM : 1321 ms
2:53:31 PM : 312 ms
2:53:32 PM : 312 ms
2:53:32 PM : 311 ms
2:53:32 PM : 312 ms
2:53:32 PM : 313 ms
2:53:33 PM : 312 ms
2:53:33 PM : 313 ms
2:53:34 PM : 1314 ms
2:53:35 PM : 312 ms
2:53:35 PM : 311 ms
2:53:35 PM : 312 ms
2:53:36 PM : 312 ms
2:53:37 PM : 1314 ms
2:53:37 PM : 312 ms
2:53:38 PM : 312 ms
2:53:38 PM : 312 ms
2:53:38 PM : 311 ms
2:53:39 PM : 310 ms
2:53:39 PM : 313 ms

As you can see that, about every 5s I got a very poor response time up to 1300ms, that make me impossible to trade. Is there any one else experience the same problem?. Any more suggestion?. By the way ,I appreciate the info all you guys gave me about BF,VPS.
Bet Angel
Bet Angel
Bet Angel
Posts: 4110
Joined: Tue Apr 14, 2009 3:47 pm

How about a test, we can give you temporary access and lets see what difference it makes.
Post Reply

Return to “Support”