#5648 closed defect (duplicate)

Fixes as a result of profiling the HTTP code and control channel

Reported by: marcin Owned by:
Priority: medium Milestone: Kea1.5
Component: management API Version: git
Keywords: 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

There are the following issues pertaining to JSONFeed and Http parsers which per my profiling tests seems to be first candidates for fixing:

  • JSONFeed::postBuffer expensive because of making new allocations all the time
  • JSONFeed::popNextFromBuffer makes many buffer de-allocations
  • JSONFeed::innerJSONHandler should not transition if the state remains the same
  • HttpResponseParser body handler is inefficient as it reads characters one by one
  • Connection::doTransaction should not reinitialize the parser all the time as it triggers expensive reinitialization of the state machine

Subtickets

Change History (2)

comment:1 Changed 15 months ago by tomek

  • Milestone changed from Kea-proposed to Kea1.5

As discussed on 2018-08-02 call, moving to Kea1.5.

comment:2 Changed 15 months ago by tomek

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.