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?
Finally I can add RabbitMQ to skill section in my CV
Based.
also add erlang he mentioned too
😆
Oh wow. What an original comment.
@@theascendunt9960oh another day and another toxic programmer
It's amazing how you always throw a 100 seconds on the tool I just started working on
haha same!!
same lmao
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.
He's your boss and you don't even know it.
@@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.
These Fireship videos are multiplying like rabbits and I love it
Spoken like a true zimbo
@@calebkandoro4513 😂😂😂 guilty
Jajjajajaja
Time to go down this rabbit hole...
Ruh roh! (FIRST)
Leave now. You are banished. Exit
🐇🕳️
comment section:
😢
These are great! It would be nice a series of this videos but for more generic topics, like explaining MQTT protocol for example
Totally agree!
^^
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
The protocol series
MQTT is literally the simplest messaging protocol there is. He could probably do "MQTT in 25 seconds"
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.
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.
Thanks! Your videos are perfect to gain a sufficient overview 😊
Kafka in 100 seconds would be a great follow up to this video! Thanks for the hard work on these
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.
Checkout redis streams too.
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.
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).
That's how you become obsolete and jobless man. Unless you know Cobol that is...
@@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.
NOOOOOOOOICE! Thanks for this FireShip🤟
the monolith crystal exploding was just awesome cool effect man
Thanks, I'll add I'm an expert on RabbitMQ on my resume now.
We use redis stream for our backend event bus/queue. Very fast, and the power of consumer groups really makes it shine.
Your stuff looks cool
"different computational needs gave rise to microservices" in one sentence I finally understand what bunch of medium articles can't explain
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!!!!!
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 😂
Docker command from video:
docker run -it --rm --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq:3.10-management
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. 😂
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
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.
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...
As someone who has to work tangentially with RabbitMQ but not like, WITH it with it, this is perfect. Thank you!
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.
I absolutely understand everything. Just like LLVM's video.
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.
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
If it’s blazingly fast too, I’d a full tutorial to go down this rabbit hole
This sounds incredibly useful for a OCR backend microservice I'm working on. Nice timing.
It's useful for micro service based architectures in general. You can also do RPC and much more
Best dev channel on youtube, seriously. The amount and quality of information here is insane. You deliver stuff in Seconds that took me weeks.
you should do one on airflow and Kafka!! amazing stuff per usual
My resume after watching this video:
RabbitMQ expert.
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!
He said that queues are persistent
Dude this type of software is literally exactly what I've needed. I swear you have mind-reading capabilities
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
Need Kafka 100 seconds and a comparison between Rmq and Kafka as well 🤩
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
finally i can use rabbitmq to connect my custom ISO timestamp converter to Omegastar
what a great and concise explanation, thanks man !
Day was bad until a new Fireship video came
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.
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
place it in a state, and log it.
or use Kafka instead
I suppose errors like that would be relatively simple to catch by writing some integration tests though.
@@miguelguthridge yeah that was mainly during development. by the time it reached production it was (and still is) pretty damn solid
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.
i bet you don't know how great this vid is at introducing both its concept and simple implementation. Thanks for the good work!
The Logo looks like a 👌🏻as well as a Rabbit. Amazing!
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!
Hey Jeff, could you make a video explaining the Nim programming language in 100 seconds please?
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
Amazing Coverage with in just 100 seconds!. Kudos to you man!!!
glad to see more love for Erlang and the BEAM vm
Now do Kafka in 100 seconds!
Thank you so much, this is right timing while i need to learn RabbitMQ for my work and your video came up
Thanks, exactly what I was looking for
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!
What a great video. Literally exactly what I needed for my project right now.
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.,
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…
Your videos help me decide what I want to use and learn more about
Now I want rabbitmq in 1000 seconds. I have no need for this tech, but it's very interesting
You should do technologies of the alphabet where you list the most influential/important technology for every letter and explain why
Loved this video - great high level demonstration of something super useful! Keep em' coming!
Next edge functions in 100 seconds next!
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.
oh my god this is best video of this channel
Visualization on point as always, thanks for the video :)
Great video, i'd love to see ElasticSearch next.
I really enjoyed this video (as an IBM MQ SME)
Perfectly explained 👌
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.
Nice 100sec coverage as always. Thanks
More cloud/microservices content!
I needed this 4 days ago
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)
Yeah dump it for good and use Rabbit
ZeroMQ if you want to take it to the next level :)
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
@@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
@@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
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
Finally, an explanation of this mysterious magic tool only professionals use
Thank you for the content. 😄 Hard to explain RabbitMQ in 100sec but Great job 👍🤟
i feel like this is Microservices in 50 seconds and rabbit mq in 50
Wow, not only is it not JavaScript, but it’s something actually innovative.
Great video, would love to see a long-from video on RabbitMQ.
Short and amazing need more please
this would of saved me from a year ago haha, glad it's covered at last
Great video. Waiting for Kafka
Watching this video makes me feel so painfully aware how wrong I’ve been using RabbitMQ in my project
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!
What is a IDS? Could not find anything relevant when googling kibana IDS
@@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
Kafka in 100 seconds please !!!!!!
thats really great a great tool for microservices........ I was using RabbitMQ in amqpcloud........your video
Another epic video!!!
Awesome. Hey, can you please make a video on declarative vs imperative programming paradigms ^_^
Love these videos! Could you do one for Kafka?
Thanks suggested this a while ago and now I see it
You should make a video on rabbitmq Vs Kafka!
Thanks, I can now add "RabbitMQ expert" in my résumé.
Would be great to learn more about CQRS and event streaming architecture.
u need to make a video telling us how you do your research it's really amazing
Love the explanation
Please do a video with google or azure cloud stuff like the aws one :)
Cloudflare just released a queue service!
I could relate this to ROS which also uses a publisher-subscriber model
Can you make a comparison video between RabbitMQ, MQTT, Redis and Kafka?
BEST FORMAT EVER