SSR-ing React with Go isn't fun

  Рет қаралды 1,218

Coffee Into Code

Coffee Into Code

18 күн бұрын

An update on how I'm SSR-ing React using Golang. Whilst the performance is fantastic there are bottlenecks that occur under load. For now, NextJS still wins!
Source code: github.com/TurnCoffeeIntoCode...

Пікірлер: 15
@arturfil
@arturfil 16 күн бұрын
Looks pretty cool so far! I'm going to take a look at the repo and see what I can do with that, keep the videos coming! 🙌🏼
@coffeeintocode
@coffeeintocode 16 күн бұрын
Please do! I don’t have enough time to dedicate to this at the moment 😅 ideas and help is welcome!
@gadgetboyplaysmc
@gadgetboyplaysmc 16 күн бұрын
Been waiting for this! Cool!
@prashlovessamosa
@prashlovessamosa 7 күн бұрын
can you teach us gRPC or else anything that you use in production stuff like building microservices btw your search engine lectures are too helpful I learnt a lot.
@coffeeintocode
@coffeeintocode 7 күн бұрын
I’ve got done gRPC but I do want to explore it! Microservices though…..yes sir 🫡
@dracula5752
@dracula5752 14 күн бұрын
looks very interesting, love to see with vue
@coffeeintocode
@coffeeintocode 14 күн бұрын
I don’t know Vue. I assume it has a similar renderToString() api though?
@taquanminhlong
@taquanminhlong 14 күн бұрын
Rendering react still requires the js runtime, and it's just not the best idea to embed it within go. I tried with rust (deno embedded), lots of pain to move on 😂
@coffeeintocode
@coffeeintocode 14 күн бұрын
Quickly coming to that conclusion myself! It’s fun though 😂
@gadgetboyplaysmc
@gadgetboyplaysmc 16 күн бұрын
Damn the performance difference is actually super significant just at a glance. Thanks for the proof of concept dude! This is awesome.
@coffeeintocode
@coffeeintocode 15 күн бұрын
Yeah I was blown away as well. For low requests the perf was incredible but a couple of hundred concurrent requests and it fell off a cliff. There will be a solution, I just don’t know it yet 😂
@a7kerkh
@a7kerkh 16 күн бұрын
i think it's because of how railway works with node and golang, maybe they use v8 isolate for node and docker for golang, so it's the reason why the performance is so different AND SO IMPORTANT THAT Nextjs doing hard prefer to ssg IT MEANS THAT YOUR CODE IS SSG BY DEFAULT. so that's maybe a reason for this too!!!
@coffeeintocode
@coffeeintocode 15 күн бұрын
Interesting! Can you message me on Twitter about this, I’ve got no idea about Railway and how it interacts with Node/Go? I thought it was just containers 😅
@guseynismayylov1945
@guseynismayylov1945 15 күн бұрын
Take a look at EHTML
@coffeeintocode
@coffeeintocode 14 күн бұрын
Will do thanks for the suggestion!
Svelte 5: Compiler, Signals, and Web App Performance - JSJ 627
1:21:52
Are we going back to PHP with fullstack JavaScript?
9:57
Maximilian Schwarzmüller
Рет қаралды 71 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 13 МЛН
маленький брат прыгает в бассейн
00:15
GL Show Russian
Рет қаралды 3,9 МЛН
How to open a can? 🤪 lifehack
00:25
Mr.Clabik - Friends
Рет қаралды 13 МЛН
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 167 М.
Golang Search Engine - Setting up Fiber & Templ - Part 1
20:03
Coffee Into Code
Рет қаралды 598
Ultimate Golang Developer Roadmap 2024 🚀
11:46
practicego
Рет қаралды 18 М.
React Removes `fetch`
19:20
Theo - t3․gg
Рет қаралды 68 М.
OpenAI SHOCKED Everyone! Voice, Vision, & Free?!
8:58
Theoretically Media
Рет қаралды 43 М.
Pretty much every website uses the wrong font size…
15:33
Theo - t3․gg
Рет қаралды 57 М.
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Рет қаралды 237 М.
Life After SQL (EdgeDB Is Fascinating)
15:40
Theo - t3․gg
Рет қаралды 51 М.
Trying Zig Part 1
1:30:00
TheVimeagen
Рет қаралды 59 М.
WTF Do These Even Mean
13:44
Web Dev Simplified
Рет қаралды 70 М.
Follow @karina-kola please 🙏🥺
00:21
Andrey Grechka
Рет қаралды 13 МЛН