Skip to content
Discussion options

You must be logged in to vote

Yeah i've done this before, but its kinda situational imho. I believe IF you felt the need for an AV scanner, like for corporate compliance or whatever, then its best to have this on some separate process and run on a cron or trigger.

AV scanners like Clav take up metric tons of resources and will bottleneck you rather hard. It also will spike usage like crazy when doing its daily update or whatever; its unpredictable 😆.

Idk the best way but I can describe how we've done in the past,

  1. User uploads file that gets stored into a pre-scan bucket.
  2. ClavAV(or whatever av) is run on its own vps/process and will scan it on a trigger or cron job.
  3. After completion it gets moved into your default sto…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BradNut
Comment options

Answer selected by BradNut
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants