[hackerspaces] SpaceAPI being polled fast

☮ elf Pavlik ☮ perpetual-tripper at wwelves.org
Tue Oct 30 11:42:33 CET 2012

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?

More information about the Discuss mailing list