[SERVER-8132] slowness in mongos when dealing with replset due to getServerAddress() calls Created: 10/Jan/13 Updated: 11/Jul/16 Resolved: 15/Jan/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Performance |
| Affects Version/s: | 2.2.2 |
| Fix Version/s: | 2.2.3, 2.4.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Pasette (Inactive) | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Operating System: | ALL |
| Steps To Reproduce: | This can be seen easily when running a high performance test (1000s of rps) with multiple threads (10+) and comparing the performance between replset and master/slave. |
| Participants: |
| Description |
|
When doing high performance benchmark with a 2 shard cluster, throughput was 2.5x higher when using master/slave rather than replset. |
| Comments |
| Comment by auto [ 23/Jan/13 ] |
|
Author: {u'date': u'2013-01-22T23:31:46Z', u'email': u'dan@10gen.com', u'name': u'Dan Pasette'}Message: |
| Comment by auto [ 23/Jan/13 ] |
|
Author: {u'date': u'2013-01-15T06:06:58Z', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}Message: |
| Comment by auto [ 23/Jan/13 ] |
|
Author: {u'date': u'2013-01-15T02:05:02Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by Antoine Girbal [ 21/Jan/13 ] |
|
Tested the fix with nightly build from 1/20, and it's all good. |
| Comment by auto [ 15/Jan/13 ] |
|
Author: {u'date': u'2013-01-15T06:06:58Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by auto [ 15/Jan/13 ] |
|
Author: {u'date': u'2013-01-15T02:05:02Z', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}Message: |
| Comment by Antoine Girbal [ 10/Jan/13 ] |
|
patch to add caching |
| Comment by Antoine Girbal [ 10/Jan/13 ] |
|
patched mongos profile with replset |
| Comment by Antoine Girbal [ 10/Jan/13 ] |
|
mongos profile with --master |
| Comment by Antoine Girbal [ 10/Jan/13 ] |
|
mongos profile with replset |