Skip to content

Adds predicting server failures experimental plugin#9000

Closed
IsaacHughes74 wants to merge 1 commit intoapache:masterfrom
IsaacHughes74:master
Closed

Adds predicting server failures experimental plugin#9000
IsaacHughes74 wants to merge 1 commit intoapache:masterfrom
IsaacHughes74:master

Conversation

@IsaacHughes74
Copy link

Monitors data rate and server connections to predict origin server failure. Utilizes "death cross" of data rate, where data rate EMA with window size of 5s falls below data rate EMA with window size of 25s, while server connections increase. Slope and EMA calculations are maintained by a background thread periodically calculating statistics. The number of server connections is calculated by incrementing at TS_EVENT_HTTP_SEND_REQUEST_HDR and decrementing at TS_EVENT_HTTP_TXN_CLOSE, and the data rate is calculated by dividing the content length of the response by the time between TS_MILESTONE_SERVER_BEGIN_WRITE and TS_MILESTONE_SERVER_CLOSE.

Moving forward:

  • Add configurability - Remove hardcoded EMA period calculations of 5s and 25s
  • Expand - Include additional metrics to expand scope

Adding predicting_server_failures experimental plugin
@ezelkow1
Copy link
Member

ezelkow1 commented Aug 5, 2022

[approve ci]

@bryancall bryancall added this to the 10.0.0 milestone Aug 8, 2022
@shukitchan
Copy link
Contributor

Would be nice to add documentation

@shukitchan
Copy link
Contributor

[approve ci autest]

1 similar comment
@bryancall
Copy link
Contributor

[approve ci autest]

@bryancall
Copy link
Contributor

[approve ci]

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

@github-actions github-actions bot added the Stale label Feb 13, 2023
@github-actions github-actions bot closed this Feb 20, 2023
@zwoop zwoop removed this from the 10.0.0 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants