Skip to content

loild193/mongodb-sharding-replica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

MongoDB sharding & clustering

  • 3 shards, each shard is a replica with 3 MongoDB instances

  • 3 instances are config servers and also a replica

  • 2 instances are router with port 27017 and 27018

  • Run stacks:

docker compose up -d --build

About

MongoDB with sharding and replica

Topics

Resources

Stars

Watchers

Forks