#23517: Collect static files in parallel
-------------------------------------+-------------------------------------
Reporter: thenewguy | Owner: Carles
| Barrobés i Meix
Type: New feature | Status: closed
Component: contrib.staticfiles | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):
* resolution: => wontfix
* stage: Someday/Maybe => Unreviewed
* status: assigned => closed
* type: Cleanup/optimization => New feature
Comment:
I think this change should go through the New Feature process. While it
improves performance, it would also change how `collectstatic` would
behave, from sequential to concurrent execution. This can affect execution
order, error timing, and resource usage, and may introduce thread-safety
or race-condition issues for third-party or custom storage backends (which
there are plenty).
Since it revisits a prior design decision (Django intentionally left
concurrency to backends) and could require new configuration options
(worker count, failure handling, opt-in), to me it is more than a simple
optimization. While I really appreciate the discussions during the Django
on the Med sprint around this ticket, I think it should be treated as a
new feature so could you please open an issue for this on
[https://github.com/django/new-features/issues new feature tracker]? If
accepted, we could reopen this same ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/23517#comment:8>
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/01070199dee153e3-30a9cc67-e048-43ac-8998-e8e290fc0560-000000%40eu-central-1.amazonses.com.