Letractively / sagenb

Automatically exported from code.google.com/p/sagenb
0 stars 0 forks source link

list of public worksheets reads every published worksheet from disk #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It appears that in order to display the list of public worksheet, every 
worksheet is read from disk.  This is, of course, horrible for scalability, as 
sagenb.org has over 3000 published worksheets.  

I think we should get this list from the worksheet cache, and just load all 
published worksheets into the cache at the very start.

A consequence of this is that it is trivial to do a denial of service on 
sagenb.org by simply requesting the /pub/ listing, and you don't even have to 
do it very rapidly.

Original issue reported on code.google.com by jason-go...@creativetrax.com on 8 Nov 2011 at 4:22

GoogleCodeExporter commented 8 years ago

Original comment by jason-go...@creativetrax.com on 12 Nov 2011 at 2:21