The Backend Engineering Show with Hussein Nasser

ZeroMQ


Listen Later

ZeroMQ is an Open Source Messaging Library designed for a high-performance asynchronous messaging library. In this video I discuss this tech and build a simple queue with this tech

0:00 Intro

1:48 What is ZeroMQ?

4:48 Messaging Patterns

6:42 Socket Types

8:55 Simple Queue

11:00 Code

23:20 ZeroMQ Pros & Cons

29:30 Summary

Source Code

https://github.com/hnasr/javascript_playground/tree/master/zeromq-simplequeue

Resources

https://github.com/booksbyus/zguide/tree/master/examples/Node.js

https://en.wikipedia.org/wiki/ZeroMQ

https://blog.scottlogic.com/2015/03/20/ZeroMQ-Quick-Intro.html

http://zguide.zeromq.org/page:chapter3#advanced-request-reply

Outline

  • What is ZeroMQ?
    • Message library
    • Message Patterns
    • Broker less
    • Simple you build the components that you need
    • Sockets Types
      • REQ
      • REP
      • PUSH
      • PULL
      • ROUTER
      • DEALER
      • Message PatternS
        • Synchronous Request/Response
        • Asynchronous Request/Response
        • Publish/Subscribe
        • Push/Pull
        • Exclusive Pair
        • Example! (Simple Queue (Push Pull))
        • Pros & Cons
          • Pros
            • Simple (meh)
            • Efficient lightweight
            • Great for small use cases
            • Cons
              • You have to write customize
              • If you are building a large distributed message queue then you need to implement all features
              • Feels over-engineered Could be simpler.
              • ...more
                View all episodesView all episodes
                Download on the App Store

                The Backend Engineering Show with Hussein NasserBy Hussein Nasser

                • 4.9
                • 4.9
                • 4.9
                • 4.9
                • 4.9

                4.9

                40 ratings


                More shows like The Backend Engineering Show with Hussein Nasser

                View all
                Freakonomics Radio by Freakonomics Radio + Stitcher

                Freakonomics Radio

                32,100 Listeners

                Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

                Software Engineering Radio - the podcast for professional software developers

                275 Listeners

                Risky Business by Risky Business Media

                Risky Business

                375 Listeners

                Science Vs by Spotify Studios

                Science Vs

                12,237 Listeners

                Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                Syntax - Tasty Web Development Treats

                982 Listeners

                Darknet Diaries by Jack Rhysider

                Darknet Diaries

                8,051 Listeners

                Practical AI by Practical AI LLC

                Practical AI

                208 Listeners

                Within Reason by Alex J O'Connor

                Within Reason

                1,645 Listeners

                All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

                All-In with Chamath, Jason, Sacks & Friedberg

                10,182 Listeners

                Dwarkesh Podcast by Dwarkesh Patel

                Dwarkesh Podcast

                576 Listeners

                Big Technology Podcast by Alex Kantrowitz

                Big Technology Podcast

                508 Listeners

                Hard Fork by The New York Times

                Hard Fork

                5,530 Listeners

                The AI Daily Brief: Artificial Intelligence News and Analysis by Nathaniel Whittemore

                The AI Daily Brief: Artificial Intelligence News and Analysis

                682 Listeners

                Prof G Markets by Vox Media Podcast Network

                Prof G Markets

                1,489 Listeners

                The Pragmatic Engineer by Gergely Orosz

                The Pragmatic Engineer

                74 Listeners