Effect of search encryption on performance
You can encrypt search communication to ensure that the data that is transferred across nodes cannot be accessed by unauthorized hosts. Encryption, however, affects search performance. The following performance testing results for search and incremental indexing can help you to assess the effect of encryption on performance.
System specifications
The system on which the tests were performed had the following specifications:
- RAM: 96 GB
- Operating system: Windows 64-bit
- Processor: Intel Xeon CPU ES-2665 0 @ 2.4 GHz (2 processors)
- Type: physical server
- Java 1.7.0_49
The following security protocols were used for certificate generation:
- TLS
- Number of bits: 1024
- RSA
- Signature algorithm: SHA256WithRSA
Performance results for a substring search
The following table contains the performance measurements for a substring search. Concurrent users were simulated by using Apache JMeter.
Test | Average over 3 runs | Average over 3 runs with encryption | Overhead percentage |
---|---|---|---|
1 user, 50000 iterations | 37,320 ms | 49,633 ms | 32.99% |
50 users, 600 iterations | 16,114 ms | 21,591 ms | 33.98% |
100 users, 300 iterations | 11,185 ms | 14,826 ms | 32.52% |
Performance results for incremental indexing
The following table contains the performance measurements for creating, updating, and resolving work objects. Concurrent users were simulated by using Apache JMeter.
Test | Average over 2 runs | Average over 2 runs with encryption | Overhead percentage |
---|---|---|---|
100 users, 100 iterations | 9,047 ms | 12,199 ms | 34.84% |
20 users, 100 iterations | 5,314 ms | 6,853 ms | 28.96% |
Previous topic Create a database index to improve performance of searches Next topic Enable the UDF feature in JSP Lookup tag for best performance