send-bug-notifications.py needs to be parallelised or made more efficient
Bug #223964 reported by
Graham Binns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
send-mail-
We need to do one of two things:
1. Re-write send-bug-
2. Make it efficient enough so that it can deal with high volumes of notifications sequentially.
Option 1 seems more likely to be doable that option 2.
Changed in malone: | |
status: | New → Confirmed |
Changed in malone: | |
assignee: | nobody → gmb |
Changed in malone: | |
milestone: | none → 1.2.4 |
status: | Incomplete → In Progress |
Changed in malone: | |
importance: | Undecided → High |
milestone: | 1.2.4 → 1.2.5 |
Changed in malone: | |
milestone: | 1.2.6 → none |
Changed in malone: | |
assignee: | Graham Binns (gmb) → nobody |
tags: | added: story-better-bug-notification |
visibility: | private → public |
tags: | added: story-better-notification-sending |
tags: | removed: story-better-bug-notification |
Changed in launchpad: | |
importance: | Medium → Low |
To post a comment you must log in.
Do we know where the bottleneck is?
If in the SMTP sending, a pool of senders pulling items off a queue and sending them is easy enough to implement using threads or just asking the admins if the SMTP server can be made to accept deliveries faster.
If it is generating the notifications to send, multiple processes or threads might not help as they have multiple caches that need to be populated each transaction. Running the script in autocommit mode might be a quick way of getting the cache shared across transactions.