Performance Considerations

Performance benchmarks and considerations.

Performance Considerations

The following factors may cause variation in real performance versus benchmarks:

  • Cold startup: The Lambda spends additional time on the initial invocation to decrypt and load the policy into memory. This time can vary between 400 ms and 1200 ms depending on the policy size. Once the Lambda is initialized, subsequent “warm executions” should process quickly.
  • Size of policy: The size of the policy impacts cold start performance. Larger policies take more time to initialize.
  • Noisy neighbors: There are many multi-tenant components in the Cloud. The same request may differ by 50% between runs regardless of Protegrity. A single execution may not be the best predictor of average performance.
  • Lambda memory: AWS provides more virtual cores based on the memory configuration. The initial configuration of 1728 MB provides a good tradeoff between performance and cost with the benchmarked policy. Memory can be increased to optimize for your individual cases.
  • Cluster size: Cluster size may make a significant difference depending on the workload.
  • Number of operations Number of protect, unprotect and reprotect security operations.
  • Lambda concurrency and burst quotas: AWS limits the number of concurrent executions and how quickly lambda can scale to meet demand. This is discussed in an upcoming section of the document.
  • Size of data element: Operations on larger text consume time.

Last modified : December 01, 2025