![Norm Johanson Profile](https://pbs.twimg.com/profile_images/1098358760244895744/WmOGZU4X_x96.png)
Norm Johanson
@socketnorm
Followers
3K
Following
3K
Statuses
3K
I work at @awscloud, making .NET great on AWS. All opinions expressed are my own.
Redmond, WA
Joined August 2009
RT @davidpallmann: Did you know you can use .NET Aspire with AWS to build cloud-native applications? I'm excited to be presenting ".NET As…
0
13
0
@wjaxxx As far as managed runtimes go Lambda only supports LTS versions of languages. You can use .NET 9 as a self contained or Native AOT function.
1
0
0
@johnzabroski @beeradmoore @vlahunter My limited understanding of this site is it uses a simple hello world function to test. SnapStart isn't going to be a good fit there because there is roughly a flat time spent restoring the Snapshot. Functions that have cold starts greater then that flat time see the benefit.
2
0
0
@Kralizek We haven't done anything with deployment and Aspire yet. So yes when you deploy your application to ECS you would need to include the collector container. I assume you would use the AWS Distro for OpenTelemetry.
0
0
0
@Kralizek There is also a hook you can register off of SnapshotRestore that runs during restore if you need to refresh the state of anything as part of restoration.
1
0
0
@Kralizek It includes the constructor where you can register snapshot hooks off of Amazon.Lambda.Core.SnapshotRestore type. Best practice is to use the hooks to warm up as much of the .NET codebase while the Snapshot is being created to avoid work being done during restore.
1
0
0
@brendonparker @qidydl In a larger application the important thing is to try and warm up as much of the .NET code as possible before the ");" call. That will run during the snapshotting process and avoid having to run during the cold start restore.
0
0
1
@bslatner @bslatner Just realized you responded to the PowerShell preview blog post but I assume your question was directed to the Lambda SnapStart post.
Continuing to make .NET a powerful Serverless platform we have added SnapStart support to our .NET AWS Lambda managed runtime. For those hesitant to use .NET for serverless due to cold start performance SnapStart can be a game changer.
1
0
0