YouTube2Text

RabbitMQ in 100 Seconds — Transcript

by Fireship · 530 words · 79 segments · language en · Watch on YouTube

Full transcript

  1. 0:00rabbit mq an open source distributed
  2. 0:02message broker that works like a post
  3. 0:04office in the cloud it was developed in
  4. 0:062007 and written in the erlang
  5. 0:09programming language which itself is
  6. 0:10famous for powering the open telecom
  7. 0:12platform in the beginning apps were
  8. 0:14built as monoliths with all concerns
  9. 0:16coupled together on a single runtime the
  10. 0:18problem is that not everything scales in
  11. 0:20parallel differing computational needs
  12. 0:22gave rise to the microservice
  13. 0:24architecture where every concern has its
  14. 0:26own run time that scales independently
  15. 0:28rabbitmq is a tool that allows these
  16. 0:30microservices to communicate
  17. 0:31asynchronously with a variety of
  18. 0:33different protocols for example you may
  19. 0:35have an app that applies deep learning
  20. 0:37photo filters when the user clicks a
  21. 0:38button that request goes to a rest api
  22. 0:41but instead of processing the image
  23. 0:42there it produces a message with the
  24. 0:44required data and publishes it to an
  25. 0:46exchange the exchange is then
  26. 0:48responsible for routing it to one or
  27. 0:50more queues which are linked to the
  28. 0:51exchange with a binding and routing key
  29. 0:54now the message sits in the queue until
  30. 0:56it's handled by the consumer which in
  31. 0:57this case would be the image processing
  32. 0:59server the exchange can route directly
  33. 1:01to a specific queue or to multiple cues
  34. 1:03with a shared pattern using topics or to
  35. 1:06every queue it knows about with fanout
  36. 1:07the end result is an architecture that
  37. 1:09allows servers to both publish and
  38. 1:11subscribe to data thanks to the rabbitmq
  39. 1:13middleman to get started install it or
  40. 1:15run it in a docker container on port
  41. 1:175672 it also contains a cli tool to
  42. 1:21manage and inspect your broker now
  43. 1:23create a file in your favorite server
  44. 1:24side language and bring in a library
  45. 1:26that implements a messaging protocol
  46. 1:28like advanced messaging queue protocol
  47. 1:30091 this file will send a message and
  48. 1:33first needs to connect to rabbitmq on
  49. 1:35that connection we can use the create
  50. 1:37channel method to declare a cue which
  51. 1:39can be named whatever you want cues can
  52. 1:40be durable where the metadata is stored
  53. 1:42on disk or transient where it's only
  54. 1:44stored in memory and now produce a
  55. 1:46message by sending a buffer to that
  56. 1:48queue go ahead and run the file to
  57. 1:49create the queue and send the message
  58. 1:51then create another file to receive the
  59. 1:52message in real life this could be a
  60. 1:54different server on the other side of
  61. 1:55the world connect to rabbitmq just like
  62. 1:58we did for the publisher then reference
  63. 1:59the same queue name on that connection
  64. 2:01now use the consume method to receive a
  65. 2:03message and run a callback function with
  66. 2:05its data now run that file in a separate
  67. 2:07terminal to receive the message that's
  68. 2:09how a basic queue works but we could
  69. 2:10expand on this code by creating an
  70. 2:12exchange to manage multiple queues at
  71. 2:14the same time a fan out or topic
  72. 2:16exchange would allow multiple servers to
  73. 2:18subscribe to the same messages but
  74. 2:20consume them at different times this has
  75. 2:22been rabbitmq in 100 seconds hit the
  76. 2:25like button if you want to see more
  77. 2:26short videos like this thanks for
  78. 2:27watching and i will see you in the next
  79. 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.