[SERVER-45242] Write performance with w: "majority" Created: 19/Dec/19 Updated: 07/Apr/23 Resolved: 19/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Performance, Write Ops |
| Affects Version/s: | 4.2.1 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | Rodrigo Nascimento | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Participants: |
| Description |
|
In a 3-member replica set, with all members living in the same data center. How much slower will w: "majority" be compared to w: "local"? During my tests, using YCSB to generate the load, I'm seeing a difference that can vary from 4 times up to 19 times slower depending on the load. Please, see the spreadsheet for more details. |
| Comments |
| Comment by Rodrigo Nascimento [ 19/Dec/19 ] | ||||||||||||||||||||||||||||||
|
Hi Carl, I only opened it here because there was a "type": "question" available. I don't think I have an issue in my infrastructure since I'm getting low latency across network, disk, and filesystem. But I will post my question in the user group anyway. Thanks, – Rodrigo Nascimento | ||||||||||||||||||||||||||||||
| Comment by Carl Champain (Inactive) [ 19/Dec/19 ] | ||||||||||||||||||||||||||||||
|
Hi logwriter, The SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need assistance troubleshooting, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. Thank you, | ||||||||||||||||||||||||||||||
| Comment by Rodrigo Nascimento [ 19/Dec/19 ] | ||||||||||||||||||||||||||||||
|
Adding some more info:
|