Note that there are some explanatory texts on larger screens.

plurals
  1. POCan a sharded Mongo database be split (mongos and mongod) between Windows and Linux?
    primarykey
    data
    text
    <p>As a proof of concept kind of project, I have set up a sharded MongoDB, with only two shards, and three servers running mongos instances. All of these are on their own Windows servers, but I'd like to try running the cluster on Linux systems, because I'm seeing some strange behaviour that I think <em>may</em> be related to the fact that the systems are all running on VMs on a corporate ESX server. Also, I'm just curious.</p> <p>After reading as much documentation as I could find, I've found that the "mongos" instances that dispatch queries to the proper shards are lightweight and can typically be run on an application server or a system with a mongod instance (<a href="http://docs.mongodb.org/manual/tutorial/deploy-shard-cluster/#start-the-mongos-instances" rel="nofollow" title="documentation">documentation</a>).</p> <p><strong>My question is</strong>, can MongoDB be configured so that the <strong>mongos</strong> instances run on a Windows server, while the <strong>mongod</strong> instances (the shards) be run on a Linux system? Would the <strong>mongos</strong> instances still be able to dispatch queries to the Shards?</p> <p>One reason this would be beneficial in my case is that my application is a .Net web API, that I want to host in IIS, so it has to run on Windows. The benefit to running shards on Linux, which may be an incorrect assumption, is that a Linux system requires less overhead than Windows server, meaning it would be less expensive if it were run on a VM from a cloud provider.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload