Skip to content

v4.1.4

  • v4.1.4
  • 5ca93b1
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • v4.1.4
  • 5ca93b1
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@jguerra jguerra tagged this 12 Aug 21:04
`ConnCounter` tracks connection counts by manually updating a gauge.
This approach can lead to negative connection counts when gauges expire.
The gauges used in this class expire 15 mins after the last update.
Stable http/2 connections to origins are especially susceptible to
getting lost.

The new approach relies on a PolledMeter monitoring an AtomicLong. Each
event loop independently tracks its own counts (internally gauges
maintain a list of all monitored numbers with the same id, and sum them
up). I did this to simplify the cleanup logic
Assets 2
Loading