Skip to content

Commit 87b735b

Browse files
committed
Fix typos.
Thanks ChatGPT.
1 parent bb9a1eb commit 87b735b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

self-hosting/lifecycle-maintenance.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ For self-hosting, [nginx](https://nginx.org/en/) is always a good option. A basi
7575
```yaml
7676
server {
7777
listen 443 ssl;
78-
server_name powersync.example.prg;
78+
server_name powersync.example.org;
7979

8080
# SSL configuration here
8181

@@ -108,7 +108,7 @@ If the load balancer supports health checks, it may be configured to poll the AP
108108

109109
Occasionally, new versions of the PowerSync service image may require migrations on the underlying storage database. This is also specifically required the first time the service starts up on a new storage database.
110110

111-
By default, migrations are run as part of the replication and API containers. In some cases, a migration may add signifant delay to the container startup.
111+
By default, migrations are run as part of the replication and API containers. In some cases, a migration may add significant delay to the container startup.
112112

113113
To avoid this startup delay, the migrations may be run as a separate job on each update, before replacing the rest of the containers. To run the migrations, run the docker command `migrate up`, for example `docker run powersync migrate up`.
114114

self-hosting/lifecycle-maintenance/migrating.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ In some cases, you may want to migrate users between PowerSync instances. This m
99

1010
If the PowerSync instances use the same source database and have the same basic configuration and sync rules, you can migrate users by just changing the endpoint to the new instance.
1111

12-
To make this process easier, we recommend using an API to retrieve the PowerSync endpoint, intead of hardcoding the endpoint in the client application. If you're using custom authentication, this can be done in the same API call as getting the authentication token.
12+
To make this process easier, we recommend using an API to retrieve the PowerSync endpoint, instead of hardcoding the endpoint in the client application. If you're using custom authentication, this can be done in the same API call as getting the authentication token.
1313

1414
There should be no downtime for users when switching between endpoints. The client will have to re-sync all data, but this will all happen automatically, and the client will atomically switch between the two. The main effect visible to users will be a delay in syncing new data while the client is re-syncing. All data will remain available to read on the client for the entire process.

self-hosting/lifecycle-maintenance/multiple-instances.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Multiple instances are not required in most cases. See the [Overview](self-hosti
1111

1212
When exceeding a couple thousand concurrent connections, the standard PowerSync setup may not scale sufficiently to handle the load. In this case, we recommend you [contact us](/resources/contact-us) to discuss the options. However, we give a basic overview of using multiple PowerSync instances to scale here.
1313

14-
Each PowerSync "instance" is a single endpoint (URL), that is backend by:
14+
Each PowerSync "instance" is a single endpoint (URL), that is backed by:
1515
1. One replication container.
1616
2. Multiple API containers, scaling horizontally.
1717
3. One bucket storage database.
@@ -20,7 +20,7 @@ This setup is described in the [Overview](self-hosting/lifecycle-maintenance).
2020

2121
To scale further, multiple copies of this setup can be run, using the same source database.
2222

23-
## Mapping user -> PowerSync endpoint
23+
## Mapping users to PowerSync endpoints
2424

2525
Since each PowerSync instance maintains its own copy of the bucket data, the exact list of operations and associated checksum will be different between them. This means the same client must connect to the same endpoint every time, otherwise they will have to re-sync all their data every time they switch. Multiple PowerSync instances cannot be load-balanced behind the same subdomain.
2626

0 commit comments

Comments
 (0)