[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: |
|
||||||||
| Upstream Changes Summary: | DRIVERS-2581: 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? |
||||||||
| 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? |