[hackerspaces] SpaceAPI being polled fast
Yvan Janssens
yvan at janssens.pm
Tue Oct 30 10:54:00 CET 2012
Or you can use a caching service like cloudflare.com.
Personally I am quite happy with them - on my NullPointer TLD they catch about 60% of the traffic, and because of this I can stay into the "free" tier at Amazon.
They also provide excellent DNS services, and auto-spambot killing. And you can hide the real IP of your server ;-).
Yvan
________________________________________
From: discuss-bounces+yvan=janssens.pm at lists.hackerspaces.org on behalf of ☮ elf Pavlik ☮
Sent: dinsdag 30 oktober 2012 11:42
To: discuss
Subject: Re: [hackerspaces] SpaceAPI being polled fast
Excerpts from Ward De Ridder's message of 2012-10-30 10:31:02 +0000:
> On 10/30/12 11:25, ☮ elf Pavlik ☮ wrote:
> > Excerpts from Eric Stein's message of 2012-10-30 05:01:54 +0000:
> >> Since when is 25 seconds too much? The responses are small, this is not
> >> a big deal. Just FYI it is not me doing it.
> > can we just add to api itself some kind of: min_pool_interval?
> > if someone's script doesn't respect it than can just get blacklisted...
> > _______________________________________________
> > Discuss mailing list
> > Discuss at lists.hackerspaces.org
> > http://lists.hackerspaces.org/mailman/listinfo/discuss
> Blacklisting isn't that easy, I'm just checking the logs and the log bot
> changes IP every hour. The only way to prevent this would be an
> automatic script, and you always get the chanse for a false positive
> (someone hitting refresh a couple of time becouse the response is slow).
>
> Ward
Oh, true... with CORS enabled client apps pool api endpoints directly + no-cache means we can't expect low trafic on it, and it will increase more and more once more people start suing apps using space-api... maybe we need to look at some pub/sub approaches which allow push?
_______________________________________________
Discuss mailing list
Discuss at lists.hackerspaces.org
http://lists.hackerspaces.org/mailman/listinfo/discuss
More information about the Discuss
mailing list