#23517: Collect static files in parallel
-------------------------------------+-------------------------------------
     Reporter:  thenewguy            |                    Owner:  Carles
         Type:                       |  Barrobés i Meix
  Cleanup/optimization               |                   Status:  assigned
    Component:  contrib.staticfiles  |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Someday/Maybe
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * owner:  nobody => Carles Barrobés i Meix
 * stage:  Unreviewed => Someday/Maybe
 * status:  new => assigned
 * type:  Uncategorized => Cleanup/optimization
 * version:  1.7 => dev

Comment:

 This could be worth adding so that any backend can benefit, but there is a
 concern on the [https://github.com/django/django/pull/19935 PR] about race
 conditions. Carles responds:

 > I had a go at adding workers to django-manifeststaticfiles-enhanced And
 ended up with an approach of, find the files first and then process them
 with workers.
 > It required more code changes, and I had to make more use of locks to
 control access to the shared state and I had to figure out how to handle
 thread safety issues with umask when making directories. Have a look and
 see if it has any value.

 If we can advance the proof of concept so that it does not have race
 conditions and doesn't come with a high complexity cost, I think we can
 move this out of ''Maybe'' status.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/23517#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070199dde4c2f8-69d09650-567d-4187-9b29-4c73ac0a6843-000000%40eu-central-1.amazonses.com.

Reply via email to