Ticket #100 (closed enhancement: wontimplement)

Opened 11 years ago

Last modified 5 years ago

Add support for removing network messages from outbound queue

Reported by: tim Owned by: tim
Priority: major Milestone: RC2009
Component: Fawkes Version:
Keywords: networking, blackboard Cc:
Git Branch:

Description

Currently Fawkes network messages cannot be removed from the outbound queue once they have been enqueued. That causes a problem when messages are sent enqueued faster than they can be sent (over the network, e.g. wifi) or processed on the other side (causing delays in the processing of the underlying TCP queue). This became obvious while fixing #75. Here, many large interfaces are written to the blackboard. They could not be sent/processed as fast as the messages were enqueued/the loop was running, causing an increasing delay between the actual BB interface write and the time the data was received in the GUI.

The currently envisioned solution for this is to support dequeuing of messages, or possibly marking them as "not to be sent". This can then be incorporated to the appropriate interface listener of the blackboard network handler code, to remove/disable messages previously enqueued, but not yet sent. This should become an optional feature that can be turned on/off (to be determined if that can be done per interface or globally for all interfaces). For example for a logging client you want each and every update. For GUIs or controlling applications you are usually only interested in the latest data.

A workaround can be implemented by having a two-way communication that sends data only after the previous set has been read successfully, for example in the leg tracker to get it working now now.

Change History

comment:1 Changed 5 years ago by tim

  • Status changed from new to closed
  • Resolution set to wontimplement

So far we were fine without...

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Reporter, Owner, Participant)