My Authors
Read all threads
⏰ What time is it? Time for a #Mythbusters thread -- #Serverless edition!

Agreed, the term is sub-par. But hear me out, the architecture is not. Let's talk about a few common misconceptions about Serverless!
1⃣ "Serverless means no servers"

There *are* servers involved, but it's not on you to run and operate them. Instead, the serverless provider is managing the platform, scaling things up (and down) as needed. Less things to take care of, billed per-use.

Myth: BUSTED!
2⃣ "Serverless is cheaper"

Pay-per-use makes low/medium-volume workloads really cheap. But pricing is complex: no. of requests, assigned RAM/CPU, API gateways, traffic etc. Depending on your workload (e.g. high, sustained), other options like VMs are better.

Myth: Kinda BUSTED!
3⃣ "You can't use #Java for Serverless"

Yes, classic web stacks on the JVM can take seconds to start: too long for cold starts with users waiting for a response. But don't despair; AOT compilation with #GraalVM (and Project Leyden soon) yields ms start-up times.

Myth: BUSTED!
4⃣ "Serverless means lock-in"

Not if you do it right. Avoid provider-specific function APIs, use portable APIs like #Quarkus Funqy, REST APIs, e.g. with AWS Lambda Proxy, or container-based Serverless (#Knative). It hardly gets more portable than Linux containers.

Myth: BUSTED!
5⃣ "Serverless makes Ops superfluous"

True. That is, if you don't care about monitoring and incident response, keeping your dependencies and base images secure and up-to-date, budget control, right-sizing RAM and CPU, water-proof IAM, etc. In other words:

Myth: BUSTED!
6⃣ "The less memory a function uses, the better"

Oftentimes, CPU is allocated proportionally to RAM. Even if you just need 128 MB RAM, assigning more may reduce latency by means of more CPU. This can put you into a lower billing bracket and thus be cheaper.

Myth: BUSTED!
7⃣ "Serverless is a panacea for all IT problems"

j/k, I hope nobody thinks that. As always, context matters. Serverless architectures are great for some problems, a poor fit for others. Think for yourself, choose what makes most sense, no matter what's the hype-du-jour.

~Fin~
Missing some Tweet in this thread? You can try to force a refresh.

Keep Current with Gunnar Morling 🌍

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!