Task #453

Task #351: Performance refactoring

Remove Broadcasts for Channel to Channel updates

Added by Espen Solbu almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:05/16/2012
Priority:NormalDue date:
Assignee:Espen Solbu% Done:

100%

Category:RefactorSpent time:-
Target version:2.5 Maintenance

Description

Broadcasts receivers will always run in the UI thread.
Due to our high throughput, this can cause UI lag and performance issues.

Possible solutions:
Accessing the source/listener channel
  • Interface for updating listerners
  • Interface to poll source
  • Worker thread on server
Make "handover" ascynchronous
  • AsyncTask for updates (problem: updates can happen in wrong order)
  • Worker thread for updates in channel
  • Worker thread for managing all channel updates in server

Associated revisions

Revision 422
Added by Espen Solbu almost 6 years ago

closes #453 Removed broadcasting as main channel to channel communication

History

#1 Updated by Espen Solbu almost 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r422.

#2 Updated by Espen Solbu almost 6 years ago

MASSIVE performance boost:

setRaw CPU usage:
Using broadcasts: 23,2%
Using methods: 2,3%

Also available in: Atom PDF