when writing serverless code (for obvious reasons)
for integration tests involving multiple services.
Currently running integration tests of my current project takes 45 seconds for each container to startup on my local machine (using testcontainers). Having versions of the services which are AOT compiled will mean these tests will start so much quicker and this will reduce the feedback loop.
In production I don't think we will use AOT for long running apps.
-1
u/vxab Mar 12 '21
For me this is beneficial in a number of ways:
when writing serverless code (for obvious reasons)
for integration tests involving multiple services.
Currently running integration tests of my current project takes 45 seconds for each container to startup on my local machine (using testcontainers). Having versions of the services which are AOT compiled will mean these tests will start so much quicker and this will reduce the feedback loop.
In production I don't think we will use AOT for long running apps.