Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
docs: upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
planetscale-actions-bot committed Dec 8, 2023
1 parent ccfdbc8 commit a1b20cc
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
20 changes: 10 additions & 10 deletions docs/concepts/network-latency.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ and display the results in an ordered list from fastest to slowest.
It's best to run this command directly from your application's server to get a realistic measure.

```shell
ENDPOINT LATENCY TYPE
------------------------------------------------ --------- -----------
gcp-us-east4.connect.psdb.cloud 15.6ms direct
us-east.connect.psdb.cloud 19.8ms direct
gcp-northamerica-northeast1.connect.psdb.cloud 22.4ms direct
aws.connect.psdb.cloud 22.6ms optimized
gcp.connect.psdb.cloud 23.4ms optimized
aws-us-east-2.connect.psdb.cloud 31ms direct
gcp-us-central1.connect.psdb.cloud 43.6ms direct
aws-eu-west-2.connect.psdb.cloud 82.1ms direct
NAME LATENCY ENDPOINT TYPE
----------------------------- --------- ------------------------------------------------ -----------
AWS us-west-2 34.6ms aws.connect.psdb.cloud optimized
AWS us-west-2 34.8ms us-west.connect.psdb.cloud direct
GCP us-central1 57.5ms gcp.connect.psdb.cloud optimized
GCP us-central1 57.9ms gcp-us-central1.connect.psdb.cloud direct
AWS us-east-2 60.5ms aws-us-east-2.connect.psdb.cloud direct
GCP us-east4 69.2ms gcp-us-east4.connect.psdb.cloud direct
AWS us-east-1 70.2ms us-east.connect.psdb.cloud direct
GCP northamerica-northeast1 80.9ms gcp-northamerica-northeast1.connect.psdb.cloud direct
```

### Network latency and serverless applications
Expand Down
39 changes: 20 additions & 19 deletions docs/reference/ping.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pscale ping
| **Flag** | **Description** |
| --------------- | ------------------------------------------- |
| `-h`, `--help` | View help for `ping` command |
| `-n`, `--count` | Number of pings (default 10) |
| `--concurrency` | Number of concurrent pings. (default 8) |
| `--timeout` | Timeout for a ping to succeed. (default 5s) |

Expand Down Expand Up @@ -52,23 +53,23 @@ pscale ping
**Output:**

```shell
ENDPOINT (17) LATENCY TYPE
------------------------------------------------ --------- -----------
us-east.connect.psdb.cloud 18.6ms direct
gcp-us-east4.connect.psdb.cloud 21.8ms direct
gcp.connect.psdb.cloud 24.3ms optimized
aws.connect.psdb.cloud 25.1ms optimized
gcp-northamerica-northeast1.connect.psdb.cloud 27.9ms direct
aws-us-east-2.connect.psdb.cloud 29.2ms direct
gcp-us-central1.connect.psdb.cloud 39.9ms direct
us-west.connect.psdb.cloud 88.7ms direct
aws-eu-west-2.connect.psdb.cloud 89.2ms direct
eu-west.connect.psdb.cloud 97ms direct
eu-central.connect.psdb.cloud 98.8ms direct
aws-sa-east-1.connect.psdb.cloud 144.8ms direct
ap-northeast.connect.psdb.cloud 173.4ms direct
gcp-asia-northeast3.connect.psdb.cloud 206.9ms direct
ap-south.connect.psdb.cloud 213.2ms direct
aws-ap-southeast-2.connect.psdb.cloud 221.1ms direct
ap-southeast.connect.psdb.cloud 248.7ms direct
NAME (17) LATENCY ENDPOINT TYPE
----------------------------- --------- ------------------------------------------------ -----------
AWS us-west-2 34.6ms aws.connect.psdb.cloud optimized
AWS us-west-2 34.8ms us-west.connect.psdb.cloud direct
GCP us-central1 57.5ms gcp.connect.psdb.cloud optimized
GCP us-central1 57.9ms gcp-us-central1.connect.psdb.cloud direct
AWS us-east-2 60.5ms aws-us-east-2.connect.psdb.cloud direct
GCP us-east4 69.2ms gcp-us-east4.connect.psdb.cloud direct
AWS us-east-1 70.2ms us-east.connect.psdb.cloud direct
GCP northamerica-northeast1 80.9ms gcp-northamerica-northeast1.connect.psdb.cloud direct
AWS ap-northeast-1 116.6ms ap-northeast.connect.psdb.cloud direct
GCP asia-northeast3 149.5ms gcp-asia-northeast3.connect.psdb.cloud direct
AWS ap-southeast-2 150.9ms aws-ap-southeast-2.connect.psdb.cloud direct
AWS eu-central-1 154.4ms eu-central.connect.psdb.cloud direct
AWS eu-west-1 157.2ms eu-west.connect.psdb.cloud direct
AWS sa-east-1 179.5ms aws-sa-east-1.connect.psdb.cloud direct
AWS ap-southeast-1 189.4ms ap-southeast.connect.psdb.cloud direct
AWS ap-south-1 243.1ms ap-south.connect.psdb.cloud direct
AWS eu-west-2 670.5ms aws-eu-west-2.connect.psdb.cloud direct
```
2 changes: 1 addition & 1 deletion docs/reference/planetscale-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Use `pscale [command] [command]` to start up the `pscale` CLI in your terminal.
| `help` | `audit-log`, `auth`, `backup`, `branch`, `completion`, `connect`, `data-import`, `database`, `deploy-request`, `help`, `org`, `password`, `region`, `service-token`, `shell`, `signup` | `--help` | View help for any command |
| [`org`](/docs/reference/org) | `list`, `show`, `switch` | `--help` | Manage and switch [organizations](/docs/concepts/access-control) |
| [`password`](/docs/reference/password) | `create`, `delete`, `list` | `--help`, `--org string` | Manage [branch credentials](/docs/concepts/connection-strings) |
| [`ping`](/docs/reference/ping) |
| [`ping`](/docs/reference/ping) | | `--help`, `--count, -n int`, `--concurrency int`, `--timeout duration` | Check [latency](/docs/concepts/network-latency) between your machine and PlanetScale's public regions. |
| [`region`](/docs/reference/region) | `list` | `--org string` | View available [regions](/docs/concepts/regions) |
| [`service-token`](/docs/reference/service-token) | `add-access`, `create`, `delete`, `delete-access`, `list`, `show-access` | `--help`, `--org string` | Manage access of [service tokens](/docs/concepts/service-tokens) |
| [`shell`](/docs/reference/shell) | `<database_name>` `<branch_name>` | `--help`, `--local-addr string`, `--org string`, `--remote-addr string` | Open a MySQL shell instance to the specified database and branch |
Expand Down

0 comments on commit a1b20cc

Please sign in to comment.