2 years ago
a while ago I talked to Brody if Railway allows scraping, the short answer is "we'll take down your project if we get a take down notification".
but still, can I take the risk of hosting it in Railway? like will you guys remove it immediately or only if the project gets a notification?
asking this bcs im having problem with another provider, not related to the project itself but billing stuff, and i really dont want to go to GCP or AWS for this.
35 Replies
2 years ago
N/A
2 years ago
twitter scraper?
2 years ago
no, the football thing
2 years ago
is your bot a good bot
2 years ago
if it does respect robots.txt? no, but clearly i wont ddos the site with requests
2 years ago
would the robots.txt rules disallow your bot?
2 years ago
it uses a user-agent: * to disallow the paths i want to go
2 years ago
hmmmm
2 years ago
and btw the website i want to scrape gets its data from a bigger company (by scraping)
2 years ago
so they're scraping anyway
2 years ago
is there really no API for the data you want?
2 years ago
not from the official company
2 years ago
its EA btw
2 years ago
what's the max rps your bot would do
2 years ago
it depends, for scraping i can reduce it to 10 or 30 rps (it only scrapes in intervals bigger than one hour so i can reduce it no problem). i also download some images.
there's a single specific endpoint that needs to be in realtime when my customer requests it but only premium users would have access to it
2 years ago
and if im correct, most endpoints im getting the data from seems to be cached in Cloudflare anyway
2 years ago
should be no harm then
2 years ago
but yes we will not hesitate to take it down if we receive a report
2 years ago
ok and another question, would my project get taken down or my whole account?
2 years ago
whole team
2 years ago
we’re walking the line of a big big if here
2 years ago
if you’re not abusing the site, then they won’t issue a takedown request
2 years ago
therefore, railway won’t take down your app
2 years ago
If your app doesn’t respect the robots.txt, you’re taking a risk
2 years ago
but that risk isn’t huge
2 years ago
30 rps is a lot though, so up to you to implement mitigations
2 years ago
Is there a reason why you need updates at that frequency?
2 years ago
could you update at a lower frequency/get your data from a different source?
2 years ago
if you know they’re getting their data from EA at a high frequency, why not do the same?
2 years ago
30 rps is just the max peak it might get, pretty sure that most of the time it'll be below that
2 years ago
there isn't any other source available that gets all the data I need, and yes for now the interval is about every 12 hours but I might decrease that if needed by any customer
2 years ago
it needs auth and overall it's a mess to deal with it but in the future maybe
2 years ago
and just being sure: yes I'm taking into account any request I made to the server to not overwhelm it
2 years ago
so final answer, run it on railway
2 years ago
!s
Status changed to Solved brody • over 1 year ago