Distributed Queue Using Apache Zookeeper

Sdílet
Vložit
  • čas přidán 7. 08. 2024
  • This is a video about Distributed queue using zookeeper. In this video, we leverage the capability of zookeeper to create sequential nodes. The sequential nodes are assigned the path in increasing order like, Item-0, Item-1, Item-2 etc. This helps in maintaining the order in the queue. The video also covers multiple consumers consuming the data by using the distributed locks (again implemented using zookeeper).
    Github link to the code : github.com/anshriva/zookeeper...
    00:00 Intro
    00:54 Design
    04:15 Locks
    06:28 No lock queue
    11:37 Lock queue
    14:50 Summary
  • Věda a technologie

Komentáře • 7

  • @kumarsaroj18
    @kumarsaroj18 Před 8 měsíci +1

    Thanks a lot for your video.
    Due to great teachers like, we people are able to survive in IT with throat cutting competition.
    The way you present the even complicated concepts in a very simple and lucid manner is quite commendable.
    Keept it up!

  • @prakhar3agrwal
    @prakhar3agrwal Před rokem +1

    Bhai chashma ekdum mast lag rha.🎉 Content to hamesha hi acha hota hai tumhara

  • @yusufsipahi3916
    @yusufsipahi3916 Před rokem +2

    thanks for the content. My understanding from the code is there can only be one process at a time. Meaning, concurrent processes (e.g item24 and item25 can not be processed at the same time) is not allowed on different queue data. I think you did this to mimic FIFO. Please correct me if I am wrong?

    • @anubhav_shrivastava
      @anubhav_shrivastava  Před rokem

      you are right!
      i have implemented the simplest queue here. But if you want to see more varieties of implementations, check out apache curator library. I have made video on it as well. They have around 4 variants of queues using apache kafka : czcams.com/video/clr4I6ygqIY/video.html