daphne icon indicating copy to clipboard operation
daphne copied to clipboard

Don't require async when decrypting reports

Open mendess opened this issue 1 year ago • 0 comments

Decrypting reports usually happens as they are consumed, which is a CPU bound task. Not requiring async for this has a few advantages:

  • it can be more easily offloaded to a thread outside the async runtime to prevent it from blocking the runtime
  • it can be more easily benchmarked and flamegraphed, as flamegraphing async functions is almost impossible

mendess avatar Oct 09 '24 14:10 mendess