Opened 5 years ago

Last modified 5 months ago

#31804 assigned New feature

Parallelize database cloning process — at Initial Version

Reported by: Ahmad A. Hussein Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: parallel, mysqlpump
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: no
Easy pickings: no UI/UX: no
Pull Requests:18668 build:success, 13314 unmerged, 13217 unmerged

Description

Parallelizing database cloning processes would yield a nice speed-up for running Django's own test suite (and all django projects that use the default test runner)

So far there are two main ways I see we can implement this:

  • Use existing backend utilities e.g mysqlpump instead of mysqldump
  • Use a normal multiprocessing pool on top of our existing cloning code

According to the ticket's flags, the next step(s) to move this issue forward are:

  • To add tests to the patch, then uncheck the "Needs tests" flag on the ticket.
  • If creating a new pull request, include a link to the pull request in the ticket comment when making that update. The usual format is: [https://github.com/django/django/pull/#### PR].

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top