scikit-image / skimage-sandbox

Server for executing remote snippets (used in examples gallery)
1 stars 4 forks source link

Handling 'intelligent spam' #12

Open sharky93 opened 10 years ago

sharky93 commented 10 years ago

We have a limited resource of execution at our hand so need to save it from spam. By 'intelligent spam' i mean robots using legitimate Python code generating images etc. Introducing a CAPTCHA might be overdoing things since it would make the process more tiresome.

I think rate limiting requests based on IP addresses etc might just work out fine. Can surely start out with a simple system.

Any other ideas?

sharky93 commented 10 years ago

With the queue's in place, only a fixed number of containers are ever allowed to run at a time, so we're good for now. Might need an IP based filter in the future.

Refer - https://github.com/scikit-image/skimage-docker/commit/5be14944a3c7a2074b431e35b8bd03d9c876643e and https://github.com/scikit-image/skimage-docker/commit/b41e54fcc480d80060374b1ea7a76d372b444257