4 ms·
We abuse serverless on my team. We make our services in NestJS. We use an adapter to connect express to Lambda RestAPI events. Business logic is properly tiered
by gadflyinyoureye 5y ago
We abuse serverless on my team. We make our services in NestJS. We use an adapter to connect express to Lambda RestAPI events. Business logic is properly tiered. The code is testable for units and integration. To support debugging locally we use podman and localstack.
The perform is quick enough for our purposes. Our TLAs are basically do it before the 30 second window times out for the API Gateway. If we need better performance or if we hit issues like payload size limitations, we could deploy our apps on EC2 with no loss of features or rework.