by was_a_dev · 4y ago · 0 comments
That's fine for a blog I guess, but this I perform a non-trivial calculation for each request, so I'd rather not have bot spam. (This is hosted on a computer in my living room, so I can't just scale it up)
Since you serve Swedish weather info from marginalia I'm assuming you live in Sweden, is that correct? Could you very briefly explain how you host and serve pages from your living room and what your bandwidth is?
Does your ISP get cranky when you see DOS type of traffic?
I'm a fellow hobbyist search engine dev, also from Sweden. Whenever I demonstrate my search engine by hosting in the cloud the expenses get so big I have to go offline after a short while and I've therefore been contemplating personal, living room hosting.
It is indeed.
> Could you very briefly explain how you host and serve pages from your living room and what your bandwidth is?
100/100 mbit municipal broadband, through Bahnhof.
> Does your ISP get cranky when you see DOS type of traffic?
Haven't heard a word form them, although you'd be surprised how far I am from saturating my line. Your average bittorrent enthusiast probably uses a lot more. I do try to not be a nuisance though. Cloudflare helps take the edge off things, as does running a local DNS cache.
> I'm a fellow hobbyist search engine dev, also from Sweden. Whenever I demonstrate my search engine by hosting in the cloud the expenses get so big I have to go offline after a short while and I've therefore been contemplating personal, living room hosting.
You might also consider server rental. Can get away with SEK 2-4k/month. My server, including UPS and other expenses is like SEK 40k, plus I expect to burn through an SSD once a year or so.
Any reason why caching wouldn't work here? Do the results have to be different on each request instead of being cached for a short while (10 seconds)?
If it was more than a toy, it would need to be less aggresive