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...
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.
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!!!
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 😅
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 😂
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 😂
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! 🙌🏼
Please do! I don’t have enough time to dedicate to this at the moment 😅 ideas and help is welcome!
Been waiting for this! Cool!
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.
I’ve got done gRPC but I do want to explore it! Microservices though…..yes sir 🫡
looks very interesting, love to see with vue
I don’t know Vue. I assume it has a similar renderToString() api though?
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!!!
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 😅
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 😂
Quickly coming to that conclusion myself! It’s fun though 😂
4 weeks nothing posted
Damn the performance difference is actually super significant just at a glance. Thanks for the proof of concept dude! This is awesome.
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 😂
Take a look at EHTML
Will do thanks for the suggestion!