parallel foreach on zip entries #718
Unanswered
eilat-inbal
asked this question in
Q&A
Replies: 1 comment
-
You could try using multiple memory streams containing the entire zipfile and see if there is a difference. It might be I/O-related, or it might be due to your runtimes AES implementation not being parallelizable. 🤷♀️ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to extract the zip entries in a parallel foreach, and encountered a weird behavior. Can anyone try and explain it?
when the zip is using a ZipCrypto encryption- this works really well and the performance is improved (4 times faster!).
but when the zip is using AES256- the performance is not improved, and is even slower than a regular, non-parallel loop sometimes.
here is my loop:
I hope there is a way to parallelize the zip entries extraction in AES256!
Or if there are other ways to improve the performance, I would love to hear!
thanks,
Inbal
Beta Was this translation helpful? Give feedback.
All reactions