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

Sdílet
Vložit
  • čas přidán 9. 10. 2022
  • 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.
  • Věda a technologie

Komentáře • 45

  • @milos018
    @milos018 Před rokem +3

    You single handedly sold me on Fiber and tought me in 20mins. Great work

  • @alexdellaragione3403
    @alexdellaragione3403 Před rokem +7

    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 CZcams. :)

  • @khushalsharma2031
    @khushalsharma2031 Před 6 měsíci +2

    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.

  • @lintaoamons5712
    @lintaoamons5712 Před rokem

    Really great content, tight and informative

  • @whatthefunction9140
    @whatthefunction9140 Před rokem

    Love your videos rob

  • @serhiicho
    @serhiicho Před rokem +1

    Looks like something I'm gonna use myself

  • @uberscientist
    @uberscientist Před rokem +14

    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 Před rokem

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

  • @speedTurtle
    @speedTurtle Před 11 měsíci +1

    Excellent. Quick and dirty.

  • @JhonatanMorais
    @JhonatanMorais Před rokem

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

  • @s_shyamdwivedi5110
    @s_shyamdwivedi5110 Před rokem +1

    Really liked the keyboard sound. Can you share which on is that?

  • @user-jp5oi1cl4t
    @user-jp5oi1cl4t Před rokem

    Man You are awesome I encourage you to make a paid course with you wonderful content

  • @georgelza
    @georgelza Před rokem

    did you ever do a follow on of this.
    won't mind seeing you implement a basic api server.

  • @EQuimper
    @EQuimper Před rokem +6

    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  Před rokem +4

      Interesting, I'll have to try Chi sometime soon!

    • @rydmerlin
      @rydmerlin Před rokem

      What is your GoLang experience level?

  • @muratasarslan2359
    @muratasarslan2359 Před 5 měsíci

    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?

  • @juliad8882
    @juliad8882 Před 4 měsíci

    What is your opinion about support considering it is based upon http 2.0?
    Would it be too early to use fiber?

  • @augcampospt
    @augcampospt Před rokem +1

    Nice 😁

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 Před 11 měsíci +3

    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.

  • @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 Před rokem

      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.

  • @bharathiravichandran5524

    Thank u so much ❤❤... Please give me a vedio about middleware config and logger file on fiber

  • @graficospace5235
    @graficospace5235 Před rokem

    Of course !!!, it’s blazing fast 158.0 req/s

  • @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 Před rokem +3

      All the benchmarks source code is public and you can run those yourself if you wish. TechEmpower/FrameworkBenchmarks is the GitHub repo.

  • @CheefCoach
    @CheefCoach Před 11 měsíci

    I like that in Gin I can return status code with data in JSON return.

    • @amarildo-xyz
      @amarildo-xyz Před 11 měsíci

      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)

  • @sonant_bwolfe
    @sonant_bwolfe Před rokem

    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 Před rokem +2

      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.

  • @salahaldinedouard5299
    @salahaldinedouard5299 Před 7 měsíci

    Robby can you please do a video 📹 on fiber auth session and jwt

    • @陸
      @陸 Před 6 měsíci

      just watch his gin auth vid and try to redo it on fiber

  • @jimmymalark
    @jimmymalark Před 10 měsíci

    Hey what's your Github id?
    Are these projects stored there?

    • @codingwithrobby
      @codingwithrobby  Před 10 měsíci

      Sorry I wasn’t saving project code at this time. New videos have the source linked in the description.

  • @nordeenhasan6030
    @nordeenhasan6030 Před 9 měsíci

    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 Před 9 měsíci +1

      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.

  • @rogerramjet69
    @rogerramjet69 Před rokem

    fiber is awesome... without a doubt best framework

  • @ajitmaurya707
    @ajitmaurya707 Před rokem

    Gin and fiber both looks same to me.

  • @kidamanecer2144
    @kidamanecer2144 Před rokem

    No, it's Echo
    >hide

  • @BinaryBrew101
    @BinaryBrew101 Před 8 měsíci +1

    From my experience there's no particular best or worst framework, it all depends upon specific usecase....just sayin!!!

  • @chrishabgood8900
    @chrishabgood8900 Před rokem +4

    microsoft thinks their own stuff is the best..

  • @EzequielRegaldo
    @EzequielRegaldo Před rokem +1

    asp net core 7° .. so ... not at all lol

    • @mx338
      @mx338 Před 11 měsíci

      The claim is the fastest popular framework.

    • @EzequielRegaldo
      @EzequielRegaldo Před 11 měsíci

      @@mx338 of course

  • @danko95bgd
    @danko95bgd Před rokem +2

    No