Function is the user code and metadata. Spotinst supports growing number of programming languages (a.k.a Runtimes) to meet the industry standard and enable code diversity and flexibility. Each function is supplied by its metadata, that enforces specific characteristics of runtime type, requested memory and invocation timeout.
After creating a function, the service generates URL that can be called countlessly and scales automatically from a few requests per day to thousands per second.
Please note: function initial invocation can occasionally take longer due to the concept of ‘cold’ start. In contrast of ‘warm’ container, where the user code is already injected in the runtime and ready to be used, ‘cold’ container start must allocate the container and inject the code.