Improving VPS Performance

A place to discuss anything.
Post Reply
Vovsen
Posts: 107
Joined: Sat Nov 03, 2018 4:50 pm

I got a VPS running only one instance of BA and it is much slower than my home PC for some reason.

I changed the Priority in Task Manager to High and under Affinity all cores are ticked.

VPS runs at around 10-20% CPU / 16% Memory

Home PC runs at around 20-30% CPU / 6% Memory

It is the exact same BA settings on the VPS, but it is refreshing prices 5x faster on my home PC, even though the VPS is in UK and the home PC is in Denmark.

I got the VPS to get faster market updates/refreshing, but it is not even close to as fast.

If anyone has any tips it would be much appreciated
User avatar
ShaunWhite
Posts: 10559
Joined: Sat Sep 03, 2016 3:42 am

Mem and cpu both look fine, lots of spare capacity on both.
Is it actually refreshing slower or are you just seeing a slower refresh because you're watching it through RDP?

You won't get faster refreshes with a VPS vs a local machine, at best you might get a price a fraction sooner (if the ping is shorter) but we're talking milliseconds and you wouldn't perceive it without measuring somehow vs another location. Betfair push prices and that has a min time between packets, iro the 20ms BA max refresh rate, that's as fast as they get. The other side of the coin is bet placement & cancellation but differences are again marginal and not something you'd see.
Vovsen
Posts: 107
Joined: Sat Nov 03, 2018 4:50 pm

ShaunWhite wrote:
Sat Aug 01, 2020 5:41 am
Mem and cpu both look fine, lots of spare capacity on both.
Is it actually refreshing slower or are you just seeing a slower refresh because you're watching it through RDP?

You won't get faster refreshes with a VPS vs a local machine, at best you might get a price a fraction sooner (if the ping is shorter) but we're talking milliseconds and you wouldn't perceive it without measuring somehow vs another location. Betfair push prices and that has a min time between packets, iro the 20ms BA max refresh rate, that's as fast as they get. The other side of the coin is bet placement & cancellation but differences are again marginal and not something you'd see.
Thanks Shaun, yes it is refreshing slower.

I am comparing them by having the same rule running on the same market, storing values that refreshes every update and unlimited triggers.

I start the rule at the same time on both machines, but when the VPS have triggered the rule around 200 times, the home PC will have triggered around 1000 times, so around 5 times faster.

Guess I will probably try another VPS next month to see how they compare
Post Reply

Return to “General discussion”