Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosMicrosoft Mechanics: A Copilot Agent Writes the Status Report(23.09.2026 um 03:30 Uhr)
Sichere ProgrammierungOpenTelemetry in the GitHub Copilot app(23.09.2026 um 04:14 Uhr)
Sichere ProgrammierungMy Introduction:(23.09.2026 um 03:53 Uhr)
Sichere ProgrammierungAgentWallex: Content Day (Articles going live)(23.09.2026 um 04:00 Uhr)
Sichere ProgrammierungYour Low-Code Platform Is Fast Until a Customer Builds One Real Table(23.09.2026 um 04:11 Uhr)
YouTube Security VideosMicrosoft Mechanics: A Copilot Agent Writes the Status Report(23.09.2026 um 03:30 Uhr)
Sichere ProgrammierungOpenTelemetry in the GitHub Copilot app(23.09.2026 um 04:14 Uhr)
Sichere ProgrammierungMy Introduction:(23.09.2026 um 03:53 Uhr)
Sichere ProgrammierungAgentWallex: Content Day (Articles going live)(23.09.2026 um 04:00 Uhr)
Sichere ProgrammierungYour Low-Code Platform Is Fast Until a Customer Builds One Real Table(23.09.2026 um 04:11 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Reject Queue Work by Deadline Slack Before Utilization Looks Dangerous

At 09:12, workers are 62% utilized and every health check is green. At 09:14, users receive results after their deadlines. CPU never crossed the alert threshold; the queue accumulated work faster than it could drain. Utilization describes…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

At 09:12, workers are 62% utilized and every health check is green. At 09:14, users receive results after their deadlines. CPU never crossed the alert threshold; the queue accumulated work faster than it could drain.



Utilization describes resource occupancy. It does not tell whether queued work can still finish on time.



For each job, record:




deadline_slack = deadline - now - estimated_service_time






When slack is negative, starting the job cannot meet its declared deadline under the estimate. Admission should reject or degrade it before spending more capacity.






Instrument the queue



Minimum fields:




job_id_hash: 9f2a
class: interactive
queued_at: 2026-07-23T09:12:00Z
deadline_at: 2026-07-23T09:12:08Z
attempt: 1
estimated_service_ms: 1800
queue_age_ms: 2400
deadline_slack_ms: 3800
outcome: admitted






Export distributions, not unbounded job IDs. Useful metrics are queue age by class, slack at admission, service time, completion lateness, rejection count, retry count, and worker saturation.






Admission rule



A starting policy can be explicit:




def admit(job, now, service_p95_ms, safety_ms=250):
remaining_ms = (job.deadline - now).total_seconds() * 1000
slack_ms = remaining_ms - service_p95_ms - safety_ms

if slack_ms < 0:
return "reject_deadline"
if job.queue_age_ms > job.max_queue_age_ms:
return "reject_stale"
return "admit"






Use a recent service-time percentile for the same workload class, not one global average. Averages hide heavy tails; an estimate from image jobs should not govern text jobs. Clamp stale or tiny samples and version the estimator.



Rejection needs semantics:




  • interactive work: return a retryable overload response with bounded guidance;

  • asynchronous work: move to a delayed tier only if its deadline permits;

  • optional enrichment: skip and return the base result;

  • mandatory expired work: dead-letter with a reason, not blind retry.



Retries without a new budget increase load and reduce slack further.






Local failure drill



Run a declared workload against a staging queue:




arrival_rate: 30 jobs/s
worker_count: 8
service_time:
p50_ms: 120
p95_ms: 400
injected_tail_ms: 1800
injection:
after_seconds: 60
affected_fraction: 0.35
deadline_ms: 3000






Observe three phases:




  1. steady state: queue age and lateness near baseline;

  2. injected tail: slack falls before CPU necessarily saturates;

  3. admission: expired work stops consuming workers and valid work recovers.



Expected evidence, not claimed measurements:




queue_age_p95 rises
slack_p10 crosses zero
reject_deadline increases
completion_late stops growing
queue drains after injection removal






Compare admission enabled and disabled with the same fixed-seed workload. Record completed-on-time as the primary outcome; raw throughput can reward finishing useless late work.






Alert-to-action runbook
































Signal Action
slack p10 below zero for 2 min enable class-specific shedding
queue age rising, service stable reduce admission or add consumers
service p95 rising, queue stable inspect dependency and worker contention
rejection high after recovery verify estimator window and stale messages
dead-letter growth stop retries; inspect reason distribution


Avoid autoscaling solely on queue depth. Scaling may take longer than remaining deadlines, and a poison-job loop can turn depth into an expensive false signal.






Cleanup and rollback



Roll out in observe-only mode first. Log the decision without rejecting. Compare predicted expiry with actual completion. Then enable for one workload class with a conservative threshold.



Rollback means disabling rejection while retaining telemetry—not deleting deadlines. Drain or explicitly expire dead-lettered work, remove fault-injection jobs, and confirm temporary capacity is scaled down.






Limits



Service-time prediction is uncertain, clocks can skew, and some jobs have business value after a soft deadline. Model those as separate classes. This policy does not replace backpressure, fair scheduling, capacity planning, or dependency timeouts.



The operational question is concrete: when slack turns negative, should the system reject, degrade, or keep spending capacity on work already too late to matter?

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Reject Queue Work by Deadline Slack Before Utilization Looks Dangerous

Thematisch verwandte Begriffe: Reject, Queue, Work, Deadline · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-17636 | IBM Financial Transaction Manager (FTM) for RedHat OpenShift could allow…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick