Skip to content
Josh tried coding
×1.0YouTube long-formTranscript

I Found a Faster Way to Build Next.js APIs

JTJosh tried coding@joshtriedcoding · 174K subscribers
Views
43.5K
43,548
Outlier
×1.0
Median 43.3K
Length
15:57
Published
Nov 14, 2024
Thursday
Comments
74
1K likes
Watch on YouTube

Script

How it's written

English
Words
2,987
Words a minute
187
Reading time
13 min
Segments
11

The hook

0:00–0:27

so yesterday I found a way to deploy your entire nextjs back end piece by piece in a super performant and extremely cheap to run way it was all just fun in games and me experimenting with different approaches until in the benchmarks I realized how well this experiment actually turned out to work so the implementation finally works the third Benchmark is running right there in the background and if this works this is looking very promising now to

Structure

Full transcript

Description

I was genuinely surprised deploying your API like this works so well and just wanted to share with y'all. Each piece of logic is deployed to a separate, high-performance environment (CF workers) and only loads the dependencies it absolutely needs. SUPER cheap to run too.

Very curious how much performance we can get out of this, if you have suggestions how to improve this even more let me know!!

--- links

benchmarking script: https://gist.github.com/joschan21/5d0...

-- my links

second channel (in depth videos):    / @joshtriedupstash

discord:   / discord

github: https://github.com/joschan21

my SaaS: https://crotus.io/

thank you for watching, really appreciate ya

More from Josh tried coding

Search Scout

Search creators, videos and pages, then press Enter to open one.