4 ms·
Why care about scaling cheaply before you have success. But my advice would be a lambdalith. Get Django, dotnetcore minimal api, fastapi, node.js or laravel, de
by hdlothia 3y ago
Why care about scaling cheaply before you have success. But my advice would be a lambdalith. Get Django, dotnetcore minimal api, fastapi, node.js or laravel, deploy it on lambda with a wrapper for free and if you scale up to the point lambda is too expensive, docker it into a vps.
https://mangum.io/ https://mangum.io/
Or
https://codewithmukesh.com/blog/hosting-aspnet-core-web-api-with-aws-lambda/#Creating_the_NET_6_Web_API_Project https://codewithmukesh.com/blog/hosting-aspnet-core-web-api-... for examples.
When it comes to mobile apps firebase is king it seems.
- neonsunset 3y ago(keep in mind that the lambda guide is outdated, AWS Lambda startup performance and base memory footprint got massively improved* with Native AOT, which official SDK makes full use of: https://docs.aws.amazon.com/lambda/latest/dg/dotnet-native-aot.html https://docs.aws.amazon.com/lambda/latest/dg/dotnet-native-a..., though if you need a (micro) ORM, you will have to use Dapper AOT instead of EF Core) * Native AOT uses same GC (defaults may differ), the main profit comes from a) less data to load in memory on startup and b) no need for extra memory used by the JIT, long running applications will amortize to similar memory usage provided GC settings are identical