[SERVER-82359] Write genny workloads that simulate IDHack over an identity view and via agg Created: 20/Oct/23  Updated: 31/Oct/23  Resolved: 31/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Will Buerger Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QI 2023-10-30, QI 2023-11-13
Participants:

 Description   

We have great coverage of the IDHack workload in genny with a simple find command. We have a test in mongo-perf called Queries.IdentityView.IntIdFindOne that simulates IDHack via a find command over an identity view. We have no perf test coverage of IDHack via any agg commands. We should add 3 workloads to Genny so that we can generate better side-by-side comparisons of different IDHack paths:

(1) IDHack via find over an identity view (a no-op view)

(2) IDHack via basic agg ({$match: {_id: x}})

(3) IDHack via agg over an identity view



 Comments   
Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Will Buerger', 'email': '59492746+wbuerger46@users.noreply.github.com', 'username': 'wbuerger46'}

Message: SERVER-82359: Enable aggregation IDHack workloads on sharded environments (#1052)
Branch: master
https://github.com/mongodb/genny/commit/d7ca8d47ff8a8f0001210e3a1f0851fd1b8dad31

Comment by Githook User [ 30/Oct/23 ]

Author:

{'name': 'Will Buerger', 'email': '59492746+wbuerger46@users.noreply.github.com', 'username': 'wbuerger46'}

Message: SERVER-82359: Add genny workloads to test IDHack with identity view and via aggregation (#1047)
Branch: master
https://github.com/mongodb/genny/commit/0096f0d1b7852ed182aab2bcb2350fe64c5c9ef6

Generated at Thu Feb 08 06:49:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.