Skip to main content
Skip table of contents

Faster Processing Throughput with Concurrent Virus Scanning

Background

During peak usage, large Jira instances can experience over 1000 attachment uploads per minute.

However, the scanning capabilities are significantly slower, for example:

  • clamscan can only process 8 to 10 attachments per minute.

  • clamdscan, while faster, can only handle up to 100 attachments per minute.

This discrepancy between the upload rate and the scanning rate leads to a snowball effect in the queue, as the number of unscanned attachments accumulates rapidly.

How it works

To address this, we've implemented a "smart assignment" module that:

  • Assigns attachments pending scan to active Jira nodes.

  • Reassigns attachments to other active nodes if any Jira node goes down.

ACJ concurrent virus scan.png

Benefits

This significantly increases processing throughput by:

  • 2x if there are 2 nodes

  • 3x if there are 3 nodes

Furthermore, it reduces the latency between an attachment upload and the warning comment added on the Jira work item for infected attachments.

How many nodes do you need

The number of nodes required will depend on:

  • The speed of virus scans

  • The rate at which users upload new files

Period

10 attachments / minute

100 attachments / minute

Every minute

10

100

Every hour (60 minutes)

600

6,000

Every day (24 hours)

14,400

144,000

Every month (30 days)

432,000

4,320,000

Every year (365 days)

5,256,000

52,560,000

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.