RabbitMQ in 100 Seconds

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • RabbitMQ is an open-source message broker often used for communication between microservices in the cloud. Learn how to build your own message queue with RabbitMQ in docker.
    #programming #cloudcomputing #100SecondsOfCode
    🔗 Resources
    RabbitMQ www.rabbitmq.com
    Terraform in 100 Seconds • Terraform in 100 Seconds
    Elixir in 100 Seconds • Elixir in 100 Seconds
    🔥 Get More Content - Upgrade to PRO
    Upgrade to Fireship PRO at fireship.io/pro
    Use code lORhwXd2 for 25% off your first payment.
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - What is RabbitMQ?
    - What is RabbitMQ used for?
    - How does RabbitMQ work?
    - Basic RabbitMQ tutorial in Node.js
    - What is a messaging protocol?

КОМЕНТАРІ • 494

  • @stanislavnovikov8880
    @stanislavnovikov8880 2 роки тому +907

    Finally I can add RabbitMQ to skill section in my CV

    • @Extys
      @Extys 2 роки тому +33

      Based.

    • @yunusozd
      @yunusozd 2 роки тому +204

      also add erlang he mentioned too

    • @codeaperture
      @codeaperture 2 роки тому +2

      😆

    • @theascendunt9960
      @theascendunt9960 2 роки тому +3

      Oh wow. What an original comment.

    • @yunusozd
      @yunusozd 2 роки тому +19

      @@theascendunt9960oh another day and another toxic programmer

  • @caradebreno
    @caradebreno 2 роки тому +1006

    It's amazing how you always throw a 100 seconds on the tool I just started working on

    • @thmsrttg
      @thmsrttg 2 роки тому +11

      haha same!!

    • @ghazouaninagui8567
      @ghazouaninagui8567 2 роки тому +12

      same lmao

    • @snk-js
      @snk-js 2 роки тому +14

      I have a theory, that developers are the first ones to know the changes in the world, and every connected developer gets instant update about what demands will be going to pop up, thus, every developer is connected between themselves somehow [EDIT]: actually not always only developers but scientist in general, people who seek to be acknowledged using the internet.

    • @microcolonel
      @microcolonel 2 роки тому +16

      He's your boss and you don't even know it.

    • @caradebreno
      @caradebreno 2 роки тому +4

      @@snk-js Yeah, it makes sense, but in many cases it's a tool I started working on because of my job, not because I found it interesting, and that's what scares me the most.

  • @isheanesunigelmisi8400
    @isheanesunigelmisi8400 2 роки тому +285

    These Fireship videos are multiplying like rabbits and I love it

  • @weiss3903
    @weiss3903 2 роки тому +374

    Time to go down this rabbit hole...

  • @rfontalva
    @rfontalva 2 роки тому +347

    These are great! It would be nice a series of this videos but for more generic topics, like explaining MQTT protocol for example

    • @juleswinnfield1437
      @juleswinnfield1437 2 роки тому +2

      Totally agree!

    • @giddy4600
      @giddy4600 2 роки тому

      ^^

    • @pheonyxior_5082
      @pheonyxior_5082 2 роки тому +2

      Dropping a comment here so that it can be seen by more people :
      A bot/scammer is in the comments, its pseudo is fireship1mpme something ( since I reported the comment it disappeared so I can't tell you the exact name ), and he will answer to your comment like "My dear fan ! You won a price, mp me to get it", so yeah that's def a scam

    • @FacadeMan
      @FacadeMan 2 роки тому +1

      The protocol series

    • @lennart5738
      @lennart5738 Рік тому

      MQTT is literally the simplest messaging protocol there is. He could probably do "MQTT in 25 seconds"

  • @wisdomouswanderer
    @wisdomouswanderer 2 роки тому +82

    Great video! I would love to see more videos on Big data tools such as Apache Spark, Kafka, Storm as haven't seen enough on your channel and nobody explains them better than you do.
    Keep it up, Jeff.

  • @tornoutlaw
    @tornoutlaw 6 місяців тому +3

    Using docker as shown in the video also allows for calling the rmq management UI exposed at port 15672, where one can create, manage & monitor users, exchanges, queues etc.

  • @flyingmindzofficial6891
    @flyingmindzofficial6891 2 роки тому +40

    Thanks! Your videos are perfect to gain a sufficient overview 😊

  • @carlyparly6633
    @carlyparly6633 2 роки тому +5

    Kafka in 100 seconds would be a great follow up to this video! Thanks for the hard work on these

  • @ZeekDaGeek
    @ZeekDaGeek 2 роки тому +29

    Man this is the thing I've wanted! I've been making and remaking something like this for sockets for the longest time in probably a comparatively crappy way. I could never get Google to give me this as a result.

    • @jepemz873
      @jepemz873 2 роки тому +5

      Checkout redis streams too.

    • @lapraswastaken
      @lapraswastaken 2 роки тому +2

      that's kinda how i feel with a bunch of these videos - this channel is just great, especially the "100" seconds videos. nice and terse so they're easy to watch and each with more than enough info to see if the topic is up my alley.

  • @BillLambert
    @BillLambert 2 роки тому +13

    I absolutely love this series. My default stance is to ignore new stuff (old man yelling at cloud), but 100s is just enough to convince me to try something (or reaffirm my snub).

    • @ianfarre314
      @ianfarre314 2 роки тому +1

      That's how you become obsolete and jobless man. Unless you know Cobol that is...

    • @MrMudbill
      @MrMudbill 2 роки тому +2

      @@ianfarre314 Depends on how new. Jumping on every new trend can absolutely kill your productivity, stability, futureproofing etc. Let it get out of beta and simmer for a bit before using it seriously.

  • @StefDev
    @StefDev 2 роки тому +6

    NOOOOOOOOICE! Thanks for this FireShip🤟

  • @snk-js
    @snk-js 2 роки тому +4

    the monolith crystal exploding was just awesome cool effect man

  • @jtothey1993
    @jtothey1993 2 роки тому +1

    Thanks, I'll add I'm an expert on RabbitMQ on my resume now.

  • @JeremyChone
    @JeremyChone 2 роки тому +2

    We use redis stream for our backend event bus/queue. Very fast, and the power of consumer groups really makes it shine.

    • @ayayabood
      @ayayabood 2 роки тому

      Your stuff looks cool

  • @Feronom
    @Feronom 2 роки тому +2

    "different computational needs gave rise to microservices" in one sentence I finally understand what bunch of medium articles can't explain

  • @yinonelbaz5309
    @yinonelbaz5309 Рік тому +2

    For the last three days I have been reading 8 hours every day on rabbitmq to get a good introduction to the topic and you managed to reduce my whole three days to 2 minutes!!!!!

  • @tds272
    @tds272 2 роки тому +5

    Thank you, please keep going with producing such nice videos.
    Now it’s time for „Kafka in 100 seconds“ to compare it in another video with rabbitmq 😂

  • @sergio_8354
    @sergio_8354 Рік тому +2

    Docker command from video:
    docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.10-management

  • @WolfPhoenix0
    @WolfPhoenix0 2 роки тому +56

    I can't believe Jeff has covered so many topics that he's now entering the rabbit hole of messaging queues (pun fully intended)
    At least it's not another JS framework. 😂

  • @Omaryllo
    @Omaryllo 2 роки тому +2

    There are so many increasingly opaque architectures and devtools that have increasingly PR descriptions that makes no sense to anyone trying to use it. This is the first time I feel like I sorta understand wtf rabbitmq does. tysm! Now I can actually begin to even consider it in any project

  • @SahilP2648
    @SahilP2648 2 роки тому +4

    RabbitMQ is amazing. Takes a lot of the plumbing out if you don't want to do fancy stuff like creating UDP level netcode for FPS gaming for example. Most people can deal with a bit of latency and a bit of overhead for saving a bunch of time for asynchronous messaging between client and server and it is extremely easy to use and scalable. It gets work done.

  • @dottechnoologies
    @dottechnoologies Рік тому +2

    Guys, this guy is simply amazing. I follow his channel for news, but I just followed along on this Rabbit MQ and it works! Like his code actually works. And I love it because there isn't much explanation, but his code is super easy to understand. I didn't see anyone using async await on this topic, he made it so much easy. I have been figuring out how I could use rabbit mq with my normal express router controller folder structure. With this his code, I think I have figured out how to go about it. Going for the pro membership. This is it for me...

  • @brianrdetweiler
    @brianrdetweiler 2 роки тому +2

    As someone who has to work tangentially with RabbitMQ but not like, WITH it with it, this is perfect. Thank you!

  • @qtgiebel
    @qtgiebel Рік тому +3

    I've been working on a degree in this field for years and this is the first time someone's ever explained the tangible benefits of microservices.

  • @ismailfateen3170
    @ismailfateen3170 2 роки тому +4

    I absolutely understand everything. Just like LLVM's video.

  • @SB-qm5wg
    @SB-qm5wg 2 роки тому +4

    I used it a lot at one of my jobs. It was pretty cool. The IT issues were usually the pre and post and rarely with RabbitMQ itself.

  • @joshuaomana7740
    @joshuaomana7740 2 роки тому +4

    I was literally tasked with researching this to implement it at work, and when checking for turoriala THIS just poped out jaja. Very nice top level overview as always

  • @rubenuijtde
    @rubenuijtde 2 роки тому +14

    If it’s blazingly fast too, I’d a full tutorial to go down this rabbit hole

  • @imsleepy620
    @imsleepy620 2 роки тому +6

    This sounds incredibly useful for a OCR backend microservice I'm working on. Nice timing.

    • @ALZlper
      @ALZlper 2 роки тому

      It's useful for micro service based architectures in general. You can also do RPC and much more

  • @christianhabermann6527
    @christianhabermann6527 2 роки тому +3

    Best dev channel on youtube, seriously. The amount and quality of information here is insane. You deliver stuff in Seconds that took me weeks.

  • @jewpcabra666
    @jewpcabra666 2 роки тому +16

    you should do one on airflow and Kafka!! amazing stuff per usual

  • @chiemezienjoku7047
    @chiemezienjoku7047 Рік тому +2

    My resume after watching this video:
    RabbitMQ expert.

  • @Kevin192291
    @Kevin192291 2 роки тому +2

    You quickly touched on, but didn't mention one of the most awesome parts of RabbitMQ, The fact that if you API is down, or unavailable, Rabbit will attempt to re-send the message when the consumer is available again allowing for messages sent to an api to be processed even if the box that the API is installed on caught on fire!

  • @clxxiii
    @clxxiii 2 роки тому

    Dude this type of software is literally exactly what I've needed. I swear you have mind-reading capabilities

  • @rajdave7357
    @rajdave7357 2 роки тому

    sir please answer this
    1. from where you learn such concepts??
    2. you have made video on almost every cs tech, how are you able to do it?
    3. top 10 website or blog or something else you follow in order to be aware of what's going on around and in tech

  • @akhil_sai
    @akhil_sai 2 роки тому +3

    Need Kafka 100 seconds and a comparison between Rmq and Kafka as well 🤩

  • @1XXXJoker
    @1XXXJoker 2 роки тому +1

    I literally just came home from work where I had to look up what RabbitMQ was.
    You always post about topics I am newly involved in ... Scary

  • @johnmcparland3277
    @johnmcparland3277 2 роки тому +2

    finally i can use rabbitmq to connect my custom ISO timestamp converter to Omegastar

  • @adrianalbertoromerogranado6528
    @adrianalbertoromerogranado6528 16 днів тому

    what a great and concise explanation, thanks man !

  • @dennyportillo1844
    @dennyportillo1844 2 роки тому

    Day was bad until a new Fireship video came

  • @Eagle3302PL
    @Eagle3302PL 2 роки тому +5

    Another great thing with rabbitmq is the admin UI, it's super handy if you cba to fuck around with the cli. You can create/modify exchanges and queues, view queue I/O metrics and it also lets you inspect and publish messages manually.

  • @crifox16
    @crifox16 2 роки тому +11

    rabbitmq is great, used it a few times as a broker between microservices and loved it. it's pretty simple but it's not very forgiving :v especially when you consume the wrong message or use the wrong routing key, when it's gone it's gone

    • @archmad
      @archmad 2 роки тому +1

      place it in a state, and log it.

    • @holden5478
      @holden5478 2 роки тому +1

      or use Kafka instead

    • @miguelguthridge
      @miguelguthridge 2 роки тому

      I suppose errors like that would be relatively simple to catch by writing some integration tests though.

    • @crifox16
      @crifox16 2 роки тому

      @@miguelguthridge yeah that was mainly during development. by the time it reached production it was (and still is) pretty damn solid

    • @jepemz873
      @jepemz873 2 роки тому +1

      It's a bit old school being so ephemeral. Kafka and redis streams are superior because they're event logs you can keep an amount of history and replay the messages.

  • @wichaisawangpongkasame9237
    @wichaisawangpongkasame9237 2 роки тому

    i bet you don't know how great this vid is at introducing both its concept and simple implementation. Thanks for the good work!

  • @TheMR-777
    @TheMR-777 2 роки тому +1

    The Logo looks like a 👌🏻as well as a Rabbit. Amazing!

  • @jacksonspector329
    @jacksonspector329 2 роки тому +1

    Please do AMPS pub sub framework!
    On a side note, your videos have ignited my curiosity in programming like nothing else has ever been able to. Your channel is a unique outlet that allows people of all levels of experience to learn. And for that I am grateful!

  • @stevemcwin
    @stevemcwin 2 роки тому +25

    Hey Jeff, could you make a video explaining the Nim programming language in 100 seconds please?

  • @vinno97
    @vinno97 2 роки тому +1

    I've worked with RabbitMQ for a POC and loved it. Never seen anyone else using it sadly. Seen some large corporations use azure/aws pubsub or Kafka, but never RabbitMQ

  • @user-hd7me6ww1f
    @user-hd7me6ww1f 10 місяців тому

    Amazing Coverage with in just 100 seconds!. Kudos to you man!!!

  • @trannusaran6164
    @trannusaran6164 2 роки тому +1

    glad to see more love for Erlang and the BEAM vm

  • @andyapp8181
    @andyapp8181 2 роки тому +6

    Now do Kafka in 100 seconds!

  • @scr34m_piu
    @scr34m_piu 2 роки тому

    Thank you so much, this is right timing while i need to learn RabbitMQ for my work and your video came up

  • @shaylevinzon540
    @shaylevinzon540 22 дні тому

    Thanks, exactly what I was looking for

  • @dzikiLOS
    @dzikiLOS 2 роки тому

    you would have saved me a day or two some time in the past, this so so precise and basically how I was explaining it to my team. Great job!

  • @forrestbajbek3900
    @forrestbajbek3900 9 місяців тому

    What a great video. Literally exactly what I needed for my project right now.

  • @JamieVegas
    @JamieVegas 3 місяці тому

    Microservices have been in use since the early 90s... it was the way EVERYTHING was done. There were no monoliths, because the phone company and the companies that provided the first reference architectures worked like this.,

  • @anthonying
    @anthonying 2 роки тому +1

    Isn’t it funny how these just pop up at the exact time you need them? Going to be working on an app using RabbitMQ at work soon…

  • @varunsodhani6812
    @varunsodhani6812 11 місяців тому

    Your videos help me decide what I want to use and learn more about

  • @ADominacja
    @ADominacja 2 роки тому

    Now I want rabbitmq in 1000 seconds. I have no need for this tech, but it's very interesting

  • @shlokbhakta2893
    @shlokbhakta2893 2 роки тому +2

    You should do technologies of the alphabet where you list the most influential/important technology for every letter and explain why

  • @juleswinnfield1437
    @juleswinnfield1437 2 роки тому

    Loved this video - great high level demonstration of something super useful! Keep em' coming!

  • @artrix909
    @artrix909 2 роки тому +2

    Next edge functions in 100 seconds next!

  • @CheatCodeSam
    @CheatCodeSam 2 роки тому

    RabbitMQ is fantastic, I've been using it for a new project to have a Minecraft server communicate with a Nest.js server and its super easy and intuitive to use.

  • @park2348190
    @park2348190 10 місяців тому

    oh my god this is best video of this channel

  • @thehibbi
    @thehibbi 2 роки тому

    Visualization on point as always, thanks for the video :)

  • @vojtech_richter
    @vojtech_richter 2 роки тому +1

    Great video, i'd love to see ElasticSearch next.

  • @lennytheleopard
    @lennytheleopard Рік тому

    I really enjoyed this video (as an IBM MQ SME)

  • @saikirandash8574
    @saikirandash8574 8 місяців тому

    Perfectly explained 👌

  • @erikslorenz
    @erikslorenz 2 роки тому +2

    Queues are something I learned about way too late. If you spend time integrating different things they really are amazing. Although I use managed ones from azure and gcp.

  • @dekcode2824
    @dekcode2824 2 роки тому

    Nice 100sec coverage as always. Thanks

  • @claytoncastro2734
    @claytoncastro2734 2 роки тому +1

    More cloud/microservices content!

  • @soheilnazari6731
    @soheilnazari6731 2 роки тому

    I needed this 4 days ago

  • @dabbopabblo
    @dabbopabblo 2 роки тому +77

    That moment when you realize you basically already made your own version of RabbitMQ but using node and websockets with dispatchers(servers), workers(servers that consume jobs with their data or message) and subdispatchers( servers that connect as a client to the dispatchers but relay jobs for the other worker servers to complete)

    • @davids9096
      @davids9096 2 роки тому +41

      Yeah dump it for good and use Rabbit

    • @rogue.ganker
      @rogue.ganker 2 роки тому +2

      ZeroMQ if you want to take it to the next level :)

    • @ojcgv21
      @ojcgv21 2 роки тому +1

      RabbitMQ is not that easy to use in production, sometimes your server will lose the connection with the rabbitmq server, you have to deal with this properly

    • @dabbopabblo
      @dabbopabblo 2 роки тому

      @@ojcgv21 Thats why I am happy using my solution instead. It can be setup with one line of code on the server and one on the edge server or however many edge servers are needed and then re connection attempts are automatically made when it looses connection. And responses to jobs can be defined per server with each having the ability to reject jobs they don't have definitions for and the control server having knowledge of which servers its attempted sending a job so it can retire one if no servers accepted it

    • @dabbopabblo
      @dabbopabblo 2 роки тому

      @@rogue.ganker besides the fact it can run without a dedicated broker it looks like its functionality is at least exactly the same as mine just probably way more difficult to setup and maybe a tad bit faster

  • @zero0bb
    @zero0bb 2 роки тому +1

    can you do more videos on logic and planning coding, usually I have a lot of problem expressing my logic even though it's correct like your technical interview video helped a lot

  • @interrrp_with_three_rs
    @interrrp_with_three_rs Рік тому

    Finally, an explanation of this mysterious magic tool only professionals use

  • @nisargbhatt300
    @nisargbhatt300 2 роки тому +1

    Thank you for the content. 😄 Hard to explain RabbitMQ in 100sec but Great job 👍🤟

  • @weamhaleemi4984
    @weamhaleemi4984 2 роки тому +2

    i feel like this is Microservices in 50 seconds and rabbit mq in 50

  • @AROAH
    @AROAH 2 роки тому

    Wow, not only is it not JavaScript, but it’s something actually innovative.

  • @frog706
    @frog706 2 роки тому

    Great video, would love to see a long-from video on RabbitMQ.

  • @filmonseare4597
    @filmonseare4597 10 місяців тому

    Short and amazing need more please

  • @NoLongerManic
    @NoLongerManic 2 роки тому

    this would of saved me from a year ago haha, glad it's covered at last

  • @pioula1117
    @pioula1117 2 роки тому

    Great video. Waiting for Kafka

  • @queenkai
    @queenkai 2 роки тому +2

    Watching this video makes me feel so painfully aware how wrong I’ve been using RabbitMQ in my project

  • @nathansavage8692
    @nathansavage8692 2 роки тому +2

    Thats really cool! Could you do a video on Elk Stack? Kibana now has an agent system and a bunch of pre-built use cases all for free. One of them is a full blown IDS!

    • @uqwendkasd4809
      @uqwendkasd4809 2 роки тому

      What is a IDS? Could not find anything relevant when googling kibana IDS

    • @nathansavage8692
      @nathansavage8692 2 роки тому

      @@uqwendkasd4809 try limitless XDR, thats their buzzword of the week for it, basicaly an Intrusion Detection System is a system used in corperate enviroments to detect hacks by analysing network traffic, weird processes on endpoints/servers etc

  • @pranaypallavtripathi2460
    @pranaypallavtripathi2460 2 роки тому +3

    Kafka in 100 seconds please !!!!!!

  • @irshitmukherjee7943
    @irshitmukherjee7943 2 роки тому

    thats really great a great tool for microservices........ I was using RabbitMQ in amqpcloud........your video

  • @richardroman9983
    @richardroman9983 Рік тому

    Another epic video!!!

  • @johnathanjames2872
    @johnathanjames2872 2 роки тому +1

    Awesome. Hey, can you please make a video on declarative vs imperative programming paradigms ^_^

  • @NMiller_
    @NMiller_ 2 роки тому +1

    Love these videos! Could you do one for Kafka?

  • @Rochie
    @Rochie 2 роки тому

    Thanks suggested this a while ago and now I see it

  • @martindimitrov8547
    @martindimitrov8547 2 роки тому +1

    You should make a video on rabbitmq Vs Kafka!

  • @djcaesar9114
    @djcaesar9114 2 роки тому

    Thanks, I can now add "RabbitMQ expert" in my résumé.

  • @porroapp
    @porroapp 2 роки тому +1

    Would be great to learn more about CQRS and event streaming architecture.

  • @allmight9991
    @allmight9991 2 роки тому

    u need to make a video telling us how you do your research it's really amazing

  • @olegnikitindev
    @olegnikitindev 2 роки тому

    Love the explanation

  • @johnny1815
    @johnny1815 2 роки тому +2

    Please do a video with google or azure cloud stuff like the aws one :)

  • @MysticZA
    @MysticZA Рік тому

    Cloudflare just released a queue service!

  • @adarshgopalakrishnan9766
    @adarshgopalakrishnan9766 2 роки тому

    I could relate this to ROS which also uses a publisher-subscriber model

  • @niwla23
    @niwla23 2 роки тому +1

    Can you make a comparison video between RabbitMQ, MQTT, Redis and Kafka?

  • @jonathanesedji8705
    @jonathanesedji8705 2 роки тому

    BEST FORMAT EVER