Re:Battlesnake – Competitive Snake Games over HTTP
by gschier on Tuesday February 19, 2019 @03:28PM
(#19202463)
Just curious, what would be the best hosting option for beginners to use for their snake API server?
[ Parent
| on HN ]
Re:Battlesnake – Competitive Snake Games over HTTP
by tills13 on Tuesday February 19, 2019 @04:09PM
(#19202821)
Historically, they've recommended Heroku... however, their dynos have a cold-start problem, causing your snake to sometimes timeout. I would recommend using an AWS free-tier instance if you have the option.
Re:Battlesnake – Competitive Snake Games over HTTP
by cakebrewery on Tuesday February 19, 2019 @04:39PM
(#19203098)
I remember that, they recommended a workaround last minute for it. Our snake depended on simulations so we just spun up a beefy GCP instance for a short period at the expense of a few cents.
Re:Battlesnake – Competitive Snake Games over HTTP
by tills13 on Tuesday February 19, 2019 @05:02PM
(#19203298)
hah! last year, for our bounty snake, we used a c4.2xlarge. Still, we could only manage a depth of 6-7 before hitting the response-time limit.
Re:Battlesnake – Competitive Snake Games over HTTP
by nullandvoid on Tuesday February 19, 2019 @04:27PM
(#19202981)
If you're looking for something easy to get started with digitalocean / linode offer reasonable plans ( and you can always host a site or something with the extra power you'll have spare )
Alternatively aws offers 12 months limited 'free' usage on many of its services last time I checked - you should be able to use their most basic ec2 instance within that free tier I believe
Re:Battlesnake – Competitive Snake Games over HTTP
by bvanvugt on Tuesday February 19, 2019 @03:38PM
(#19202546)
Heroku is a really good option for beginners (and it's free!) We've got a few repos on GitHub that can be forked and deployed directly to Heroku:
https://github.com/battlesnakeio/community/blob/master/start...
Re:Battlesnake – Competitive Snake Games over HTTP
by xtagon on Tuesday February 19, 2019 @11:59PM
(#19205629)
All the options other people are suggesting are good, but if you host on Google Cloud Compute's us-west1 region you'll get very low latency as that's the region from which they send the HTTP requests.