RabbitMQ in 100 Seconds

Sdílet
Vložit
  • čas přidán 6. 09. 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?

Komentáře • 495

  • @stanislavnovikov8880
    @stanislavnovikov8880 Před 2 lety +908

    Finally I can add RabbitMQ to skill section in my CV

    • @Extys
      @Extys Před 2 lety +33

      Based.

    • @yunusozd
      @yunusozd Před 2 lety +204

      also add erlang he mentioned too

    • @codeaperture
      @codeaperture Před 2 lety +2

      😆

    • @theascendunt9960
      @theascendunt9960 Před 2 lety +3

      Oh wow. What an original comment.

    • @yunusozd
      @yunusozd Před 2 lety +19

      @@theascendunt9960oh another day and another toxic programmer

  • @caradebreno
    @caradebreno Před 2 lety +1007

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

    • @thmsrttg
      @thmsrttg Před 2 lety +11

      haha same!!

    • @ghazouaninagui8567
      @ghazouaninagui8567 Před 2 lety +12

      same lmao

    • @snk-js
      @snk-js Před 2 lety +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 Před 2 lety +16

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

    • @caradebreno
      @caradebreno Před 2 lety +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.

  • @weiss3903
    @weiss3903 Před 2 lety +375

    Time to go down this rabbit hole...

  • @isheanesunigelmisi8400
    @isheanesunigelmisi8400 Před 2 lety +286

    These Fireship videos are multiplying like rabbits and I love it

  • @rfontalva
    @rfontalva Před 2 lety +348

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

      Totally agree!

    • @giddy4600
      @giddy4600 Před 2 lety

      ^^

    • @pheonyxior_5082
      @pheonyxior_5082 Před 2 lety +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 Před 2 lety +1

      The protocol series

    • @lennart5738
      @lennart5738 Před rokem

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

  • @tornoutlaw
    @tornoutlaw Před 6 měsíci +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.

  • @wisdomouswanderer
    @wisdomouswanderer Před 2 lety +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.

  • @carlyparly6633
    @carlyparly6633 Před 2 lety +5

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

  • @ZeekDaGeek
    @ZeekDaGeek Před 2 lety +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 Před 2 lety +5

      Checkout redis streams too.

    • @lapraswastaken
      @lapraswastaken Před 2 lety +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 Před 2 lety +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 Před 2 lety +1

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

    • @MrMudbill
      @MrMudbill Před 2 lety +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.

  • @Feronom
    @Feronom Před 2 lety +2

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

  • @Omaryllo
    @Omaryllo Před 2 lety +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

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

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

  • @jtothey1993
    @jtothey1993 Před 2 lety +1

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

  • @SahilP2648
    @SahilP2648 Před 2 lety +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.

  • @brianrdetweiler
    @brianrdetweiler Před 2 lety +2

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

  • @JeremyChone
    @JeremyChone Před 2 lety +2

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

  • @SB-qm5wg
    @SB-qm5wg Před 2 lety +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.

  • @snk-js
    @snk-js Před 2 lety +4

    the monolith crystal exploding was just awesome cool effect man

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

  • @flyingmindzofficial6891
    @flyingmindzofficial6891 Před 2 lety +40

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

  • @rubenuijtde
    @rubenuijtde Před 2 lety +14

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

  • @christianhabermann6527
    @christianhabermann6527 Před 2 lety +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.

  • @tds272
    @tds272 Před 2 lety +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 😂

  • @StefDev
    @StefDev Před 2 lety +6

    NOOOOOOOOICE! Thanks for this FireShip🤟

  • @Kevin192291
    @Kevin192291 Před 2 lety +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!

  • @joshuaomana7740
    @joshuaomana7740 Před 2 lety +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

  • @WolfPhoenix0
    @WolfPhoenix0 Před 2 lety +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. 😂

  • @ismailfateen3170
    @ismailfateen3170 Před 2 lety +4

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

  • @sergio_8354
    @sergio_8354 Před rokem +2

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

  • @clxxiii
    @clxxiii Před 2 lety

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

  • @1XXXJoker
    @1XXXJoker Před 2 lety +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

  • @rajdave7357
    @rajdave7357 Před 2 lety

    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

  • @crifox16
    @crifox16 Před 2 lety +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 Před 2 lety +1

      place it in a state, and log it.

    • @holden5478
      @holden5478 Před 2 lety +1

      or use Kafka instead

    • @miguelguthridge
      @miguelguthridge Před 2 lety

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

    • @crifox16
      @crifox16 Před 2 lety

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

    • @jepemz873
      @jepemz873 Před 2 lety +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.

  • @jacksonspector329
    @jacksonspector329 Před 2 lety +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!

  • @Eagle3302PL
    @Eagle3302PL Před 2 lety +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.

  • @chiemezienjoku7047
    @chiemezienjoku7047 Před rokem +2

    My resume after watching this video:
    RabbitMQ expert.

  • @imsleepy620
    @imsleepy620 Před 2 lety +6

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

    • @ALZlper
      @ALZlper Před 2 lety

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

  • @akhil_sai
    @akhil_sai Před 2 lety +3

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

  • @JamieVegas
    @JamieVegas Před 3 měsíci

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

  • @johnmcparland3277
    @johnmcparland3277 Před 2 lety +2

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

  • @dabbopabblo
    @dabbopabblo Před 2 lety +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 Před 2 lety +41

      Yeah dump it for good and use Rabbit

    • @rogue.ganker
      @rogue.ganker Před 2 lety +2

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

    • @ojcgv21
      @ojcgv21 Před 2 lety +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 Před 2 lety

      @@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 Před 2 lety

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

  • @vinno97
    @vinno97 Před 2 lety +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

  • @jewpcabra666
    @jewpcabra666 Před 2 lety +16

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

  • @dennyportillo1844
    @dennyportillo1844 Před 2 lety

    Day was bad until a new Fireship video came

  • @stevemcwin
    @stevemcwin Před 2 lety +25

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

  • @wichaisawangpongkasame9237

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

  • @shlokbhakta2893
    @shlokbhakta2893 Před 2 lety +2

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

  • @andyapp8181
    @andyapp8181 Před 2 lety +6

    Now do Kafka in 100 seconds!

  • @ADominacja
    @ADominacja Před 2 lety

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

  • @CheatCodeSam
    @CheatCodeSam Před 2 lety

    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.

  • @trannusaran6164
    @trannusaran6164 Před 2 lety +1

    glad to see more love for Erlang and the BEAM vm

  • @adrianalbertoromerogranado6528

    what a great and concise explanation, thanks man !

  • @erikslorenz
    @erikslorenz Před 2 lety +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.

  • @queenkai
    @queenkai Před 2 lety +2

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

  • @scr34m_piu
    @scr34m_piu Před 2 lety

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

  • @dzikiLOS
    @dzikiLOS Před 2 lety

    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!

  • @AROAH
    @AROAH Před 2 lety

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

  • @TheMR-777
    @TheMR-777 Před 2 lety +1

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

  • @artrix909
    @artrix909 Před 2 lety +2

    Next edge functions in 100 seconds next!

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

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

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

    oh my god this is best video of this channel

  • @user-hd7me6ww1f
    @user-hd7me6ww1f Před 10 měsíci

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

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

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

  • @weamhaleemi4984
    @weamhaleemi4984 Před 2 lety +2

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

  • @interrrp_with_three_rs

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

  • @zero0bb
    @zero0bb Před 2 lety +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

  • @shaylevinzon540
    @shaylevinzon540 Před 23 dny

    Thanks, exactly what I was looking for

  • @juleswinnfield1437
    @juleswinnfield1437 Před 2 lety

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

  • @lennytheleopard
    @lennytheleopard Před rokem

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

  • @vojtech_richter
    @vojtech_richter Před 2 lety +1

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

  • @claytoncastro2734
    @claytoncastro2734 Před 2 lety +1

    More cloud/microservices content!

  • @nathansavage8692
    @nathansavage8692 Před 2 lety +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 Před 2 lety

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

    • @nathansavage8692
      @nathansavage8692 Před 2 lety

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

  • @thehibbi
    @thehibbi Před 2 lety

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

  • @allmight9991
    @allmight9991 Před 2 lety

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

  • @dekcode2824
    @dekcode2824 Před 2 lety

    Nice 100sec coverage as always. Thanks

  • @paulverse4587
    @paulverse4587 Před 2 lety +2

    Is this similiar to Google Cloud Pub/Subs Topics that you use with Google Cloud Functions? There you have a create via an API a message with information, which is entered into a queue of a topic, creating a new task instance to process it with the message as its inputs. Or is this different with some further advantage?

  • @saikirandash8574
    @saikirandash8574 Před 8 měsíci

    Perfectly explained 👌

  • @alexisnarvaez
    @alexisnarvaez Před 2 lety +1

    At this point you might be closer and closer to CQRS and Event Sourcing (and maybe EventStoreDB, Kafka, Read Model Projections and so on....)

  • @nisargbhatt300
    @nisargbhatt300 Před 2 lety +1

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

  • @niwla23
    @niwla23 Před 2 lety +1

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

  • @frog706
    @frog706 Před 2 lety

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

  • @NoLongerManic
    @NoLongerManic Před 2 lety

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

  • @soheilnazari6731
    @soheilnazari6731 Před 2 lety

    I needed this 4 days ago

  • @johnny1815
    @johnny1815 Před 2 lety +2

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

  • @timothy6992
    @timothy6992 Před 2 lety +5

    I know it’s technically not a programming-language, but maybe you could do a 100s on LaTeX. I love it as an alternative to MS Word with much more control and as a Developer I prefer to write my formating-instructions in code instead of using bloaded config-menus :)

    • @TheAlchemist1089
      @TheAlchemist1089 Před 2 lety

      Isn't that for PhD nerds?

    • @timothy6992
      @timothy6992 Před 2 lety

      @@TheAlchemist1089 yes, it’s mainly used for thesises, but also for CVs

  • @yarinlevi7791
    @yarinlevi7791 Před 2 lety

    Couldn't you have released this before I needed to read like a dozen pages just to understand the idea behind it? haha

  • @porroapp
    @porroapp Před 2 lety +1

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

  • @johnathanjames2872
    @johnathanjames2872 Před 2 lety +1

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

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

    Short and amazing need more please

  • @martindimitrov8547
    @martindimitrov8547 Před 2 lety +1

    You should make a video on rabbitmq Vs Kafka!

  • @pioula1117
    @pioula1117 Před 2 lety

    Great video. Waiting for Kafka

  • @DK-ox7ze
    @DK-ox7ze Před 2 lety +1

    I am wondering if RabbitMQ gives any significant advantages to async platforms like Nodejs?

  • @Felix-og7pd
    @Felix-og7pd Před 10 měsíci

    post office in cloud
    why? async communication for microservices
    pub/sub
    binding routing key
    direct
    topic
    fanout
    enqueue
    dequeue
    durable vs transient queue (hdd vs ram)
    how to produce message? buffer

  • @irshitmukherjee7943
    @irshitmukherjee7943 Před 2 lety

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

  • @BrunoGomes-su1bk
    @BrunoGomes-su1bk Před 2 lety

    BRUH, just yesterday i've heard about it in class and now you post a video on it... I'm concerned.

  • @ammarmangala9814
    @ammarmangala9814 Před 2 lety

    I just started working with RabbitMQ and ActiveMQ 😅

  • @Rochie
    @Rochie Před 2 lety

    Thanks suggested this a while ago and now I see it