I successfully basic configure my replica set, but i noticed slow read performance. I have 2 mongo servers and 1 arbiter in my replica set. All are running on Centos 6.3 minimal setup (just database).
I also have single mongo instance on Windows server 2012.
Before i build my replica set, my web server was on same OS as Mongo (that windows instance). Performance was fine, results was like
C# .NET 4.5 (IIS and Mongo on same VM) Read 2000 rows : ~250ms at AvgObj 2600 bytes
Now with my replica set i have very slow read performance. When my web server access replica set, i`m getting result like
C# .NET 4.5 (separated, IIS and Mongo on Centos Replica) Read 2000 rows : ~2500ms at AvgObj 2600 bytes
I tried to read from my single Mongo instant from remote IIS and result is like
C# .NET 4.5 (separated, IIS and Single Mongo on Windows) Read 2000 rows : ~600ms at AvgObj 2600 bytes
All servers are running in single physical machine with Hyper-V core server.
Im using latest C# MongoDB Driver 1.7 version. From what i tested, on all mongo servers my query is executed in 10ms.
Can anyone give me suggestions why my replica set on separated Centos servers have slow read performance?