Opened 4 years ago

Last modified 3 years ago

#3926 new enhancement

Implement lease cache threshold

Reported by: marcin Owned by:
Priority: medium Milestone: Outstanding Tasks
Component: dhcp Version: git
Keywords: performance Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

There are possible cases when the client sends multiple Request or Renew messages one after another. Current code will extend the lease lifetime for each message processed. This however means that the lease must be updated in the database every time the message comes. So, we want to have an ability to configure how much of the lease lifetime should elapse before the lease is renewed. If the Request comes before this time, the existing lease is returned with shorter lifetime.

In isc-dhcp it is called cache-threshold or something like that.

Subtickets

Change History (6)

comment:1 Changed 4 years ago by hschempf

  • Milestone changed from Kea-proposed to Kea1.0
  • Priority changed from medium to low

comment:2 Changed 4 years ago by hschempf

  • Milestone changed from Kea1.0 to DHCP Outstanding Tasks

comment:3 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:4 Changed 3 years ago by tomek

  • Description modified (diff)
  • Keywords performance added
  • Priority changed from low to medium

It's a nice feature and it improves performance in certain scenarios.

comment:5 Changed 3 years ago by marcin

  • Milestone changed from Outstanding Tasks to Kea-proposed

comment:6 Changed 3 years ago by stephen

  • Milestone changed from Kea-proposed to Outstanding Tasks
Note: See TracTickets for help on using tickets.