Closed Bug 1405073 Opened 7 years ago Closed 7 years ago

Make symbol upload synchronous

Categories

(Socorro :: Symbols, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

Attachments

(1 file)

In Socorro we used to do all the zip extraction and individual file upload as part of one big request-response. It works there even though it has a bug [0]. 

Tecken, currently, uses (EFS) disk to first write down the file, then trigger a Celery async job to process the file. That's turned out to be slow [1]. Too slow. We tried really hard to make it work by adding longer and longer wsgi timeouts. 

Let's just change back to a synchronous approach. No more Celery to do the .zip extraction and file S3 PUTs. 



[0] When iterating over all files in the .zip it wrongly things each one needs to be replaced so it almost always does a S3 PUT for each symbol file. Tecken has this bug fixed already.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1399192
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: