|
|
|
|
|
by crandycodes
3144 days ago
|
|
I'm one of the devs on Azure Functions. In general, the trick is to basically never be cold. When you get assigned an instance, you keep it for a while before we put it to sleep. On the first call, you get assigned a "pre-warmed" instance that helps optimize load time. You can still help out by making sure your dependencies are lightweight. We've still got some work to do for the JVM before we GA Java, but it's a pattern we're pretty happy with so far. |
|