Task #374

Task #351: Performance refactoring

Refactor frameParsing in server (Handover of frames Asynchronous)

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

Status:ClosedStart date:02/20/2012
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:RefactorSpent time:-
Target version:2.5 Maintenance

Description

have broadcasted frames[ints] added to FIFO queue in server.

Server then has worker thread to pickup and parse the frame objects

-> possible to support increasing size of queue

Questions:
  • Add frame as int[] to queue, or convert to Frame object, then add to queue?
  • queue size, constant or variable
  • How to detect queue growing?
    • Size?
    • Latency?
  • How to properly handle overflows?
    • Drop oldest frame, count it

Associated revisions

Revision 421
Added by Espen Solbu about 6 years ago

closes #374 Incoming frames now added to a buffer, then handled by a thread

History

#1 Updated by Espen Solbu about 6 years ago

  • Subject changed from Refactor frameParsing in server to Refactor frameParsing in server (Handover of frames Asynchronous)
  • Description updated (diff)

#2 Updated by Espen Solbu about 6 years ago

  • Description updated (diff)

#3 Updated by Espen Solbu about 6 years ago

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

Applied in changeset r421.

Also available in: Atom PDF