News for hackers. Stuff that matters.
Re:Ruby on Jets: Like Rails but Serverless by andrew_ on Sunday January 22, 2023 @09:20AM (#34477630)
provisioned concurrency pretty much nukes the concern.
Re:Ruby on Jets: Like Rails but Serverless by soxocx on Sunday January 22, 2023 @09:52AM (#34477904)
This is not as trivial as you make it sound. You would need to know the amount of functions you want to have provisioned at all times, if you need more, cold starts will occur. In addition this creates base costs, which would not exist otherwise.
Re:Ruby on Jets: Like Rails but Serverless by andrew_ on Sunday January 22, 2023 @02:54PM (#34481557)
I would argue that if you needed n number of functions, where n is unknown, or n cannot be set to a reasonable number that can handle traffic, and cold starts are unacceptable, you would be using the wrong bit of infrastructure.
Re:Ruby on Jets: Like Rails but Serverless by soxocx on Thursday January 26, 2023 @09:49AM (#34532259)
I agree. Usually it is a a trade-off between cold starts and the costs of `n` warm functions.