Тёмный

Is Fiber the best Go web framework? Better than Gin? 

Coding with Robby
Подписаться 18 тыс.
Просмотров 38 тыс.
50% 1

In this video I take a look at the Fiber web framework for Go lang. How does it compete with Gin?
gofiber.io/
I also do a quick getting started guide.

Наука

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

 

9 окт 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 45   
@milos018
@milos018 Год назад
You single handedly sold me on Fiber and tought me in 20mins. Great work
@alexdellaragione3403
@alexdellaragione3403 Год назад
Recently stumbled upon your videos Robby and I have to say you've got great content! I've tasked myself with learning a new language and chose Go and your videos have been super helpful to get me started. Definitely looking forward to anything else you drop on RU-vid. :)
@khushalsharma2031
@khushalsharma2031 8 месяцев назад
please create more Golang videos. I reallly like the way you jus open the docs and figure out like normal dev and make mistakes. It helps us to procastinate less over random errors.
@whatthefunction9140
@whatthefunction9140 Год назад
Love your videos rob
@uberscientist
@uberscientist Год назад
I was looking for a replacement for NodeJS and was checking out Rust frameworks for a whole day (rocket, actix..) and was scared off 14 minutes in here and I'm convinced to give Fiber a shot, thanks for the rapid fire examples, good stuff
@JohnDoe-mr6mq
@JohnDoe-mr6mq Год назад
Hey! Have you eventually stick with Fiber or did you find something else? I'm looking in the direction of Go and its ecosystem to figure out good alts to NodeJS too. I also wish if Rust wasn't that cryptic...
@serhiicho
@serhiicho Год назад
Looks like something I'm gonna use myself
@lintaoamons5712
@lintaoamons5712 Год назад
Really great content, tight and informative
@JhonatanMorais
@JhonatanMorais Год назад
The first video I watched from your channel I saw you explaining go stuff using Gyn. then I watched the second and there you were using fiber... so I questioning about why he changed the tool? and here the third one you explained. thank you a lot for this! btw I will change too your points are well explained. :)
@dwivedisshyam
@dwivedisshyam Год назад
Really liked the keyboard sound. Can you share which on is that?
@georgelza
@georgelza Год назад
did you ever do a follow on of this. won't mind seeing you implement a basic api server.
@speedTurtle
@speedTurtle Год назад
Excellent. Quick and dirty.
@user-jp5oi1cl4t
@user-jp5oi1cl4t Год назад
Man You are awesome I encourage you to make a paid course with you wonderful content
@muratasarslan2359
@muratasarslan2359 7 месяцев назад
Heyy, very useful. Thanks for this video. I was just looking sth similar to Nestjs. Fiber looks nice. How about creating some thematic videos? Config management, authentication etc. in Fiber app?
@EQuimper
@EQuimper Год назад
Good video. I loved fiber, but my go to now is always chi cause they follow the standard library which make it easier to plug lot of other library. But yes fiber perf is crazy, I used it in one production project and its day and night vs old node server.
@codingwithrobby
@codingwithrobby Год назад
Interesting, I'll have to try Chi sometime soon!
@rydmerlin
@rydmerlin Год назад
What is your GoLang experience level?
@juliad8882
@juliad8882 5 месяцев назад
What is your opinion about support considering it is based upon http 2.0? Would it be too early to use fiber?
@augcampospt
@augcampospt Год назад
Nice 😁
@jean-baptistelasselle4562
@jean-baptistelasselle4562 Год назад
Question : how useful is a benchmark, if the publisher does not provide informations to fully reproduce (re-run) the tests ? Especially for a web app framework, it is probably thé easiest performance tests kind to reproduce. And you know, when thé publisher tests his own product and Comes to thee conclusion his own product is thé best on thé market, .... It sounds like Africa newspapers
@tanieltari4539
@tanieltari4539 Год назад
All the benchmarks source code is public and you can run those yourself if you wish. TechEmpower/FrameworkBenchmarks is the GitHub repo.
@bharathiravichandran5524
@bharathiravichandran5524 Год назад
Thank u so much ❤❤... Please give me a vedio about middleware config and logger file on fiber
@andrespedrogonzalesrojas1181
Nice!! Which one is the most common way to deploy a Golang project? I am used to deploy projects with Docker because I worked many years with Java, so I am not sure which are the standards in Golang
@ironixde
@ironixde Год назад
Golang and Docker is a dream team - well, Docker is written In Go, so no wonder. I have also been using podman for smaller deployments or even Go apps running as systemd services. Since you only have one binary, it is pretty easy to deploy and run Go in a container or as a service.
@sonant_bwolfe
@sonant_bwolfe Год назад
One of the things that's been a real bummer for me is the lack of any kind of feature like gin's c.Abort() in fiber's context. There's a good chance I'm just stupid, but I'm writing uglier code because of it; having to explicit error handling in the main route handler function instead of just throwing a immediate response if the error occurs in a child function :(
@MaulikParmar210
@MaulikParmar210 Год назад
Use middlewsres, period. I'm not fan of such pattern as coming from symfony stack but frameworks do provide different mechanisms to handle critical errors in different ways. Fiber using middlewares to pass on layers of the stack, it has builtin Recover middleare to handle panics and any other errors. Regardless of language, concepts of error handling remain almost the same across languages as they tend to copy each other and become homogenous after a few years. Learn concepts, not code - it helps understand why such design pattern was utilised there.
@shreyasjejurkar1233
@shreyasjejurkar1233 Год назад
Great video. BTW in framework benchmark you forgot to search aspnetcore (which was the original reason you landed on page) which is number 7 so faster than fiber as well. So .NET is quite faster than Go.
@CheefCoach
@CheefCoach Год назад
I like that in Gin I can return status code with data in JSON return.
@amarildo-xyz
@amarildo-xyz Год назад
In Fiber you can use this to return data and status code in one line: c.JSONWithStatus(user, fiber.StatusOK) which is equivalent of: c.Status(fiber.StatusOK) c.JSON(user)
@graficospace5235
@graficospace5235 Год назад
Of course !!!, it’s blazing fast 158.0 req/s
@nordeenhasan6030
@nordeenhasan6030 11 месяцев назад
why they don't have detailed doc as laravel has. I was enjoy reading laravel doc. there is no info in gin or fiber docs
@a-yon_n
@a-yon_n 10 месяцев назад
Because in fact Express, Fiber or Gin aren’t real frameworks but libraries, you can use them inside your own framework or infrastructure. Laravel is a real framework that comes with everything you need to develop a website, so naturally, it has to provide full documentation, but we don't do that in libraries.
@salahaldinedouard5299
@salahaldinedouard5299 8 месяцев назад
Robby can you please do a video 📹 on fiber auth session and jwt
@陸
@陸 7 месяцев назад
just watch his gin auth vid and try to redo it on fiber
@jimmymalark
@jimmymalark 11 месяцев назад
Hey what's your Github id? Are these projects stored there?
@codingwithrobby
@codingwithrobby 11 месяцев назад
Sorry I wasn’t saving project code at this time. New videos have the source linked in the description.
@rogerramjet69
@rogerramjet69 Год назад
fiber is awesome... without a doubt best framework
@ajitmaurya707
@ajitmaurya707 Год назад
Gin and fiber both looks same to me.
@kidamanecer2144
@kidamanecer2144 Год назад
No, it's Echo >hide
@BinaryBrew101
@BinaryBrew101 9 месяцев назад
From my experience there's no particular best or worst framework, it all depends upon specific usecase....just sayin!!!
@chrishabgood8900
@chrishabgood8900 Год назад
microsoft thinks their own stuff is the best..
@EzequielRegaldo
@EzequielRegaldo Год назад
asp net core 7° .. so ... not at all lol
@mx338
@mx338 Год назад
The claim is the fastest popular framework.
@EzequielRegaldo
@EzequielRegaldo Год назад
@@mx338 of course
@danko95bgd
@danko95bgd Год назад
No
Далее
JWT Authentication in Go (Gin/Gorm)
35:26
Просмотров 67 тыс.
This Go package was archived. What do we do now?
5:53
Pagination in Go from scratch (Gorm/Gin)
25:14
Просмотров 10 тыс.
This Is The BEST Way To Structure Your GO Projects
11:08
Creating a JSON CRUD API in Go (Gin/GORM)
34:08
Просмотров 113 тыс.
Go API Tutorial - Make An API With Go
38:03
Просмотров 173 тыс.
Why We Switched From Svelte Kit To Golang + HTMX
9:54
Battery  low 🔋 🪫
0:10
Просмотров 13 млн