RabbitMQ in 100 Seconds — Transcript
Full transcript
- 0:00rabbit mq an open source distributed
- 0:02message broker that works like a post
- 0:04office in the cloud it was developed in
- 0:062007 and written in the erlang
- 0:09programming language which itself is
- 0:10famous for powering the open telecom
- 0:12platform in the beginning apps were
- 0:14built as monoliths with all concerns
- 0:16coupled together on a single runtime the
- 0:18problem is that not everything scales in
- 0:20parallel differing computational needs
- 0:22gave rise to the microservice
- 0:24architecture where every concern has its
- 0:26own run time that scales independently
- 0:28rabbitmq is a tool that allows these
- 0:30microservices to communicate
- 0:31asynchronously with a variety of
- 0:33different protocols for example you may
- 0:35have an app that applies deep learning
- 0:37photo filters when the user clicks a
- 0:38button that request goes to a rest api
- 0:41but instead of processing the image
- 0:42there it produces a message with the
- 0:44required data and publishes it to an
- 0:46exchange the exchange is then
- 0:48responsible for routing it to one or
- 0:50more queues which are linked to the
- 0:51exchange with a binding and routing key
- 0:54now the message sits in the queue until
- 0:56it's handled by the consumer which in
- 0:57this case would be the image processing
- 0:59server the exchange can route directly
- 1:01to a specific queue or to multiple cues
- 1:03with a shared pattern using topics or to
- 1:06every queue it knows about with fanout
- 1:07the end result is an architecture that
- 1:09allows servers to both publish and
- 1:11subscribe to data thanks to the rabbitmq
- 1:13middleman to get started install it or
- 1:15run it in a docker container on port
- 1:175672 it also contains a cli tool to
- 1:21manage and inspect your broker now
- 1:23create a file in your favorite server
- 1:24side language and bring in a library
- 1:26that implements a messaging protocol
- 1:28like advanced messaging queue protocol
- 1:30091 this file will send a message and
- 1:33first needs to connect to rabbitmq on
- 1:35that connection we can use the create
- 1:37channel method to declare a cue which
- 1:39can be named whatever you want cues can
- 1:40be durable where the metadata is stored
- 1:42on disk or transient where it's only
- 1:44stored in memory and now produce a
- 1:46message by sending a buffer to that
- 1:48queue go ahead and run the file to
- 1:49create the queue and send the message
- 1:51then create another file to receive the
- 1:52message in real life this could be a
- 1:54different server on the other side of
- 1:55the world connect to rabbitmq just like
- 1:58we did for the publisher then reference
- 1:59the same queue name on that connection
- 2:01now use the consume method to receive a
- 2:03message and run a callback function with
- 2:05its data now run that file in a separate
- 2:07terminal to receive the message that's
- 2:09how a basic queue works but we could
- 2:10expand on this code by creating an
- 2:12exchange to manage multiple queues at
- 2:14the same time a fan out or topic
- 2:16exchange would allow multiple servers to
- 2:18subscribe to the same messages but
- 2:20consume them at different times this has
- 2:22been rabbitmq in 100 seconds hit the
- 2:25like button if you want to see more
- 2:26short videos like this thanks for
- 2:27watching and i will see you in the next
- 2:29one
About this transcript
This page contains the full transcript of RabbitMQ in 100 Seconds by Fireship, generated from the public captions YouTube serves with the video. The transcript has 530 words across 79 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.