Skip to content

Commit

Permalink
chore: fixing firestore ramping_up_traffic links
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwarajanand committed Aug 3, 2022
1 parent 1d4c749 commit 797cc9b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ enum OperationType {
/**
* The starting maximum number of operations per second as allowed by the 500/50/5 rule.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping
* up traffic</a>
*/
static final int DEFAULT_STARTING_MAXIMUM_OPS_PER_SECOND = 500;

/**
* The rate by which to increase the capacity as specified by the 500/50/5 rule.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping
* up traffic</a>
*/
private static final double RATE_LIMITER_MULTIPLIER = 1.5;
Expand All @@ -111,7 +111,7 @@ enum OperationType {
* How often the operations per second capacity should increase in milliseconds as specified by
* the 500/50/5 rule.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping
* up traffic</a>
*/
private static final int RATE_LIMITER_MULTIPLIER_MILLIS = 5 * 60 * 1000;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ void getAll(
* Creates a {@link BulkWriter} instance, used for performing multiple writes in parallel.
* Gradually ramps up writes as specified by the 500/50/5 rule.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping
* up traffic</a>
*/
@BetaApi
Expand All @@ -185,7 +185,7 @@ void getAll(
* Gradually ramps up writes as specified by the 500/50/5 rule unless otherwise configured by a
* BulkWriterOptions object.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping
* up traffic</a>
* @param options An options object to configure BulkWriter.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* <p>RateLimiter can also implement a gradually increasing rate limit. This is used to enforce the
* 500/50/5 rule.
*
* @see <a href=https://cloud.google.com/datastore/docs/best-practices#ramping_up_traffic>Ramping up
* @see <a href=https://cloud.google.com/firestore/docs/best-practices#ramping_up_traffic>Ramping up
* traffic</a>
*/
class RateLimiter {
Expand Down

0 comments on commit 797cc9b

Please sign in to comment.