You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorials/code-changes/supabase-connector-performance.mdx
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "In this tutorial we will show you how to improve the performance o
5
5
6
6
# Background
7
7
8
-
The demos in the [powersync-js](https://github.com/powersync-ja/powersync-js/tree/main/demos) monorepo provide a minimal working example that illustrate the use of PowerSync with different frameworks..
8
+
The demos in the [powersync-js](https://github.com/powersync-ja/powersync-js/tree/main/demos) monorepo provide a minimal working example that illustrate the use of PowerSync with different frameworks.
9
9
The demos are therefore not necessarily optimized for performance and can therefore be improved.
10
10
11
11
This tutorial demonstrates how to improve the Supabase Connector's performance by implementing two batching strategies that reduce the number of database operations.
@@ -270,13 +270,10 @@ The two batching strategies that will be implemented are:
270
270
<Card title="Sequential Merge Strategy">
271
271
You need more granular control over batch sizes
272
272
273
-
Memory might be constrained
274
-
275
273
You want more detailed operation logging
276
274
277
275
You need to handle mixed operation types more efficiently
278
276
<br />
279
-
<br />
280
277
**Best for**: Mixed operation types
281
278
<br />
282
279
**Optimizes for**: Memory efficiency
@@ -285,8 +282,6 @@ The two batching strategies that will be implemented are:
285
282
</Card>
286
283
<Card title="Pre-sorted Batch Strategy">
287
284
You have a large number of similar operations.
288
-
289
-
Memory isn't a constraint.
290
285
291
286
You want to minimize the number of network requests.
0 commit comments