Setup MongoDB for Production deployment - Replica Sets cluster

Поділитися
Вставка
  • Опубліковано 16 гру 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.

  • @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.

  • @josephuzuegbu7431
    @josephuzuegbu7431 Рік тому +1

    I just watched the best mongodb video.

  • @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

  • @MotionInMotion1975
    @MotionInMotion1975 2 роки тому +1

    2:45 that is awesome.

  • @nursaykat6345
    @nursaykat6345 4 місяці тому

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

  • @ՎահեԲարբարյան
    @ՎահեԲարբարյան 18 днів тому

    Thank you very much for the explanation!🙏

  • @leamon9024
    @leamon9024 3 роки тому +1

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

  • @yannguigui3701
    @yannguigui3701 2 роки тому

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

  • @DineshU
    @DineshU 3 роки тому +1

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

  • @sebastiandahlstrom4971
    @sebastiandahlstrom4971 2 роки тому

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

  • @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

  • @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

  • @chandanchaudhari704
    @chandanchaudhari704 Рік тому +2

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

  • @Mirzly
    @Mirzly 3 роки тому +1

    Very interesting topic. Thanks for posting

  • @jeffreyhunter4115
    @jeffreyhunter4115 2 роки тому

    Great tutorial. Very well organized. Thanks for sharing.

  • @MursaleenMomin
    @MursaleenMomin 2 роки тому

    Great quality, well explained.

  • @rajeshaltavista6571
    @rajeshaltavista6571 Рік тому

    Thanks so much. Well explained.

  • @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.

  • @sa123p
    @sa123p 3 роки тому +1

    Thanks. It is very informative for me.

  • @angelangeli2089
    @angelangeli2089 3 роки тому +1

    Cool video, u explained everything I needed...

  • @Telmosampaio
    @Telmosampaio 2 роки тому

    Fantastic videooo! You are the man!

  • @vuhungnguyen4858
    @vuhungnguyen4858 3 роки тому

    Excellent video! I learnt a lots from this.

  • @NightcoreHindi
    @NightcoreHindi 3 роки тому +1

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

  • @megaklis.vasilakis
    @megaklis.vasilakis 3 роки тому +1

    Perfect tutorial.

  • @rishiktiwari
    @rishiktiwari 2 роки тому

    Simply Excellent!

  • @donkb241
    @donkb241 7 місяців тому

    super duper explanation

  • @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?

  • @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

  • @yuhakez9066
    @yuhakez9066 2 роки тому

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

  • @sanwalfarooque2747
    @sanwalfarooque2747 3 роки тому +1

    Awesome. Thanks

  • @firojsiddiki2750
    @firojsiddiki2750 3 роки тому

    awesome video. Thank you.

  • @enesdogan1801
    @enesdogan1801 Рік тому

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

  • @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
      ua-cam.com/video/gChzfhVGqp8/v-deo.html

  • @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..

  • @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 ?

  • @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.

  • @anuragprakash7256
    @anuragprakash7256 6 місяців тому

    Please continue this playlist

  • @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

  • @MayankMishra-oy5xe
    @MayankMishra-oy5xe Рік тому

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

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 7 місяців тому

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

  • @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

  • @VK-fr5mc
    @VK-fr5mc 2 роки тому

    Thank You !! 🙏🙏🙏

  • @AhmedRakibImran
    @AhmedRakibImran 2 роки тому +1

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

  • @saisatya3569
    @saisatya3569 Рік тому

    In windows also same process or not? Sir

  • @himanish2006
    @himanish2006 2 роки тому

    Please explain encryption also for production ready...

  • @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

  • @venraviutube
    @venraviutube 2 роки тому

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

  • @matheusscheffer5463
    @matheusscheffer5463 2 роки тому

    Which terminal are you using?

  • @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?

  • @mrspecial3170
    @mrspecial3170 Рік тому

    Which terminal do you to write the code ??

  • @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

  • @utubetvux5170
    @utubetvux5170 Рік тому

    Production without authentication?

  • @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

  • @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

  • @dungva1505
    @dungva1505 3 роки тому

    Why you didnt create arb?

  • @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 😂

  • @somyagupta7471
    @somyagupta7471 3 роки тому

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

  • @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.

  • @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

  • @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

  • @pxft475
    @pxft475 2 роки тому

    Magnifico!

  • @AbiodunSam
    @AbiodunSam Рік тому

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

  • @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.

  • @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

  • @somyagupta7471
    @somyagupta7471 3 роки тому

    after that how to setup authentication on this process

  • @parasarora7565
    @parasarora7565 3 роки тому

    Which vscode theme are you using?

    • @mafiacodes
      @mafiacodes  3 роки тому

      This was not in vscode but hyperterm

  • @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?

  • @iamvk9
    @iamvk9 5 місяців тому

    product ready can not use "localhost"

  • @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

  • @haiffy
    @haiffy 7 місяців тому +1

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

  • @eejayta-a3158
    @eejayta-a3158 3 роки тому

    terminal location pls?

  • @saidinesh6733
    @saidinesh6733 3 роки тому

    I'm getting error like count failed

  • @ibrahimyldz542
    @ibrahimyldz542 3 роки тому

    sen nasıl bir kralsın

  • @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?

  • @spacecorp2000
    @spacecorp2000 Рік тому +1

    Doesn't Work !

  • @amitnota5189
    @amitnota5189 Рік тому

    abee tujhe hindi nhi aati kya ?

  • @PrinceWalaCode
    @PrinceWalaCode Місяць тому

    Institute