Skip to content

Commit 8152b7f

Browse files
feedback
1 parent 56a3167 commit 8152b7f

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

source/reference/migration.txt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,14 @@ Motivation
3030
~~~~~~~~~~
3131

3232
The {+driver-async+} API is designed to be a replacement for the Motor
33-
library. Motor was created to provide support for Tornado, with asyncio support
34-
added later. Because of this, Motor provides full asyncio and Tornado support,
33+
library. Motor was created to provide support for Tornado, with ``asyncio`` support
34+
added later. Because of this, Motor provides full ``asyncio`` and Tornado support,
3535
but still relies on a thread pool to perform network operations. In some cases,
3636
this might lead to performance degradation when using the Motor library. To
37-
address this issue, the {+driver-async+} API implements asyncio support directly
38-
into {+driver-short+}.
37+
address this issue, the {+driver-async+} API implements ``asyncio`` support directly
38+
into {+driver-short+}. In most cases, the {+driver-async+} API results in
39+
improved performance over Motor. To see performance benchmarks, see the
40+
:ref:`pymongo-async-benchmarks` section.
3941

4042
Synchronous Versus Asynchronous
4143
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -65,6 +67,8 @@ to your application or use case:
6567

6668
- Your application relies on other asynchronous libraries or frameworks, such as FastAPI
6769

70+
.. _pymongo-async-benchmarks:
71+
6872
Performance Benchmarks
6973
~~~~~~~~~~~~~~~~~~~~~~
7074

@@ -186,12 +190,11 @@ Migrate From Motor
186190

187191
.. warning:: Motor Deprecation
188192

189-
Motor will be deprecated one year after the **production release** of the
190-
{+driver-async+} API. We strongly recommend that Motor users migrate to
193+
Motor will be deprecated on May 14th, 2026. We strongly recommend that Motor users migrate to
191194
the {+driver-async+} API while Motor is still supported.
192195

193196
The {+driver-async+} API functions similarly to the Motor library, but allows
194-
for improved latency and throughput due to directly using Python asyncio instead
197+
for improved latency and throughput due to directly using Python ``asyncio`` instead
195198
of delegating work to a thread pool. In most cases, you can directly migrate
196199
existing Motor applications to {+driver-async+} by using ``AsyncMongoClient`` in
197200
place of ``MotorClient``, and changing the application's import statements to

source/reference/release-notes.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ What's New in 4.13
4747
The {+driver-short+} v4.13 release includes the following new features:
4848

4949
- The {+driver-async+} API is generally available. To learn how to migrate
50-
to the {+driver-async+} API, see the :ref:`pymongo-async-migration` guide.
50+
to the {+driver-async+} API from the {+driver-short+} driver or the Motor
51+
library, see the :ref:`pymongo-async-migration` guide.
5152
- Fixes a bug where ``WriteConcern()`` could not be evaluated when using ``w="majority"``.
5253

5354
To see a full list of resolved issues in this release, see the `Jira release

0 commit comments

Comments
 (0)