Project

General

Custom queries

Profile

Actions

Bug #18119

open

candlepin event queue is not de-duplicated during processing, causing large numbers of events to fire

Added by Chris Duryee over 8 years ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Performance
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

If you fill up the candlepin event listener queue with a large number of incoming messages, it may tax the system with many calls to candlepin. Eventually, odd things start to happen like DB locks.

There are likely a number of solutions to this, but one way to significantly reduce the number of actions taken would be to read through a large set of messages (perhaps 100), then make one call per pool that was updated (see https://github.com/Katello/katello/blob/master/app/lib/actions/candlepin/candlepin_listening_service.rb#L86).

It may also be worthwhile to increase the sleep from 1 to 5, so we can get a larger number of messages queued up to de-duplicate at once.

Actions #1

Updated by Chris Duryee over 8 years ago

  • Bugzilla link set to 1414159
Actions #2

Updated by Justin Sherrill over 8 years ago

  • Translation missing: en.field_release set to 114
Actions #3

Updated by Ian Ballou 9 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF