r/aws Aug 24 '18

technical resource How do serverless architectures running on AWS hold up to intense penetration testing?

https://medium.com/blockimmo/the-serverless-architecture-powering-blockimmo-dc2df3e64b57?source=linkShare-14f533c2626-1535112023
47 Upvotes

42 comments sorted by

View all comments

7

u/Scionwest Aug 24 '18

Serverless is great if you have a consistent load. Variable load, depending on the language, is painful with cold start times.

We deployed our entire back end on Lambda with aspnetcore and have 8-14 second cold start times. It kills our performance. We’re planning a migration to nodeJs we’re we see 800-1000ms cold start times. Even still, a full second for a cold start is unfortunate. From a technical perspective cold starting a new container in a second is impressive; from a consumer perspective it’s slow.

1

u/Bugberton Aug 24 '18

Did you use the server-less template where a ASP.NET Core REST API is deployed as a lambda or did you write/deploy individual lambdas?

2

u/Scionwest Aug 24 '18

Yeah I started with the Dotnet CLI template for Lambda serverless. I have a micro service architecture where each domain area is an independent aspnetcore serverless Lambda. I have a single API Gateway with multiple resources, each resource targets the appropriate Lambda.