Improve data uploading to not lock up the app and the phone
Bug #620865 reported by
Janos Gyerik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
EcoCitizenApp |
Won't Fix
|
Critical
|
Janos Gyerik |
Bug Description
There are several issues with the data uploading process:
- should upload multiple sentences at once
- should call yield() to give other threads a chance to act
- should process the queue in bigger chunks to reduce contention by synchronization
- should use linkedlist instead of vector for the queue
To post a comment you must log in.
The architecture has been rewritten completely.
At the moment the data uploading is not implemented yet, but once it's done, it will not have this problem anymore.