-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

On 6/13/2009 8:57 PM, Martin Gainty wrote:
> how do you accomodate multi-mb size files?

You do one of the following:

1. Use some means to determine the file size a priori (like using a
   static file, but in a database, so you can ask the db how big it is)

2. Buffer the file on the disk instead of in-memory

3. Just move the file to the disk instead of serving it out of a
   database

4. Suck it up and not deliver the Content-Length header, disabling
   CDN caching :(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko2dUQACgkQ9CaO5/Lv0PDhHQCaA8aLXWDdTqEj3m7a6rULytRm
bj0An2uYNaWWFGwQ7qugpW8PWPBdfaTe
=+7Iq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to