[plt-scheme] web-server: saving memory in file uploads

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Wed Mar 21 12:01:01 EDT 2007

I haven't had this problem before. But both your ideas make sense and
I can look at how best to integrate them into the server, perhaps you
and I can work together on the right patch?


On 3/21/07, Dave Gurnell <d.j.gurnell at gmail.com> wrote:
> Dear Schemers,
> I've been doing a lot of work with file uploads to the web-server
> using Jay's LRU continuation manager. I've noticed that when people
> upload large files:
>      - the files are loaded into memory as part of the request object;
>      - the high memory usage causes the LRU manager to collect all
> (older) continuations.
> This is bad because our users are frequently getting expired pages.
> Is there any way to save memory in file uploads (e.g. can the web-
> server represent uploaded files as input-ports or save them to the
> file system)?
> Cheers,
> -- Dave
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay.mccarthy at gmail.com>

Posted on the users mailing list.