Project

General

Profile

Actions

Feature #4841

closed

Bring Strategy::beforeExpirePendingInterest back

Added by Teng Liang about 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Forwarding
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Strategy::beforeExpirePendingInterest was removed in issue #4290, because it was not used in any strategy and we wanted to simplify forwarding pipelines. Although the reasoning was not convincing, the removal was done. Strategy::beforeExpirePendingInterest allows strategy to process when a pending Interest lifetime expires before satisfied. A strategy developer wanted to use this function for measurement purpose.

One way is to add a dispatch in Forwarder::onInterestFinalize to Strategy::beforeExpirePendingInterest.

Actions #1

Updated by Davide Pesavento about 5 years ago

  • Subject changed from bring Strategy::beforeExpirePendingInterest back to Bring Strategy::beforeExpirePendingInterest back
  • Category set to Forwarding
  • Start date deleted (02/13/2019)

Can you give us more details about your use case and why using the destructor is not sufficient?

Actions #2

Updated by Teng Liang about 5 years ago

Davide Pesavento wrote:

Can you give us more details about your use case and why using the destructor is not sufficient?

Chavoosh is going to explain his use case in today's NFD call. In general, our current strategy implementation is unaware of an unsatisfied Interest, and cannot take actions accordingly.

Actions #3

Updated by Junxiao Shi about 5 years ago

  • Status changed from New to Rejected

See #4290-56: use a StrategyInfo destructor or use a timer.

Actions

Also available in: Atom PDF