Performance Best Practices Using Java and AWS Lambda: Combinations

Written by escholar | Published 2024/04/17
Tech Story Tags: java | aws-lambda | java-optimization | performance-testing | aws-sdk | java-best-practices | software-engineering | cloud-computing

TLDRThis paper is [available on arxiv](https://arxiv.org/pdf/2310.16510.pdf) under CC BY-SA 4.0 DEED license. Authors: Juan Mera Men´endez and Martin Bartlett. The results are compared with each other and independently with the GraalVM prototype.via the TL;DR App

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

Authors:

(1) Juan Mera Men´endez;

(2) Martin Bartlett.

Table of Links

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.


Written by escholar | We publish the best academic work (that's too often lost to peer reviews & the TA's desk) to the global tech community
Published by HackerNoon on 2024/04/17