Performance Best Practices Using Java and AWS Lambda: Combinations

cover
17 Apr 2024

This paper is available on arxiv under CC BY-SA 4.0 DEED license.

Authors:

(1) Juan Mera Men´endez;

(2) Martin Bartlett.

Abstract and Introduction

Initial Application

Performance Tests

Best Practices and Techniques

Combinations

Discussion

Related Work

Conclusion and References

V. COMBINATIONS

After defining the proposed techniques and quantifying the effects of their application, it becomes essential to attempt to combine them with the intention of detecting synergies, incompatibilities, and understanding the improvements that can be achieved by applying several of these. With this intention, and due to the unavailability of Snapstart in combination with the Arm64 architecture, the following combinations are proposed:

• Best memory configuration + SDK v2 + JAVA TOOL OPTIONS environment variable + Snapstart

• Best memory configuration + SDK v2 + JAVA TOOL OPTIONS environment variable + Arm64 architecture

Two new prototypes have been created, optimized with the previous optimization combinations, and their performance has been measured. The results are compared with each other and independently with the GraalVM prototype.

In Figure 3, you can observe the percentage of improvement compared to the performance offered by the initial system, both for the cold start of functions and for the overall performance.