#2070: [patch] Large streaming uploads
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian
     Type:  defect                    |      Status:  new   
 Priority:  high                      |   Milestone:        
Component:  Core framework            |     Version:        
 Severity:  normal                    |    Keywords:        
--------------------------------------+-------------------------------------
 Based on code from ticket 1448.
 
 Test for large file upload
 
 {{{
 
 from django.db import models
 
 # Create your models here.
 class FileList(models.Model):
     name = models.CharField(maxlength=255)
     email = models.EmailField()
 
     class Admin:
         pass
 
 class AFile(models.Model):
     descr = models.CharField(maxlength=255,core=True)
     file = models.FileField(upload_to='files')
     inlist = models.ForeignKey(FileList,edit_inline=models.STACKED)
 
 }}}
 
 And two 500 megabyte files for upload.
 
 Works with the patch with +20 mb above average memory and minimal cpu load
 usage by the httpd thread, file upload successful.
 
 Without the patch httpd rages to +140 mb above average memory usage and
 over 60% cpu usage and fails miserably in the end.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2070>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to