On 03/04/2010 01:52 AM, John Cremona wrote:
> Could that be solved by doing that startup as soon as the person logs
> in?  Or as soon as they open the worksheet (before they do the first
> evaluate)?

We already do the latter (though not for doc worksheets).  From
sagenb.notebook.twist, around line 1515:

class Worksheet(WorksheetResource, resource.Resource):
    addSlash = True

    def render(self, ctx):
        self.worksheet.sage()
        s = notebook.html(worksheet_filename = self.name,
username=self.username)
        return HTMLResponse(stream=s)

Worksheet.sage starts the worksheet process, if it's not already started.


Of course, it's possible to attempt *several* cell operations in the
time it might take for startup and other delays to pass.


Is memory use a problem, particularly on busy servers?

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to