when your serverless computing bill goes parabolic... - 双语字幕

$96,280.
If you're not careful, that could be your website hosting bill for the month.
Imagine it's the year 2024.
You're a human artist whose life work is being devoured and regurgitated by diffusion models.
To fight back,
you build a free website and social network that filters out everything artificial, reminding us of the good times before the rise of the robots.
In just a few weeks, the app becomes a beacon of hope for humanity and grows to over 500,000 users.
It's every developer's dream, but sometimes dreams turn into nightmares.
And that's what happened when Kara got its serverless functions bill from Versailles, 96k and growing by the second.
In today's video, we'll find out how this is even possible.
Is it fair?
And we'll check out some amazing videos.
tools that can help you avoid the serverless tax.
It June 7th, 2024, and you're watching the code report.
I feel kind of bad even mentioning the name care.app because every time someone visits there,
it's going to cost the developer another 20 cents.
But this is hardly the first time someone has been surprised by a massive serverless bill.
There's nothing serverless about serverless.
It's just a server that scales automatically, so you don't have to f*** around with Kubernetes.
All big clouds offer serverless functions, so what exactly does Vercel do?
Well, they sell triangles.
And by that, I mean they sell an experience, a developer experience.
Vercel doesn't have its own data centers,
it's just a proxy for AWS and CloudFlare, but optimized for the world's most popular JavaScript framework next year.
Now, I actually went to business school and got really good grades, and what I learned
is that in order for Vercell to make money,
they need to charge you more than AWS charges them, but when it comes to pricing, they follow the art of war.
The whole secret lies in confusing the customer so that he cannot fathom our real intent.
They offer a free hobby tier that burns through cash, but this is the best way to put meat in the seats.
Every 100 customers that fall into this trap, maybe one or two of them will go viral and mature into a profitable customer.
A locked up cash cow with teats for bandwidth CPU time and gigabyte hours.
But this is how all big clouds work and really any developer product with a free tier.
It might be expensive and confusing, but for sales pricing is nothing unusual.
Their closest competitor Netlify, recently went viral when a user got $100,000 bill due to a DDOS attack.
At they offered to split the bill 2080,
but then reduced that down to 5k out of pocket, and eventually waved the bill after it went viral on Hacker News.
DDOS is one thing, but Cara is receiving legitimate traffic, and Vercel responded to their tweet confirming that.
In addition, they sent multiple emails to the customer.
or warning them that the app was blowing up,
and the customer failed to set a budget limit, which would have paused the project after a certain amount of money was spent.
These are mistakes you just cannot make when working with infinitely scaling platforms.
Now the developer has to either monetize quickly or be destined to a life of homelessness.
The developer,
Jingna Zhang,
is a well-established photographer from Singapore,
who's also currently including Google, Stability AI, Mid-Journey, DeviantArt, and Runway AI before infringing on copyrights with their AI tools.
Personally, I think Purcell offers a great product, quite possibly the best triangles
west of the Mississippi, but it's important that every developer knows how their pricing scales.
Heroku used to be the hottest place to deploy web apps, then it was acquired, and shortly after they dropped the free tier.
Every developer should have a self-hosted backup plan,
and in reality, it shouldn't take more than a couple hundred bucks a month on AWS or Hetzner to handle Kara's workload.
Ideally, you have it containerized with Docker and ready to launch anywhere.
And when it comes to infrastructure, tools SST can help you skip the low-level dealers and go straight to Pablo Escobar directly.
In addition,
I recently started playing around with this open- source tool called Coolify that basically allows you to host your own private resell,
which is a game changer if you have tons of failed side projects to manage.
I recommend subscribing to milky and checking out this video to learn more about it.
I have a hard time admitting this, but I'm addicted to serverless computing myself.
I doing it casually, just a few background functions here and there, but now my entire infrastructure is dependent on serverless.
I'm a functioning serverless aholic, and I need help.
Post good, versatile, or serverless alternatives in the comments below.
If this has been the code report, thanks for watching, and I will see you in the next one.
翻译语言
选择翻译语言

解锁更多功能

安装 Trancy 扩展,可以解锁更多功能,包括AI字幕、AI单词释义、AI语法分析、AI口语等

feature cover

兼容主流视频平台

Trancy 不仅提供对 YouTube, Netflix, Udemy, Disney+, TED, edX, Kehan, Coursera 等平台的双语字幕支持,还能实现对普通网页的 AI 划词/划句翻译、全文沉浸翻译等功能,真正的语言学习全能助手。

支持全平台浏览器

Trancy 支持全平台使用,包括iOS Safari浏览器扩展

多种观影模式

支持剧场、阅读、混合等多种观影模式,全方位双语体验

多种练习模式

支持句子精听、口语测评、选择填空、默写等多种练习方式

AI 视频总结

使用 OpenAI 对视频总结,快速视频概要,掌握关键内容

AI 字幕

只需3-5分钟,即可生成 YouTube AI 字幕,精准且快速

AI 单词释义

轻点字幕中的单词,即可查询释义,并有AI释义赋能

AI 语法分析

对句子进行语法分析,快速理解句子含义,掌握难点语法

更多网页功能

Trancy 支持视频双语字幕同时,还可提供网页的单词翻译和全文翻译功能

开启语言学习新旅程

立即试用 Trancy,亲身体验其独特功能

立即下载