-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: async
-
None
Async client should use tasks for SDAM (and other background tasks) instead of threads. Python's standard library doesn't really support using threads and asyncio together so we shouldn't try to fight an uphill battle. For example, asyncio streams can't be shared across io loops and we learned in PYTHON-4648 that regular sockets can't always be shared across io loops either.
- is duplicated by
-
PYTHON-4573 Async client should only only create one thread and share it for SDAM and background tasks
- Closed
- is related to
-
PYTHON-4724 Document the behavior of using an async client across multiple IO loops
- Backlog
-
PYTHON-4744 AsyncMongoClient causes RuntimeError: set changed size during iteration at shutdown
- Backlog