Setup MongoDB for Production deployment - Replica Sets cluster

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 110

  • @SatyamKumar-ts2jh
    @SatyamKumar-ts2jh 3 ปีที่แล้ว +20

    Get this guy a medal!!
    You deserve it. One of the best explanations!

  • @be_b_50_ankitkumar_singh79
    @be_b_50_ankitkumar_singh79 3 ปีที่แล้ว +4

    Best channel for actual learning for software engineers.

  • @AkshatSinghania
    @AkshatSinghania 3 ปีที่แล้ว +6

    So underrated , gonna suggest this to all my friends , make more videos !!!

  • @diwa007
    @diwa007 2 ปีที่แล้ว +2

    That's one seamless explanation. Bravo.

  • @opemesonrale7598
    @opemesonrale7598 3 ปีที่แล้ว +6

    Properly explained. You are a lifesaver. Thank you.

  • @josephuzuegbu7431
    @josephuzuegbu7431 ปีที่แล้ว +1

    I just watched the best mongodb video.

  • @edgaralainramosmesas5132
    @edgaralainramosmesas5132 3 ปีที่แล้ว +3

    The way u explained everything step by step is amazing.
    Finally I could understand how to make all this. Thanks a lot.

  • @BaharKeshavarz
    @BaharKeshavarz ปีที่แล้ว +1

    Thank you. It was truly amazing. I really appreciate the way you explain everything in details.

  • @dsowriraj9450
    @dsowriraj9450 ปีที่แล้ว +1

    Beautifully explained.
    Thanks

  • @ՎահեԲարբարյան
    @ՎահեԲարբարյան 27 วันที่ผ่านมา

    Thank you very much for the explanation!🙏

  • @nursaykat6345
    @nursaykat6345 5 หลายเดือนก่อน

    Dear, You have made lots of good tutorials
    Thank you so much! Go ahead!

  • @usmanqasim7948
    @usmanqasim7948 3 ปีที่แล้ว +1

    Context Api
    and
    Now this one.
    Both are awesome videos.
    i am stuck in Replica around 2 days.
    Now after this i complete Replica and now transactions are working perfectly.
    Thanks Mittal Sir

  • @DineshU
    @DineshU 3 ปีที่แล้ว +1

    the best video on Mongodb. it helped me a lot.Thanks

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Subscribe like share

  • @yannguigui3701
    @yannguigui3701 2 ปีที่แล้ว

    Thanks a lot for your explantation, You are the best. I'm a beginner in MongoDB , I understand

  • @leamon9024
    @leamon9024 3 ปีที่แล้ว +1

    Awesome explanation! Thanks man. Looking forward to sharded cluster tutorial too :D

  • @MotionInMotion1975
    @MotionInMotion1975 2 ปีที่แล้ว +1

    2:45 that is awesome.

  • @sebastiandahlstrom4971
    @sebastiandahlstrom4971 2 ปีที่แล้ว

    wow! Good shit man, big thanks for this great explanation!

  • @007antas
    @007antas 3 ปีที่แล้ว +4

    Thank you. This made me understand how to setup a cluster in a very simplified way! Please also make videos on how to implement sharding

  • @sa123p
    @sa123p 3 ปีที่แล้ว +1

    Thanks. It is very informative for me.

  • @Mirzly
    @Mirzly 3 ปีที่แล้ว +1

    Very interesting topic. Thanks for posting

  • @jeffreyhunter4115
    @jeffreyhunter4115 2 ปีที่แล้ว

    Great tutorial. Very well organized. Thanks for sharing.

  • @puneethpgowda8580
    @puneethpgowda8580 3 ปีที่แล้ว +3

    @Truly Mittal, well explained sir. The topics and the explanation were fully structured and systematic way. Thanks for sharing your enormous amount of knowledge with us and look forward to see more and more from you.

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Glad it was helpful!

  • @rajeshaltavista6571
    @rajeshaltavista6571 ปีที่แล้ว

    Thanks so much. Well explained.

  • @MursaleenMomin
    @MursaleenMomin 2 ปีที่แล้ว

    Great quality, well explained.

  • @chandanchaudhari704
    @chandanchaudhari704 ปีที่แล้ว +2

    Add authentication in it as well. Things get messy when you need to add keyfile

  • @Telmosampaio
    @Telmosampaio 2 ปีที่แล้ว

    Fantastic videooo! You are the man!

  • @angelangeli2089
    @angelangeli2089 3 ปีที่แล้ว +1

    Cool video, u explained everything I needed...

  • @vuhungnguyen4858
    @vuhungnguyen4858 3 ปีที่แล้ว

    Excellent video! I learnt a lots from this.

  • @megaklis.vasilakis
    @megaklis.vasilakis 3 ปีที่แล้ว +1

    Perfect tutorial.

  • @NightcoreHindi
    @NightcoreHindi 3 ปีที่แล้ว +1

    Well explained, thanks for posting.
    Liked, Shared, subscribed ✌️

  • @potatosoup815
    @potatosoup815 3 ปีที่แล้ว

    Thanks for this. Be great to add the tls to enable encryption between the nodes

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      O,yes u can definitely add it is the instances are on different hosts

  • @VK-fr5mc
    @VK-fr5mc 2 ปีที่แล้ว

    Thank You !! 🙏🙏🙏

  • @rishiktiwari
    @rishiktiwari 2 ปีที่แล้ว

    Simply Excellent!

  • @anuragprakash7256
    @anuragprakash7256 6 หลายเดือนก่อน

    Please continue this playlist

  • @donkb241
    @donkb241 7 หลายเดือนก่อน

    super duper explanation

  • @sanwalfarooque2747
    @sanwalfarooque2747 3 ปีที่แล้ว +1

    Awesome. Thanks

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      Subscribe like share

  • @firojsiddiki2750
    @firojsiddiki2750 3 ปีที่แล้ว

    awesome video. Thank you.

  • @protocolkhan3501
    @protocolkhan3501 3 ปีที่แล้ว +1

    Hey yourstruly!! Saw ur android playlist, it was just awesome!!
    Do add a tutorial on how to access file or file list from internal/external storage to the app..

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      Will do soon, Subscribe like share

    • @protocolkhan3501
      @protocolkhan3501 3 ปีที่แล้ว +1

      @@mafiacodes Already did that!

  • @ClickTamil
    @ClickTamil 4 หลายเดือนก่อน

    I have i small question as primary went down and few hours later it up again question is after it up all the data transactions happened between downtime will be copy in to the database that db went down?

  • @yuhakez9066
    @yuhakez9066 3 ปีที่แล้ว

    at 8:48, which shortcuts you use to exit the process ?

  • @AhmedRakibImran
    @AhmedRakibImran 2 ปีที่แล้ว +1

    great content. Can you please do one for postgresql? Thanks

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว +1

      Great suggestion!

  • @senkottuvelan
    @senkottuvelan ปีที่แล้ว +1

    You are really awesome man ☺️. I have a question man. Will the application we design that uses the DB know that it is having a failover setup or it will have zero knowledge on that. What I mean is which url should I specify to connect to the mongodb cluster so that it doesn't matter whichever instance goes down. It may be a noob question but please help with that if possible. Thank you.

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว

      Better explained here in the video itself...watch to clarify the doubt
      th-cam.com/video/gChzfhVGqp8/w-d-xo.html

  • @enesdogan1801
    @enesdogan1801 ปีที่แล้ว

    It works perfectly in local. What about if we work on mongoDB Atlas or server?

  • @matheusscheffer5463
    @matheusscheffer5463 2 ปีที่แล้ว

    Which terminal are you using?

  • @tharun8164
    @tharun8164 2 ปีที่แล้ว

    How do we set the read preferences? How do we verify the read preferences?

  • @neerajverma9226
    @neerajverma9226 3 ปีที่แล้ว

    a time ago, I was a big fan of MongoDB. but recently i heard about Apache Cassandra because of high scalability

  • @saisatya3569
    @saisatya3569 ปีที่แล้ว

    In windows also same process or not? Sir

  • @himanish2006
    @himanish2006 2 ปีที่แล้ว

    Please explain encryption also for production ready...

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 8 หลายเดือนก่อน

    Can you please make this video with kubernetes with auth and external access

  • @mrspecial3170
    @mrspecial3170 ปีที่แล้ว

    Which terminal do you to write the code ??

  • @KoljaMineralka
    @KoljaMineralka 2 ปีที่แล้ว

    I have a situation where Primary and Secondary1 wen down so all I have is Secondary0, I deployed three new servers Primary,Secondary0 and Secondary1 how would I replicate data from old Secondary0 that is still available but didn't become primary ?

  • @pxft475
    @pxft475 2 ปีที่แล้ว

    Magnifico!

  • @somyagupta7471
    @somyagupta7471 3 ปีที่แล้ว

    GREAT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hates Off brother

  • @MayankMishra-oy5xe
    @MayankMishra-oy5xe ปีที่แล้ว

    But what happens to the mongodb running at 27017? Whats is purpose now?

  • @utubetvux5170
    @utubetvux5170 ปีที่แล้ว

    Production without authentication?

  • @dungva1505
    @dungva1505 3 ปีที่แล้ว

    Why you didnt create arb?

  • @marzukzarir
    @marzukzarir 2 ปีที่แล้ว

    Thank you. But I have a question. If one node goes down, after sometimes it backs again....will it contain the same data as other nodes?

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      Yes I guess so but I am not sure.

  • @venraviutube
    @venraviutube 2 ปีที่แล้ว

    how to restore backup from a different server to newserver with data loaded to a specific folder

  • @georgelza
    @georgelza 2 ปีที่แล้ว

    ... I assume to have a shared setup with a cluster you will first be creating a 2 way or 3 way or x way shared setup and then as a 2nd step take each of the masters and add replicas for the ?
    do you have an example of such.

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว

      Isn’t it the same example as demonstrated here

    • @georgelza
      @georgelza 2 ปีที่แล้ว

      @@mafiacodes I"m asking example for more detail around a shared cluster... with each shard having it's own replica sets

  • @riebeck1986
    @riebeck1986 3 ปีที่แล้ว

    Hey I have some doubts regarding concurrency in mongoDB. I saw there is a pool size settting while instantiating the client, is that is the way to do concurrent requests? Also mongoDB handles all the read / write operations between all these concurrent services automatically?

  • @alamjamal
    @alamjamal ปีที่แล้ว

    Is it possible to have a localhost and atlas replicaset??

    • @mafiacodes
      @mafiacodes  ปีที่แล้ว

      Never tried that but may be possible if you can tunnel ur localhost

  • @parasarora7565
    @parasarora7565 3 ปีที่แล้ว

    Which vscode theme are you using?

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      This was not in vscode but hyperterm

  • @abhishekjagtap1069
    @abhishekjagtap1069 2 ปีที่แล้ว

    Do I need to install mongodb enterprise version for this? Or it can also work on the community version?

    • @mafiacodes
      @mafiacodes  2 ปีที่แล้ว +1

      community, Subscribe Like Share

  • @naveedalirehmani4135
    @naveedalirehmani4135 2 ปีที่แล้ว

    This video is pure Gold!...
    I am so happy that I found this video, bro you are amazing thank you very much! 💙
    and no I will never scream Chuck Norris' name during sex, This will never happen 😂

  • @adelminayi
    @adelminayi 2 ปีที่แล้ว

    How can i set authorization for mongo-query-router node in mongo cluser? Specially for mongos
    i want to restrict users to connect query-router

  • @VedOnce
    @VedOnce 3 ปีที่แล้ว

    Can you please share knowledge on parallel mongo storage.

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      what is parallel mongo storage ?

    • @VedOnce
      @VedOnce 3 ปีที่แล้ว

      @@mafiacodes it's sharded cluster. if possible I want to combine, both sharded and replica as you told in this video,for large scale,

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว +1

      Better would be to use mongo atlas, since what u pay for individual machines would be more than atlas

    • @VedOnce
      @VedOnce 3 ปีที่แล้ว

      @@mafiacodes sorry to distrub what you told is right, but i have a different concept to test . It will enough for me to know sharded cluster.

  • @patrickeliesoussoubie4600
    @patrickeliesoussoubie4600 5 หลายเดือนก่อน

    Hi merci à vous pour la video. Mais le mongo.exe ne vient plis avec les nouvelles installations. Que faire dans ce cas

  • @jerry_gamer4016
    @jerry_gamer4016 3 ปีที่แล้ว

    Please make a video on using Dockerode in node js and how can we use to build something like Remote Code Execution like online IDE. Thanks

  • @somyagupta7471
    @somyagupta7471 3 ปีที่แล้ว

    after that how to setup authentication on this process

  • @MrCray678
    @MrCray678 3 ปีที่แล้ว

    Hi sir can you make aws series with Android studio currently aws opened free trial everyone can use aws now it will make big difference

  • @mdjahidulislam9205
    @mdjahidulislam9205 3 ปีที่แล้ว

    Cors origin error occour.
    While uploading a photo using multer in express post request.
    All other post request are working fine , I am using
    _____________
    app.use(cors());
    _____________
    Any solution? thanks

  • @be_b_50_ankitkumar_singh79
    @be_b_50_ankitkumar_singh79 3 ปีที่แล้ว

    Sir, are mongodb replica set for ATLAS not available for free tier users? Because I am not able to find two replicas. Rather I was only able to find one. Please help and thanks for your time.

  • @khangle-g168
    @khangle-g168 6 หลายเดือนก่อน

    product ready can not use "localhost"

  • @kingsite8328
    @kingsite8328 3 ปีที่แล้ว

    How do you start multiple tabs on sigle machine

    • @mafiacodes
      @mafiacodes  3 ปีที่แล้ว

      tabs of what?

    • @kingsite8328
      @kingsite8328 3 ปีที่แล้ว

      @@mafiacodes nvm got it....I meant multiple instances

    • @mohit9783
      @mohit9783 2 ปีที่แล้ว

      @@kingsite8328 how did you do it?

  • @BabluKumar-jy8bn
    @BabluKumar-jy8bn 2 ปีที่แล้ว

    Thanks for making the video so comprehensive.
    but also let me know
    HOW TO MAKE SECONDARY NODE AS A PRIMARY NODE MANUALLY?

  • @ibrahimyldz542
    @ibrahimyldz542 3 ปีที่แล้ว

    sen nasıl bir kralsın

  • @eejayta-a3158
    @eejayta-a3158 3 ปีที่แล้ว

    terminal location pls?

  • @AbiodunSam
    @AbiodunSam ปีที่แล้ว

    How can you use database in production with credential?
    This shouldn't be titled production, but development.

  • @haiffy
    @haiffy 7 หลายเดือนก่อน +1

    Setup for production deployment, but doesn't even mention security and authentication?

  • @saidinesh6733
    @saidinesh6733 3 ปีที่แล้ว

    I'm getting error like count failed

  • @tareqmahmud3902
    @tareqmahmud3902 ปีที่แล้ว

    I couldn't solve this issue
    "msg":"Failed to refresh key cache","attr":{"error":"NotYetInitialized: Cannot use non-local read concern until replica set is finished initializing.","nextWakeupMillis":4400}}
    this never goes away

  • @PrinceWalaCode
    @PrinceWalaCode หลายเดือนก่อน

    Institute

  • @amitnota5189
    @amitnota5189 ปีที่แล้ว

    abee tujhe hindi nhi aati kya ?

  • @spacecorp2000
    @spacecorp2000 ปีที่แล้ว +1

    Doesn't Work !