EV app screenshots

Challenges

  • One of the challenges we encountered was the need for reflection configuration when using GraalVM. Every Java class, whether it's from our own codebase or from a third-party library, that utilizes reflection needed to be explicitly added to the reflection configuration.

  • Another challenge we faced was deploying our application with a serverless architecture. While serverless architecture offers numerous benefits such as scalability and cost-effectiveness, it also presents unique challenges in terms of deployment and management. We had to carefully design our application to work within the constraints of serverless environments, such as function duration limits and cold start times. Additionally, configuring the deployment pipeline and integrating with serverless platforms required careful planning and coordination to ensure smooth and efficient deployment processes.

Our Approach

  • It was the very first time when we used Micronaut Framework, Serverless Architecture and GraalVM. Main challenge was to develop a java application with small cold start time.

  • Because the AWS Lambda service is very sensitive to cold starts. We decided to use GraalVM Native Image to reduce cold starts and deploy it on AWS Lamda custom runtime. Result cold start time 0.2s which is enough for synchronou work backend on AWS Lambda.

  • Developing the software we used KISS, DRY, SOLID principles.

Image

Would you like to collaborate with us?

Have an idea or project? Fill out the form below, and we'll get back to you as soon as possible.

YOU MAY FIND INTERESTING

Face Recognition Device
Device For IP Telephony