Setup MongoDB for Production deployment - Replica Sets cluster

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 109

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

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

  • @diwa007
    @diwa007 2 года назад +2

    That's one seamless explanation. Bravo.

  • @dsowriraj9450
    @dsowriraj9450 Год назад +1

    Beautifully explained.
    Thanks

  • @josephuzuegbu7431
    @josephuzuegbu7431 Год назад +1

    I just watched the best mongodb video.

  • @opemesonrale7598
    @opemesonrale7598 3 года назад +6

    Properly explained. You are a lifesaver. Thank you.

  • @BaharKeshavarz
    @BaharKeshavarz Год назад +1

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

  • @nursaykat6345
    @nursaykat6345 3 месяца назад

    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

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

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

  • @sebastiandahlstrom4971
    @sebastiandahlstrom4971 2 года назад

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

  • @rajeshaltavista6571
    @rajeshaltavista6571 Год назад

    Thanks so much. Well explained.

  • @jeffreyhunter4115
    @jeffreyhunter4115 2 года назад

    Great tutorial. Very well organized. Thanks for sharing.

  • @sa123p
    @sa123p 3 года назад +1

    Thanks. It is very informative for me.

  • @anuragprakash7256
    @anuragprakash7256 5 месяцев назад

    Please continue this playlist

  • @MursaleenMomin
    @MursaleenMomin 2 года назад

    Great quality, well explained.

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

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

  • @MotionInMotion1975
    @MotionInMotion1975 2 года назад +1

    2:45 that is awesome.

  • @megaklis.vasilakis
    @megaklis.vasilakis 2 года назад +1

    Perfect tutorial.

  • @donkb241
    @donkb241 6 месяцев назад

    super duper explanation

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

  • @angelangeli2089
    @angelangeli2089 3 года назад +1

    Cool video, u explained everything I needed...

  • @Telmosampaio
    @Telmosampaio 2 года назад

    Fantastic videooo! You are the man!

  • @rishiktiwari
    @rishiktiwari 2 года назад

    Simply Excellent!

  • @vuhungnguyen4858
    @vuhungnguyen4858 3 года назад

    Excellent video! I learnt a lots from this.

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

  • @enesdogan1801
    @enesdogan1801 11 месяцев назад

    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
      ruclips.net/video/gChzfhVGqp8/видео.html

  • @firojsiddiki2750
    @firojsiddiki2750 3 года назад

    awesome video. Thank you.

  • @ClickTamil
    @ClickTamil 3 месяца назад

    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?

  • @sanwalfarooque2747
    @sanwalfarooque2747 2 года назад +1

    Awesome. Thanks

  • @AhmedRakibImran
    @AhmedRakibImran 2 года назад +1

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

  • @neerajverma9226
    @neerajverma9226 3 года назад

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

  • @ShourovRoy-pk5zm
    @ShourovRoy-pk5zm 6 месяцев назад

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

  • @VK-fr5mc
    @VK-fr5mc 2 года назад

    Thank You !! 🙏🙏🙏

  • @saisatya3569
    @saisatya3569 Год назад

    In windows also same process or not? Sir

  • @tharun8164
    @tharun8164 2 года назад

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

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

  • @himanish2006
    @himanish2006 2 года назад

    Please explain encryption also for production ready...

  • @KoljaMineralka
    @KoljaMineralka Год назад

    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!

  • @MayankMishra-oy5xe
    @MayankMishra-oy5xe 11 месяцев назад

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

  • @somyagupta7471
    @somyagupta7471 3 года назад

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

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

  • @mrspecial3170
    @mrspecial3170 Год назад

    Which terminal do you to write the code ??

  • @venraviutube
    @venraviutube 2 года назад

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

  • @utubetvux5170
    @utubetvux5170 Год назад

    Production without authentication?

  • @matheusscheffer5463
    @matheusscheffer5463 2 года назад

    Which terminal are you using?

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

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

  • @dungva1505
    @dungva1505 2 года назад

    Why you didnt create arb?

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

  • @yuhakez9066
    @yuhakez9066 2 года назад

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

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

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

  • @somyagupta7471
    @somyagupta7471 3 года назад

    after that how to setup authentication on this process

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

  • @patrickeliesoussoubie4600
    @patrickeliesoussoubie4600 4 месяца назад

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

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

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

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

  • @GenTechGuy
    @GenTechGuy 5 месяцев назад

    product ready can not use "localhost"

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

  • @AbiodunSam
    @AbiodunSam Год назад

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

  • @parasarora7565
    @parasarora7565 3 года назад

    Which vscode theme are you using?

    • @mafiacodes
      @mafiacodes  3 года назад

      This was not in vscode but hyperterm

  • @eejayta-a3158
    @eejayta-a3158 3 года назад

    terminal location pls?

  • @haiffy
    @haiffy 6 месяцев назад +1

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

  • @ibrahimyldz542
    @ibrahimyldz542 3 года назад

    sen nasıl bir kralsın

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

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

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

  • @saidinesh6733
    @saidinesh6733 3 года назад

    I'm getting error like count failed

  • @spacecorp2000
    @spacecorp2000 Год назад +1

    Doesn't Work !

  • @PrinceWalaCode
    @PrinceWalaCode 19 дней назад

    Institute

  • @amitnota5189
    @amitnota5189 Год назад

    abee tujhe hindi nhi aati kya ?