[JAVA-5073] Benchmark and use `mongocrypt_binary_t` definition to improve performance of In-Use Encryption Created: 14/Jul/23  Updated: 03/Oct/23  Resolved: 03/Oct/23

Status: Closed
Project: Java Driver
Component/s: Client Side Encryption, Performance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2581 Benchmark and use `mongocrypt_binary_... Implementing
Upstream Changes Summary:

DRIVERS-2581:
Goal: Improve performance of In-Use Encryption for the workload identified in HELP-27047.

Proposed changes for drivers:

Refer to the changes made for the Java driver bindings:

The benchmark may be useful for testing future performance improvements (DRIVERS-2718).

Proposed changes may not apply to languages with no extra cost for calling into a C library: (C, C++, PHP via C driver)

Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2581, please see that ticket for a detailed description.



 Comments   
Comment by Kevin Albertson [ 03/Oct/23 ]

https://github.com/mongodb/libmongocrypt/commit/ce14f0cebfe9d33bf5d2f5467a0fb8a36908e80c adds the benchmark.

https://github.com/mongodb/libmongocrypt/commit/c907e762b5f476ac442944282dc1d8cf34ae55de uses the exported mongocrypt_binary_t definition to improve throughput.

https://github.com/mongodb/libmongocrypt/commit/4e64586f9bf988286ca555fdf9e87348e37c6886 adds multi-threaded benchmarks and pools Cipher instances to improve throughput.

Comment by Jeffrey Yemin [ 03/Oct/23 ]

kevin.albertson@mongodb.com already completed this for Java. Kevin, can you link the ticket and/or commit?

Generated at Thu Feb 08 09:03:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.