-
trivy running in parallel takes same time as series run because of boltDB, do we have good way to increase concurrent scan task? at first I think server/client mode to handle this problem, but infact it's useless, because server have only one db file. |
Beta Was this translation helpful? Give feedback.
Answered by
afdesk
Feb 14, 2022
Replies: 1 comment 1 reply
-
@taczc64 I'd try to use $ docker run -d --rm -p 6379:6379 redis:latest
$ trivy -d server --cache-backend redis://localhost:6379 --listen localhost:8080 and run 2 tests from 2 terminals: $ trivy -d client --remote http://localhost:8080 elasticsearch:7.14.2 $ trivy -d client --remote http://localhost:8080 elasticsearch:5.6.13 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
taczc64
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@taczc64 I'd try to use
redis
for cache in client/server mode.I did a test:
and run 2 tests from 2 terminals: