Это видео недоступно.
Сожалеем об этом.

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

Поделиться
HTML-код
  • Опубликовано: 9 окт 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.

Комментарии • 46

  • @milos018
    @milos018 Год назад +6

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

  • @khushalsharma2031
    @khushalsharma2031 8 месяцев назад +4

    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.

  • @alexdellaragione3403
    @alexdellaragione3403 Год назад +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 RUclips. :)

  • @uberscientist
    @uberscientist Год назад +15

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

  • @themarksmith
    @themarksmith 11 дней назад

    Useful stuff, thank you!

  • @EQuimper
    @EQuimper Год назад +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  Год назад +4

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

    • @rydmerlin
      @rydmerlin Год назад

      What is your GoLang experience level?

  • @jean-baptistelasselle4562
    @jean-baptistelasselle4562 Год назад +4

    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 Год назад +3

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

  • @serhiicho
    @serhiicho Год назад +2

    Looks like something I'm gonna use myself

  • @speedTurtle
    @speedTurtle Год назад +1

    Excellent. Quick and dirty.

  • @dwivedisshyam
    @dwivedisshyam Год назад +1

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

  • @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?

  • @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?

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

  • @user-jp5oi1cl4t
    @user-jp5oi1cl4t Год назад

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

  • @shreyasjejurkar1233
    @shreyasjejurkar1233 Год назад +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.

  • @whatthefunction9140
    @whatthefunction9140 Год назад

    Love your videos rob

  • @georgelza
    @georgelza Год назад

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

  • @lintaoamons5712
    @lintaoamons5712 Год назад

    Really great content, tight and informative

  • @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)

  • @bharathiravichandran5524
    @bharathiravichandran5524 Год назад

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

  • @salahaldinedouard5299
    @salahaldinedouard5299 9 месяцев назад

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

    • @陸
      @陸 8 месяцев назад

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

  • @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 Год назад +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.

  • @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 месяцев назад +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.

  • @andrespedrogonzalesrojas1181
    @andrespedrogonzalesrojas1181 Год назад +1

    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.

  • @augcampospt
    @augcampospt Год назад +1

    Nice 😁

  • @graficospace5235
    @graficospace5235 Год назад

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

  • @jimmymalark
    @jimmymalark Год назад

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

    • @codingwithrobby
      @codingwithrobby  Год назад

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

  • @BinaryBrew101
    @BinaryBrew101 9 месяцев назад +1

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

  • @rogerramjet69
    @rogerramjet69 Год назад

    fiber is awesome... without a doubt best framework

  • @ajitmaurya707
    @ajitmaurya707 Год назад

    Gin and fiber both looks same to me.

  • @EzequielRegaldo
    @EzequielRegaldo Год назад +1

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

    • @mx338
      @mx338 Год назад

      The claim is the fastest popular framework.

    • @EzequielRegaldo
      @EzequielRegaldo Год назад

      @@mx338 of course

  • @kidamanecer2144
    @kidamanecer2144 Год назад

    No, it's Echo
    >hide

  • @chrishabgood8900
    @chrishabgood8900 Год назад +4

    microsoft thinks their own stuff is the best..

  • @danko95bgd
    @danko95bgd Год назад +2

    No