Тёмный

SSR-ing React with Go isn't fun 

Coffee Into Code
Подписаться 375
Просмотров 1,3 тыс.
50% 1

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...

Опубликовано:

 

27 апр 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@arturfil
@arturfil Месяц назад
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 Месяц назад
Please do! I don’t have enough time to dedicate to this at the moment 😅 ideas and help is welcome!
@prashlovessamosa
@prashlovessamosa 23 дня назад
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 23 дня назад
I’ve got done gRPC but I do want to explore it! Microservices though…..yes sir 🫡
@gadgetboyplaysmc
@gadgetboyplaysmc Месяц назад
Been waiting for this! Cool!
@dracula5752
@dracula5752 Месяц назад
looks very interesting, love to see with vue
@coffeeintocode
@coffeeintocode Месяц назад
I don’t know Vue. I assume it has a similar renderToString() api though?
@prashlovessamosa
@prashlovessamosa 5 дней назад
4 weeks nothing posted
@a7kerkh
@a7kerkh Месяц назад
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 Месяц назад
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 😅
@taquanminhlong
@taquanminhlong Месяц назад
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 Месяц назад
Quickly coming to that conclusion myself! It’s fun though 😂
@gadgetboyplaysmc
@gadgetboyplaysmc Месяц назад
Damn the performance difference is actually super significant just at a glance. Thanks for the proof of concept dude! This is awesome.
@coffeeintocode
@coffeeintocode Месяц назад
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 😂
@guseynismayylov1945
@guseynismayylov1945 Месяц назад
Take a look at EHTML
@coffeeintocode
@coffeeintocode Месяц назад
Will do thanks for the suggestion!
Далее
How Slow Is JavaScript? | Prime Reacts
15:34
Просмотров 167 тыс.
React's New Controversial Override
13:02
Просмотров 51 тыс.
UFC 302: Пресс-конференция
22:48
Просмотров 1 млн
React Removes `fetch`
19:20
Просмотров 70 тыс.
Are we going back to PHP with fullstack JavaScript?
9:57
125 Million Effected Accounts By FireBase Configuration
10:53
Rust vs Go : Hands On Comparison
50:40
Просмотров 203 тыс.