Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IoC (Inversion of control) Java framework for using in AWS Lambda

On my current project I'm working on AWS Lambda function written on Java. At some moment the structure of the function has become quite complex, there became a lot of related components and I decided that would be more clear and convenient to use some IoC framework/library for reducing close coupling and complexity.

Previously I worked only with Spring Framework, but I know that it's pretty highweight stuff and I afraid that with Spring I will reach Lambda limits pretty fast (package size, execution duration, etc). Due to that I'm looking for some alternatives which would fit to AWS Lambda limits and ideology. What would be the best option for my case?

like image 383
Gleb Avatar asked Dec 23 '22 04:12

Gleb


1 Answers

Try using micronaut (http://micronaut.io/). New framework in town still promising for a distributed environment. Especially brings in a lot of benefits by performing DI during buildtime thus reducing startup time and few memory overheads as it avoids reflection during runtime. Worth giving it a try!

like image 79
Pradeep Krishna Govindaraju Avatar answered Jan 13 '23 16:01

Pradeep Krishna Govindaraju