4 ms·
Just curious, what would be the best hosting option for beginners to use for their snake API server?
by gschier 8y ago
Just curious, what would be the best hosting option for beginners to use for their snake API server?
- bvanvugt 8y agoHeroku 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/starter-snakes.md https://github.com/battlesnakeio/community/blob/master/start...
- tills13 8y agoHistorically, 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.
- cakebrewery 8y agoI 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.
- tills13 8y agohah! 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.
- nullandvoid 8y agoIf 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
- deleted 8y ago[deleted]
- xtagon 8y agoAll 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.
- rkangel 8y agoI'm a fan of Google app engine for pain free deployment of simple things. If I have a go at this later, it'll be a Phoenix (Elixir) app running on app engine flex.