VPS questions

A place to discuss anything.
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Dallas wrote:
Mon Nov 04, 2019 5:57 pm
its because the BA VPS setup, configuration and location etc is already known that the server edition has also been set up and configured so that it runs optimally from those servers.
Are you just talking about default BA connection settings or something more fundamental? If so, what?
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Bog wrote:
Mon Nov 04, 2019 5:59 pm
If I want to do a test, 1 vCPU, 2GB RAM, 3TB Bandwidth (similar to Bet Angel VPS Basic) it's enough for one month?
Glad you found it useful. That spec should be enough if you only want to run 1 or 2 instances. I don't actually run BA on my VPS so can't really comment with any great certainty.
User avatar
Dallas
Posts: 22674
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

ShaunWhite wrote:
Mon Nov 04, 2019 7:34 pm
Dallas wrote:
Mon Nov 04, 2019 5:57 pm
its because the BA VPS setup, configuration and location etc is already known that the server edition has also been set up and configured so that it runs optimally from those servers.
Are you just talking about default BA connection settings or something more fundamental? If so, what?
Connection settings, as you'll know every PC is different and Bet Angel has communication settings to allow users to get the best performance from their own individual set ups, but with the VPS's supplied by BA the performance/internet connection/ping times etc are all known so the server edition is already tuned to be as optimised as possible.
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Dallas wrote:
Mon Nov 04, 2019 8:07 pm
Connection settings, as you'll know every PC is different and Bet Angel has communication settings to allow users to get the best performance from their own individual set ups, but with the VPS's supplied by BA the performance/internet connection/ping times etc are all known so the server edition is already tuned to be as optimised as possible.
Sounds reasonable but I can't think why that would crash a different server, especially one that's a higher spec & with a 1ms ping to the BF data centre. And why a whole different version rather than just different settings? It's only academic really as I don't/can't use it but I've never come across anything that will run on one vps, but crash on another using the same OS. I'm fishing for the actual difference so that I can apply the same 'optimisation' to my own software tbh. That and the fact that mysterious errors are always a source of fascination. Can anyone from the dev team shed any light?
Balmus
Posts: 158
Joined: Fri Dec 01, 2017 12:22 pm

What VPS are you using that is giving you a 1ms ping to betfair? Thanks.
User avatar
Kafkaesque
Posts: 886
Joined: Fri Oct 06, 2017 10:20 am

ShaunWhite wrote:
Mon Nov 04, 2019 5:42 pm
As for security/setup I always do the following...

1. Install all latest Windows updates
2. Create a new login which has admin privileges (do this under Admin Tools > Computer Management > Local Users and Groups > Users
Add to Administrator group
3. Disable the Administrator account (otherwise people will know that's a valid username)
4. Make sure the Windows Firewall is On
  - If it is on, then the default settings are fine
  - If it is off, then be very careful when enabling it for the first time, since you must check that Remote Desktop access is allowed, otherwise you'll cut yourself off and not be able to get back in without tech support
5. Under Control Panel > Administrative Tools > Local Security Policy > Account Policies, set Account lockout threshold to 5 incorrect attempts, lock it out for 30 mins, and reset count after 30 mins. That will prevent brute force attacks.
6. Under Local Security Policy > Local Policies > Security Policy > Accounts:Administrator account status. Add Administrator to the "Deny log on through Remote Desktop Services", but that's probably unnecessary if you've disabled the account already
7.Start >run> gpedit.msc > Computer Configuration >Windows settings --Security Settings -- Local Policies -- Security Options > User Account Control: Run all administrators in Admin Approval Mode - Set to Disabled. (otherwise when you try and move files with batch scripts you'll get the confirmation prompt which will halt the execution.
8.Reboot

I haven't found it necessary to run any 3rd party security but obv that's your choice.

(I can't be responsible for errors in the above but I recently set up another VPS, following my own notes and all seems fine)
I know from a past thread on people's background, there's a fair few - like Shaun - with a background in computer science in one form or another. If someone can concur that this would be an overall good security protocol, then I really think this would be a good candidate for a tagged post (in a new thread) to keep it at the top of whichever sub-forum the admins here feels it belongs in.
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Balmus wrote:
Mon Nov 04, 2019 11:55 pm
What VPS are you using that is giving you a 1ms ping to betfair? Thanks.
I'd rather not say. After months of trails and tests it would be a bit wreckless to just give away any small advantage I might have gained given the significant amount of time and money I've invested in the research.

TBF it's only a small niche area where milliseconds have any real advantage and you'd probably need to write your own software to get into that arena. There are many many people doing perfectly well on most VPSs including the BA VPS. Speed is often thought of as being a magic fix for not doing well, but usually said without any firm tangible evidence. It never comes with any sort of proof and you can be first to a bad price as well as a good one. Having the most horsepower can see you spin off into a ditch just as easily as setting lap records, unless the whole package of software and strategy is in place too.

What I won't do (and not just because it's a BA forum), is suggest that BA VPS is in any way inferior because it's not. My choice is informed by the fact that I like to have a little more flexibility around on-demand sizing and tools for creating temporary server instances which I might only use for a few hours. If I didn't do things like that then the BA server would be on my list.
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Kafkaesque wrote:
Tue Nov 05, 2019 12:12 am
If someone can concur that this would be an overall good security protocol,
I'd be happy for comments & amendments too. Assuming you're right is the surest way to fail and the last time I configured a serious system the manual was in Latin, Windows Server MDLXVIII I think.

Btw you can't just post my comments as a sticky, I hear the going rate for reproducing comments and advice as an ebook is 20 quid. :roll:
User avatar
ShaunWhite
Posts: 9731
Joined: Sat Sep 03, 2016 3:42 am

Balmus wrote:
Mon Nov 04, 2019 11:55 pm
What VPS are you using that is giving you a 1ms ping to betfair? Thanks.
I've just run my tests again and it's 1ms to the internet backbone and in the region of 10ms to the exchange. Sorry to have misled you, it's while since I did it and misremembered. :roll: My correction means you won't spend the next 6 months looking for the impossible.
User avatar
Bog
Posts: 190
Joined: Sat Aug 11, 2018 7:19 am

ShaunWhite wrote:
Mon Nov 04, 2019 7:37 pm
Bog wrote:
Mon Nov 04, 2019 5:59 pm
If I want to do a test, 1 vCPU, 2GB RAM, 3TB Bandwidth (similar to Bet Angel VPS Basic) it's enough for one month?
Glad you found it useful. That spec should be enough if you only want to run 1 or 2 instances. I don't actually run BA on my VPS so can't really comment with any great certainty.
Cheers Shaun. For the 3TB bandwidth, it's there any recommended way to keep track of how much its left in a particular month ?
Balmus
Posts: 158
Joined: Fri Dec 01, 2017 12:22 pm

ShaunWhite wrote:
Tue Nov 05, 2019 2:55 am
Balmus wrote:
Mon Nov 04, 2019 11:55 pm
What VPS are you using that is giving you a 1ms ping to betfair? Thanks.
I've just run my tests again and it's 1ms to the internet backbone and in the region of 10ms to the exchange. Sorry to have misled you, it's while since I did it and misremembered. :roll: My correction means you won't spend the next 6 months looking for the impossible.
I have spent a while looking and have found a 10ms solution. I was 90% sure you where referring to the Internet ping as the betfair traffic is routed through an anti Ddos provider ( https://www.akamai.com/uk/en/nd ) and 1ms would have some way circumvented that step. There are some providers I have yet to test. There are some ultra low latency ones in the London docklands that may be slightly faster. Will test and report back.
User avatar
megarain
Posts: 2041
Joined: Thu May 16, 2013 1:26 pm
Contact:

I have noticed a trend in the last 2 weeks that my servers seem to crash overnight.

Typically, I will try to log in, and the next morning, and be meeted with a message saying windows has recovered from an unexpected error.

Anyone elkse seeing this ?
sa7med
Posts: 800
Joined: Thu May 18, 2017 8:01 am

megarain wrote:
Fri Dec 27, 2019 7:28 am
I have noticed a trend in the last 2 weeks that my servers seem to crash overnight.

Typically, I will try to log in, and the next morning, and be meeted with a message saying windows has recovered from an unexpected error.

Anyone elkse seeing this ?
Haven't had any trouble on the three that I have. Are you running anything new?
User avatar
megarain
Posts: 2041
Joined: Thu May 16, 2013 1:26 pm
Contact:

I have 7 VPS.

At least 3 crash daily.

I thought winzip was causing it it, and took it off, which has helped, but its still happening.

One just crashed now, as I was using it.
shutdown event tracker.jpg
unexpected error.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Euler
Posts: 24701
Joined: Wed Nov 10, 2010 1:39 pm
Location: Bet Angel HQ

I'll drop you a note and see if I can see forensically see what is causing the error.
Post Reply

Return to “General discussion”