News for hackers. Stuff that matters.
Re:Performance Improvements in .NET 7 by SideburnsOfDoom on Wednesday August 31, 2022 @10:29AM (#32662488)
As someone writing a .NET-based API hosted on AWS Lambda, your case is quite different to a "typical ASP.NET hosted application", that can run for days between restarts.
Re:Performance Improvements in .NET 7 by ledgerdev on Wednesday August 31, 2022 @11:10AM (#32663108)
I would like to host .net based api on google cloud run and azure container apps, which often will go to sleep after about 10 minutes without a request, so cold start time do matter quite a bit. I've done pretty extensive testing and see ~4-7 second cold starts with classic non aot mvc versus ~500ms with natively compiled golang/.net.

The reality of the cloud is that sleep & cold starts are very common and in fact necessary to run efficient systems. Half a second is acceptable but 4+ seconds is not and so aot is very important for future apps.