Skip to content

Commit ba5318e

Browse files
committed
formatting
1 parent 1f9d9f7 commit ba5318e

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

docs/Documentation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- [AWS Secrets Manager Plugin](./using-the-python-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
1616
- [Aurora Connection Tracker Plugin](./using-the-python-driver/using-plugins/UsingTheAuroraConnectionTrackerPlugin.md)
1717
- [Read Write Splitting Plugin](./using-the-python-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md)
18+
- [Fastest Response Strategy Plugin](./using-the-python-driver/using-plugins/UsingTheFastestResponseStrategyPlugin.md)
1819
- [Host Availability Strategy](./using-the-python-driver/HostAvailabilityStrategy.md)
1920
- [Development Guide](./development-guide/DevelopmentGuide.md)
2021
- [Setup](./development-guide/DevelopmentGuide.md#setup)

docs/using-the-python-driver/UsingThePythonDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ The AWS Advanced Python Driver has several built-in plugins that are available t
7171
| Aurora Stale DNS Plugin | `stale_dns` | Aurora | Prevents incorrectly opening a new connection to an old writer host when DNS records have not yet updated after a recent failover event. <br><br> :warning:**Note:** Contrary to `failover` plugin, `stale_dns` plugin doesn't implement failover support itself. It helps to eliminate opening wrong connections to an old writer host after cluster failover is completed. <br><br> :warning:**Note:** This logic is already included in `failover` plugin so you can omit using both plugins at the same time. | None |
7272
| [Aurora Connection Tracker Plugin](./using-plugins/UsingTheAuroraConnectionTrackerPlugin.md) | `aurora_connection_tracker` | Aurora | Tracks all the opened connections. In the event of a cluster failover, the plugin will close all the impacted connections to the host. This plugin is enabled by default. | None |
7373
| [Read Write Splitting Plugin](./using-plugins/UsingTheReadWriteSplittingPlugin.md) | `read_write_splitting` | Aurora | Enables read write splitting functionality where users can switch between database reader and writer instances. | None |
74-
| [Fastest Response Strategy Plugin](./using-plugins/UsingTheFastestResponseStrategyPlugin.md) | `fastest_response_strategy` | Any database | A host host selection strategy plugin that uses a host monitoring service to monitor each reader host's response time and chooses the host with the fastest response | None |
74+
| [Fastest Response Strategy Plugin](./using-plugins/UsingTheFastestResponseStrategyPlugin.md) | `fastest_response_strategy` | Any database | A host host selection strategy plugin that uses a host monitoring service to monitor each reader host's response time and chooses the host with the fastest response | None |
7575

7676
In addition to the built-in plugins, you can also create custom plugins more suitable for your needs.
7777
For more information, see [Custom Plugins](../development-guide/LoadablePlugins.md#using-custom-plugins).

docs/using-the-python-driver/using-plugins/UsingTheFastestResponseStrategyPlugin.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ conn = AwsWrapperConnection.connect(mysql.connector.connect, **params)
2525
conn = AwsWrapperConnection.connect(psycopg.Connection.connect, **params)
2626
```
2727
## Configuration Parameters
28-
| Parameter | Value | Required | Description | Default Value |
29-
|---------------------------------|:-------:|:--------:|:-------------------------------------------------------------------------------------------------------------|---------------|
30-
| `response_measurement_interval_ns` | `Integer` | No | Interval in nanos between measuring response time to a database host | `30000` |
28+
| Parameter | Value | Required | Description | Default Value |
29+
|------------------------------------|:---------:|:--------:|:---------------------------------------------------------------------|---------------|
30+
| `response_measurement_interval_ns` | `Integer` | No | Interval in nanos between measuring response time to a database host | `30000` |
3131

3232
### Sample Code
3333
[Postgres fastest response strategy sample code](../../examples/PGFastestResponseStrategy.py)

docs/using-the-python-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ conn = AwsWrapperConnection.connect(psycopg.Connection.connect, **params)
106106
| `round_robin` | The round robin strategy will select a reader instance by taking turns with all available database instances in a cycle. A slight addition to the round robin strategy is the weighted round robin strategy, where more connections will be passed to reader instances based on user specified connection properties. | See the rows `round_robin_host_weight_pairs` and `round_robin_default_weight` for configuration parameters |
107107
| `round_robin_host_weight_pairs` | This parameter value must be a `string` type comma separated list of database host-weight pairs in the format `<host>:<weight>`. The host represents the database instance name, and the weight represents how many connections should be directed to the host in one cycle through all available hosts. For example, the value `instance-1:1,instance-2:4` means that for every connection to `instance-1`, there will be four connections to `instance-2`. <br><br> **Note:** The `<weight>` value in the string must be an integer greater than or equal to 1. | `""` (empty string) |
108108
| `round_robin_default_weight` | This parameter value must be an integer value. This parameter represents the default weight for any hosts that have not been configured with the `round_robin_host_weight_pairs` parameter. For example, if a connection were already established and host weights were set with `round_robin_host_weight_pairs` but a new reader node was added to the database, the new reader node would use the default weight. <br><br> **Note:** This value must be an integer greater than or equal to 1. | 1 |
109-
| `fastest_response` | The fastest_response strategy will select reader instances based on which database instance has the fastest response time. Note that this strategy can only be used when the `fastest_response_strategy` plugin is loaded. See [`fastest_response_strategy`](./UsingTheFastestResponseStrategyPlugin.md) | N/A |
109+
| `fastest_response` | The fastest_response strategy will select reader instances based on which database instance has the fastest response time. Note that this strategy can only be used when the `fastest_response_strategy` plugin is loaded. See [`Fastest Response Strategy Plugin`](./UsingTheFastestResponseStrategyPlugin.md) | N/A |
110110

111111
### Limitations
112112

0 commit comments

Comments
 (0)