12 ms·
You can solve alot of these with multi-module projects, at least in Kotlin/Java. You have a single codebase, with modules for each route, and modules for share
by jackpeterfletch 5y ago
You can solve alot of these with multi-module projects, at least in Kotlin/Java.
You have a single codebase, with modules for each route, and modules for shared infra/domain code.
Maven builds a JAR for each Route with only the resources that route needs, you deploy a single lambda for each JAR - but - you deploy them all together as part of the same build pipeline.
Then you have, non-monolithic lambdas, that can easily be performance tuned and privileged individually, but a single codebase that represents a whole 'microservice' application in one place, with shared code, that can be upgraded and kept consistant.