Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like you're using GAE. Not having much experience with it, I'm wondering if GAE provides the CPU jailing, or did you have to write some voodoo yourself?

I ask because it's trivially easy to send a statement containing a single bytecode that takes a really long time to execute, at least in CPython:

>>> print 999 * 0 # => 0, so not a bandwidth issue

If I send this to your backend in a bunch of tabs (I didn't) could that be a DoS?

Also, are you thinking of putting the backend code on github?

EDIT: HN swallowed my exponentiation. That should read "print nine to the nine to the nine, times zero". Without the times zero, that's a huge number.



  >>> print 9**9**9*0 # => 0
Text after a blank line that is indented by two or more spaces is reproduced verbatim. http://news.ycombinator.com/formatdoc (the help link is in the bottom-right corner)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: