Automatic Client-Side Field Encryption mongocryptd performance issues

Hi,

I am using the Automatic Client-Side Field Level Encryption feature on a MongoDB Atlas cluster. I am able to encrypt and decrypt my documents. However, I am facing a performance issue. For every write I make using the connector with autoEncryption turned on, even if the document I am saving doesn’t have any encrypted fields it takes 0.45 s (twice the time it takes without the autoEncryption mode). I don’t understand why it is taking so long when the document I am saving is not performing any encryption or decryption computation.

When I have many concurrent writes (20+) it just doesn’t work.

Is someone having the same issue?

Thanks!

1 Like

Hi

I am facing the same problem. Did you find a solution?