[SERVER-47114] Make ldapproxy.py use IOCP on Windows Created: 25/Mar/20  Updated: 29/Oct/23  Resolved: 27/Mar/20

Status: Closed
Project: Core Server
Component/s: Security, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.2.6, 4.4.0-rc0, 4.0.18, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Spencer Jackson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Security 2020-04-06
Participants:
Linked BF Score: 11

 Description   

ldapproxy.py uses ldaptor to create a proxy around our test LDAP server, which can introduce artificial latency. ldaptor is powered by the twisted framework for async Python programming. twisted uses an underlying async implementation for managing file descriptors. On Linux it defaults to epoll. On Windows it defaults to select.

For improved throughput, we should switch over to IOCP on Windows.



 Comments   
Comment by Githook User [ 06/Apr/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47114 Make ldapproxy.py use IOCP on Windows

(cherry picked from commit dd85eac4f334e5718ac8127a2ca794b65b78830f)
(cherry picked from commit 92830a9a2f0ae14205b9d834cf6b7f76af762b5e)
(cherry picked from commit 8caeb70e018f19a06a6c5cdace0d564356c472fb)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/2a3b6d24c2e32fa09a71ac2bd579e4dfd9f0c5fa

Comment by Githook User [ 01/Apr/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47114 Make ldapproxy.py use IOCP on Windows

(cherry picked from commit dd85eac4f334e5718ac8127a2ca794b65b78830f)
(cherry picked from commit 92830a9a2f0ae14205b9d834cf6b7f76af762b5e)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/aab3084044808726e9150617e33bf8be165eef12

Comment by Githook User [ 31/Mar/20 ]

Author:

{'name': 'Spencer Jackson', 'email': 'spencer.jackson@mongodb.com', 'username': 'spencerjackson'}

Message: SERVER-47114 Make ldapproxy.py use IOCP on Windows

(cherry picked from commit dd85eac4f334e5718ac8127a2ca794b65b78830f)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/92830a9a2f0ae14205b9d834cf6b7f76af762b5e

Comment by Githook User [ 27/Mar/20 ]

Author:

{'email': 'spencer.jackson@mongodb.com', 'name': 'Spencer Jackson', 'username': 'spencerjackson'}

Message: SERVER-47114 Make ldapproxy.py use IOCP on Windows
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/dd85eac4f334e5718ac8127a2ca794b65b78830f

Comment by Spencer Jackson [ 25/Mar/20 ]

Evgn: https://evergreen.mongodb.com/version/5e7b98351e2d173a4926dc26
CR: https://mongodbcr.appspot.com/567000003/

Generated at Thu Feb 08 05:13:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.