Reduce serverless .NET cold start times by up to 70% with Native AOT (cross-post from /r/dotnet)

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  • I think that's nice technical experiment, but I suspect that you will never able to prove that some type would never be used. What if some dynamic loading in case of error condition, or rare cases. Sounds too risky for me, but if you air this idea to .NET devs https://github.com/dotnet/runtime/issues/61231 I think you can receive more practical advice. I may miss something.

  • We actually added a NativeAot row here: https://github.com/aws-samples/serverless-dotnet-demo

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • serverless-go-demo

    Sample serverless application written in Golang

  • Which you can compare to Go here: https://github.com/aws-samples/serverless-go-demo

  • RdXmlLibrary

    Library of RD.xml files for NativeAOT

  • Yes, please do. That's would be very practical. As shameless plug, I will share my attempt to collect Rd.xml for various .NET libraries. https://github.com/kant2002/rdxmllibrary . I think that NativeAOT in similar position as it was TypeScript and would require community effort to make rd.xml which works in every condition. But I see a way, how you can embed rd.xml inside AWS.SDK, and inject into build pipeline so nobody would know about them.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts