Server environments now launch faster

Hi folks,

I’m pleased to say that we’ve recently shipped a whole bunch of improvements, with the net effect of vastly speeding up launch times for server code environments. I encourage you to pick up an app you haven’t touched in a while and open a Server Console - they now launch almost instantly, even if you’re on the Free Plan!

We also think we’ve now pinned down a failure mode that would occasionally cause spiralling launch times, particularly on the Free plan. This should keep everyone’s server code launching snappily :slight_smile:

We’re continuing to improve Anvil’s performance, and not every improvement will get its own announcement, but I particularly wanted to celebrate this one!

Particular props go to @pete and @daviesian for this set of changes - I’m just cheering from the sidelines.

31 Likes

The difference is extremely noticeable. That is magic now.

3 Likes

I feel like this improvement deserves an announcement.

I built some very heavy apps in the past, feature stacking as part of my learning journey. This would eventually slow the load times to a crawl, but this just made them behave “normal”.

Landing page speeds - this is where I found most value. It’s a critical hurdle when building a SaaS product. This just made Anvil a reasonable choice without having to wrap the app in an externally hosted landing page.

6 Likes

Agree with above posts, there is a huge difference in speed! Thanks :pray:
@meredydd out of curiosity, does this performance boost also affect the App Server?

@tobias.carlbom - No, the changes only affect how we launch server environments in our scaled infrastucture on anvil.works. The App Server uses a different (much simpler) mechanism for executing server calls - so it is unaffected.

1 Like

This is great, will this also improve API endpoint failures due to the lag in VM spin up?
Currently I have to have to keep some servers running in order to avoid API endpoint drops happening.
Will this assist with that?