Vercel's fluid compute

The good
I’ve been a fan of serverless functions for a long time. In the early years, it was partly because of the fancy term “serverless” — it felt like magic, straight out of a fantasy. Ever since AWS Lambda launched in 2014, it has been a hot topic in the infrastructure world. It eliminates most of the infrastructure overhead: just write some code, package it, deploy it as a function, and it scales like magic. Sounds good, right?
The bad
Although serverless makes the most sense for stateless applications, it comes with some serious downsides — most notably, cold starts. While services like AWS Lambda have reduced cold start times significantly, it's still one of the drawbacks of serverless architecture. On top of that, CPU timings and wall-clock timings make cost predictions harder, adding another layer of complexity.
Fluid compute
Vercel’s new computing solution is called Fluid Compute, and I think it addresses some of the key problems we’ve had with traditional serverless architecture. While nothing has fundamentally changed, Fluid Compute allows the reuse of the same underlying hardware to run multiple functions. This greatly reduces costs, as multiple functions share the same resources.
Some sources suggest that Vercel still uses AWS Lambda under the hood, but they’ve engineered a sophisticated layer on top to achieve high levels of application concurrency. Since the same hardware is used to run multiple functions simultaneously, cold start times are also significantly reduced.
The thing I’m most excited about is application concurrency — it can significantly reduce application latency.
If you want to learn more about Fluid Compute, I highly recommend reading Original article from vercel.
If the sources are correct — and Vercel is indeed using AWS under the hood while still achieving this level of application concurrency — then I believe they could do an even better job if they owned the infrastructure themselves.
Let me know what do you think 😉.
Subscribe to my newsletter
Read articles from Yasar Arafath directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
