Skip to content

[Performance] Brevo::SyncContactWorker#perform - Slow response time (218892.29 s) #6

@IMhide

Description

@IMhide

repository: IMhide/Blast-angels

Performance Issue: Brevo::SyncContactWorker#perform

Repository: IMhide/Blast-angels
Incident Number: #253
AppSignal ID: 6501cad9d2a5e484888c96c3
App ID: 64be2326d2a5e49d79dd3e77

Status: CLOSED
Severity: UNTRIAGED

Description

No description provided


Critical Information

Metric Value
Average Duration 218892.29 s
Affected Actions Brevo::SyncContactWorker#perform
State CLOSED
Severity UNTRIAGED

Performance Metrics

Based on 10 sample(s):

Statistic Duration
Minimum 285.93 ms
Maximum 1.85 s
Average 842.19 ms
Median 753.67 ms

Sample Analysis

Analyzed 10 sample(s) from recent occurrences.

Sample 1

  • Time: 2025-12-09 14:44:29 UTC
  • Duration: 1.85 s
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 4.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 1.80 s 97.4%
active_record 48.04 ms 2.6%

Memory Allocation

Component Allocation
sidekiq 15.54 KB
active_record 373.00 B

Sample 2

  • Time: 2025-12-09 14:09:30 UTC
  • Duration: 982.88 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 6.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 930.67 ms 94.7%
active_record 52.13 ms 5.3%

Memory Allocation

Component Allocation
sidekiq 15.53 KB
active_record 373.00 B

Sample 3

  • Time: 2025-12-09 14:08:39 UTC
  • Duration: 527.18 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 4.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 512.31 ms 97.2%
active_record 14.54 ms 2.8%

Memory Allocation

Component Allocation
sidekiq 6.03 KB
active_record 97.00 B

Sample 4

  • Time: 2025-12-09 11:02:22 UTC
  • Duration: 285.93 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 3.79 s

Time Breakdown

Component Duration Percentage
sidekiq 276.14 ms 96.7%
active_record 9.57 ms 3.3%

Memory Allocation

Component Allocation
sidekiq 2.97 KB
active_record 58.00 B

Sample 5

  • Time: 2025-12-09 11:01:22 UTC
  • Duration: 394.66 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 452.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 387.87 ms 98.3%
active_record 6.73 ms 1.7%

Memory Allocation

Component Allocation
sidekiq 2.97 KB
active_record 58.00 B

Sample 6

  • Time: 2025-12-09 11:00:46 UTC
  • Duration: 504.24 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 3.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 483.77 ms 96.0%
active_record 20.38 ms 4.0%

Memory Allocation

Component Allocation
sidekiq 3.02 KB
active_record 58.00 B

Sample 7

  • Time: 2025-12-09 09:13:14 UTC
  • Duration: 1.36 s
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 3.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 1.32 s 97.3%
active_record 36.16 ms 2.7%

Memory Allocation

Component Allocation
sidekiq 12.73 KB
active_record 225.00 B

Sample 8

  • Time: 2025-12-09 09:07:12 UTC
  • Duration: 744.72 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 3.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 731.27 ms 98.2%
active_record 13.37 ms 1.8%

Memory Allocation

Component Allocation
sidekiq 8.36 KB
active_record 164.00 B

Sample 9

  • Time: 2025-12-09 08:51:26 UTC
  • Duration: 762.62 ms
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 2.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 748.28 ms 98.1%
active_record 14.27 ms 1.9%

Memory Allocation

Component Allocation
sidekiq 8.27 KB
active_record 161.00 B

Sample 10

  • Time: 2025-12-09 08:50:44 UTC
  • Duration: 1.01 s
  • Action: Brevo::SyncContactWorker#perform
  • Queue Duration: 3.00 ms

Time Breakdown

Component Duration Percentage
sidekiq 963.25 ms 95.1%
active_record 49.19 ms 4.9%

Memory Allocation

Component Allocation
sidekiq 12.70 KB
active_record 222.00 B

N+1 Query Detection

⚠️ N+1 query pattern detected in 6 out of 10 samples!

Affected Samples:

Resource Allocation Analysis

Average memory allocation by category:

Category Average Allocation Samples
sidekiq 8.81 KB 10
active_record 178.90 B 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions