Task #453

Task #351: Performance refactoring

Remove Broadcasts for Channel to Channel updates

Added by Espen Solbu over 6 years ago. Updated about 6 years ago.

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


Category:RefactorSpent time:-
Target version:2.5 Maintenance


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 about 6 years ago

closes #453 Removed broadcasting as main channel to channel communication


#1 Updated by Espen Solbu about 6 years ago

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

Applied in changeset r422.

#2 Updated by Espen Solbu about 6 years ago

MASSIVE performance boost:

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

Also available in: Atom PDF