The lack of http2 would rarely be a problem. Usually you put these web services behind a reverse proxy that handles SSL certificates, throttling etc. Your internal services can still use http1.1. The more interesting argument is that fasthttp is a lot faster than the standard library but since normally the database is the bottleneck, you wouldn't notice that speed. Certainly worth considering. However in a microservices architecture there is a lot of communication between services where fasthttp can be leveraged (all behind a reverse proxy).
I don't like the concept of Go Fiber. I didn't come from Node to Go just to do things the Node way. That's just my POV. But I must say the video title is misleading and it implies that there is something bad about Go Fiber (Which is not the case) I think this a little unfair to the people working on Go Fiber.
The only thing i think is similar between express and fiber is the endpoint path definition. Example how you specify method and params. The rest are quite different.
It looks like go fiber now supports HTTP/2 as Fasthttp gained support for it. Note that as of the time I made this comment, this video was 2.5 years old.
Not having HTTP2 will not result in compatibility issues, it HTTP1.1 is just slower but still supported by every browser, and significant amount of websites and services still exclusively use it. 6 years may seem old to web developers but for a protocol like H2 it's still rather young.
Thanks for the video! I think the "why you shouldn't use it part is a bit misleading - realistically, almost all APIs are built with some framework. I've never seen one built with the raw HTTP libraries (why would a team choose to do this? Companies want us to focus primarily on business logic, not low-level details). I think folks want performance with little development overhead. I'd be more interested in hearing why you shouldn't use Fiber compared to Gin or another Go API framework. Curious to hear if anyone disagrees with me - do any of you guys use built-in HTTP libraries to develop APIs (not just for fun)?
I think when it comes to real production application, you won't rely on reinventing the wheel (neither using println to respond requests o.o like in the example) Also readability and simplicity is one thing which you should care a lot, because you working with teamates, the more clarity in your code the better. So, I'll use any frameworks if they give me these things I've appointed
I've used both fiber and gin and also chi for some periods. They are great, which one has its own benefits, but when it comes to writting fast, simple and easy handlers to understand, gin and fiber, in my opnion, outstands
this video was really beautiful and helpful for me , i am really interested to migrate from nodejs to go to fiber :) , and i like the last song in the outro of this video hhh. thank you my freind !
Very instructive. By the look of your editor, it appears to be VSCode, but with a specific look and feel, which I find most pleasant. Can you tell us what this theme is ? Thanks.
I am contemplating, creating an ads clickstream project in Golang. Which other Golang framework can we use instead of Fiber which is faster with less memory footprint and has lesser cpu consumption? Thanks!
I am still looking for reference on how to use Pug in Fiber. For instance, how to use iteration described in Pug doc, because I find it only works for javascript, not Go. Does this mean, I have to modify pug code using Go syntax ? The example in Fiber doc doesn't explain this thing; it only has an example of simple interpolation.
Every new project I keep on having trouble with Go modules again, right now I'm working on a Fyne app in Go but every time I try to load in a part of the framework it auto-imports parts of version 1 of the Fyne framework and it's nowhere to be found in the dependencies so Go modules and imports/dependencies are why I still don't like working with Go as much as I'd like to. I've also noticed that sometimes Goland doesn't resolve dependencies that are actually available, after restarting the IDE it picks up on them but that I guess that's an issue with the IDE. Plus the whole: - go mod init - go get package - go mod tidy workflow never seems to work consistent for me to get third party things running.
📝Get your *FREE Golang Cheat Sheet* -
golangdojo.com/cheatsheet
Would you please compare mux and chi?
Been using Go Fiber for a year and it is awesome. Extremely performant and easy to use
How do you compare it with gRPC? Even that's super fast.
@@codelucky it’s been amazing. Sub-millisecond api response even under full load with zero errors. I also love the middleware options
The lack of http2 would rarely be a problem. Usually you put these web services behind a reverse proxy that handles SSL certificates, throttling etc. Your internal services can still use http1.1. The more interesting argument is that fasthttp is a lot faster than the standard library but since normally the database is the bottleneck, you wouldn't notice that speed. Certainly worth considering. However in a microservices architecture there is a lot of communication between services where fasthttp can be leveraged (all behind a reverse proxy).
Yeah, your reasoning I understand. His - not so much
Why use http at all for internal communications. Message queues are faster and decoupled.
Please do that Go modules video! Thanks for the video!
In the pipeline!
I don't like the concept of Go Fiber. I didn't come from Node to Go just to do things the Node way. That's just my POV.
But I must say the video title is misleading and it implies that there is something bad about Go Fiber (Which is not the case)
I think this a little unfair to the people working on Go Fiber.
The only thing i think is similar between express and fiber is the endpoint path definition. Example how you specify method and params. The rest are quite different.
Yes, do the Go Modules video, asap! ✌🏾
Done!
It looks like go fiber now supports HTTP/2 as Fasthttp gained support for it. Note that as of the time I made this comment, this video was 2.5 years old.
Not having HTTP2 will not result in compatibility issues, it HTTP1.1 is just slower but still supported by every browser, and significant amount of websites and services still exclusively use it.
6 years may seem old to web developers but for a protocol like H2 it's still rather young.
Excellent! ✌🏻More videos about Web development please 🔥
Thanks for the video!
I think the "why you shouldn't use it part is a bit misleading - realistically, almost all APIs are built with some framework. I've never seen one built with the raw HTTP libraries (why would a team choose to do this? Companies want us to focus primarily on business logic, not low-level details).
I think folks want performance with little development overhead.
I'd be more interested in hearing why you shouldn't use Fiber compared to Gin or another Go API framework.
Curious to hear if anyone disagrees with me - do any of you guys use built-in HTTP libraries to develop APIs (not just for fun)?
I think when it comes to real production application, you won't rely on reinventing the wheel (neither using println to respond requests o.o like in the example)
Also readability and simplicity is one thing which you should care a lot, because you working with teamates, the more clarity in your code the better. So, I'll use any frameworks if they give me these things I've appointed
I've used both fiber and gin and also chi for some periods. They are great, which one has its own benefits, but when it comes to writting fast, simple and easy handlers to understand, gin and fiber, in my opnion, outstands
@@dineyantunes4630 Is Go your first programming language?
Hi mate, very good video, do you intend to update this content to a more recent version ?
I know how Go modules work but i would be happy see a tutorial about it here. Thanks.
Coming soon!
Fiber is great, it just isn't as mature as a few other frameworks. Keeping track of it until it does everything I need.
this video was really beautiful and helpful for me , i am really interested to migrate from nodejs to go to fiber :) , and i like the last song in the outro of this video hhh. thank you my freind !
Always enjoy your video because your video is full of important info. Keep it up. Love u #bro🇧🇩
Glad you found them helpful!
Make video on Go Modules, and Explain Briefly
what happened to the go web app series?
will there be a tutorial series on authentication and sessions?
Taking a pause to learn some other things. Will continue it soon!
@@GolangDojo I'll be looking forward to it!
Really awesome tutorial! Thank you!
This is a misleadng title! The downside are common to all framework, not just fiber except the http 2 one, but I wasted 17 minutes on this video.
Please make a video on channel , routines that paves the way to concurrency. And interface as well as it helps clean code. Thanks for ur effort mate
Very instructive. By the look of your editor, it appears to be VSCode, but with a specific look and feel, which I find most pleasant. Can you tell us what this theme is ? Thanks.
It's jetbrains IDE possibly goland not Vscode
high contrast theme
gin gonic vs fiber
Which is better one ?!
Will make a video on it ;)
@@GolangDojo Tks
It's open source, so why would I not be able fix bugs in it?
Why isn’t it 201 for your createNinja?
Thanks for the video!
i wonder if you could create video about the pros vs cons fiber vs gin.
Thats why i made my own framework using http standard library
On Linux port 80 and all other ports bellow 1024 are privileged ports, so your app might not be able to start on port 80 without running it via sudo.
I am contemplating, creating an ads clickstream project in Golang. Which other Golang framework can we use instead of Fiber which is faster with less memory footprint and has lesser cpu consumption? Thanks!
pure golang, but fiber is the fastest go framework based on the benchmarks i have seen maybe I am wrong
why it took 500 ms ? isn’t go fater than that?
I am still looking for reference on how to use Pug in Fiber. For instance, how to use iteration described in Pug doc, because I find it only works for javascript, not Go. Does this mean, I have to modify pug code using Go syntax ?
The example in Fiber doc doesn't explain this thing; it only has an example of simple interpolation.
please do a video about go modules
Done!
I wanted to break your PC so bad after watching that theme, anyways.. thanks for the tutorial
You’re welcome!
I STILL DONT UNDERSTAND GO MODULES
Is it an alternative “CMake”?
Every new project I keep on having trouble with Go modules again, right now I'm working on a Fyne app in Go but every time I try to load in a part of the framework it auto-imports parts of version 1 of the Fyne framework and it's nowhere to be found in the dependencies so Go modules and imports/dependencies are why I still don't like working with Go as much as I'd like to.
I've also noticed that sometimes Goland doesn't resolve dependencies that are actually available, after restarting the IDE it picks up on them but that I guess that's an issue with the IDE.
Plus the whole:
- go mod init
- go get package
- go mod tidy
workflow never seems to work consistent for me to get third party things running.
In the pipeline!
I end up using GIN -.-
Very misleading title , 1000 dislike
What’s app 🇮🇩
👍
what about gin gonic
In the pipeline!
kinda a bait tittle
What do you mean?
Not a bait title. The Fasthttp issue is why lots of people avoid Fiber right now
Introductioneeeh tow gohhh fiberhhh
how you guys understand this guy
Stop with this fake accent
you can do go build && .\exectuable.exe, that will prompt the firewall on windows only once.