Project

General

Profile

Actions

Feature #20475

closed

dump request queue every 5 minutes when at 90% busy

Added by Peter Amstutz over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Story points:
-
Release relationship:
Auto

Description

When the request queue of a Go service is over 90% busy, it should dump a list of outstanding requests to a file named something like:

<service>-request-queue.json

It should do this once per minute as long as the queue is over 90% busy.

This is enabled by a new configuration option that tells the services where to put their request queue files. The directory must be writable. If no value is set, don't do anything. If the directory does not exist or is not writable, log an (warning|error).


Subtasks 1 (0 open1 closed)

Task #20476: Review 20475-dump-busy-queueResolvedPeter Amstutz05/03/2023Actions
Actions #1

Updated by Peter Amstutz over 1 year ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 1 year ago

  • Assigned To set to Tom Clegg
  • Description updated (diff)
  • Subject changed from Script to check concurrent request metrics and fetch the list of queued requests when busy to dump request queue every 5 minutes when at 90% busy
  • Tracker changed from Bug to Feature
Actions #4

Updated by Peter Amstutz over 1 year ago

Tom Clegg wrote in #note-3:

20475-dump-busy-queue @ e3f543331190073de81c52be3e0ba0a427e3c4dc -- developer-run-tests: #3633

LGTM

Actions #5

Updated by Tom Clegg over 1 year ago

  • Status changed from In Progress to Resolved
Actions #6

Updated by Peter Amstutz about 1 year ago

  • Release set to 66
Actions

Also available in: Atom PDF