Skip to content

Commit

Permalink
Typo and vale fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hdkshingala committed Jan 8, 2024
1 parent 6be1ce8 commit 40e7f4f
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Requests coming into the system are categorized into different workloads, each
of which is defined by its priority and weight. This classification is crucial
for the scheduling process within each agent.

Inside every agent, there is a scheduler that priorities request admission based
on two factors: the priority and weight assigned to the corresponding workload,
and the availability of tokens from the global token bucket. This mechanism
ensures that high-priority requests are handled appropriately even under high
load or when the request rate is close to the rate limit.
Inside every agent, there is a scheduler that prioritizes request admission
based on two factors: the priority and weight assigned to the corresponding
workload, and the availability of tokens from the global token bucket. This
mechanism ensures that high-priority requests are handled appropriately even
under high load or when the request rate is close to the rate limit.

## Example Scenario

Expand Down
4 changes: 2 additions & 2 deletions docs/content/guides/api-quota-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Requests coming into the system are categorized into different workloads, each
of which is defined by its priority and weight. This classification is crucial
for the request scheduling process.

The scheduler priorities request admission based on two factors: the priority
The scheduler prioritizes request admission based on two factors: the priority
and weight assigned to the corresponding workload, and the availability of
tokens from the token bucket. This mechanism ensures that high-priority requests
are handled appropriately even under high load or when the request rate is close
Expand Down Expand Up @@ -148,7 +148,7 @@ flow.
```

Navigate to the `Policies` tab on the sidebar menu, and select `Create Policy`
in the upper right corner. Next, choose the Request Prioritization blueprint,
in the upper-right corner. Next, choose the Request Prioritization blueprint,
and from the drop-down options select Quota based. Now, complete the form with
these specific values:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ visibility for each flow.
```

Navigate to the `Policies` tab on the sidebar menu, and select `Create Policy`
in the upper right corner. Next, choose the Request Prioritization blueprint,
in the upper-right corner. Next, choose the Request Prioritization blueprint,
and from the drop-down options select Concurrency based. Now, complete the form
with these specific values:

Expand Down
20 changes: 10 additions & 10 deletions docs/content/guides/mistral.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ offers a blueprint for
[concurrency scheduling](https://docs.fluxninja.com/reference/blueprints/concurrency-scheduling/base),
consisting of two main components:

- Concurrency Limiter: It allows setting the max number of concurrenct requests
that can be processed. This paratemeter can be set according to an
application's ability to set to handle the maximum number of concurrent
requests at a given time.
- Concurrency Limiter: It allows setting the max number of concurrent requests
that can be processed. This parameter can be set according to an application's
ability to set to handle the maximum number of concurrent requests at a given
time.
- Scheduler: Aperture has a
[weighted fair queuing](https://docs.fluxninja.com/concepts/scheduler/)
scheduler that prioritizes the requests based on multiple factors such as the
Expand Down Expand Up @@ -135,7 +135,7 @@ deadline, set within the `startFlow` call. Setting this deadline to `120000`
milliseconds, for example, indicates that the request can be queued for a
maximum of 2 minutes. After this interval, the request will be rejected.

Once the `startFlow` call is made, we send the prompt to Mistral and await for
Once the `startFlow` call is made, we send the prompt to Mistral and wait for
its response. Excess requests are automatically queued by Aperture, eliminating
the need to check if a flow `shouldRun` or not.

Expand Down Expand Up @@ -194,15 +194,15 @@ visibility for each flow.
```

Navigate to the `Policies` tab on the sidebar menu, and select `Create Policy`
in the upper right corner. Next, choose the Rate Limiting blueprint, select
in the upper-right corner. Next, choose the Rate Limiting blueprint, select
Concurrency and complete the form with these specific values:

1. `Policy name`: Unique for each policy, this field can be used to define
policies tailored for different use cases. Set the policy name to
`concurrency-scheduling-test`.
2. `Limit by label key`: Determines the specific label key used for concurrency
limits. This paratemeter becomes essential for more granular concurrency
limiting use cases such as per user limiting where a parameter like the
limits. This parameter becomes essential for more granular concurrency
limiting use cases such as, per-user limiting where a parameter like the

Check warning on line 205 in docs/content/guides/mistral.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/content/guides/mistral.md#L205

[RedHat.TermsWarnings] Consider using 'such as' rather than 'like' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'such as' rather than 'like' unless updating existing content that uses the term.", "location": {"path": "docs/content/guides/mistral.md", "range": {"start": {"line": 205, "column": 68}}}, "severity": "WARNING"}
`user_id` can be passed. For now, we will test global concurrency limiting,
we will leave the label as it is.
3. `Max inflight duration`: Configures the time duration after which flow is
Expand Down Expand Up @@ -245,8 +245,8 @@ scheduling policy:
policies tailored for different use cases. Set the policy name to
`concurrency-scheduling-test`.
2. `limit_by_label_key`: Determines the specific label key used for concurrency
limits. This paratemeter becomes essential for more granular concurrency
limiting use cases such as per user limiting where a parameter like the
limits. This parameter becomes essential for more granular concurrency
limiting use cases such as, per-user limiting where a parameter like the

Check warning on line 249 in docs/content/guides/mistral.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/content/guides/mistral.md#L249

[RedHat.TermsWarnings] Consider using 'such as' rather than 'like' unless updating existing content that uses the term.
Raw output
{"message": "[RedHat.TermsWarnings] Consider using 'such as' rather than 'like' unless updating existing content that uses the term.", "location": {"path": "docs/content/guides/mistral.md", "range": {"start": {"line": 249, "column": 68}}}, "severity": "WARNING"}
`user_id` can be passed. For now, since we want to do a global concurrency
limiting, we will leave the label as it is.
3. `max_inflight_duration`: Configures the time duration after which flow is
Expand Down
2 changes: 1 addition & 1 deletion docs/content/guides/per-user-concurrency-limiting.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ provide granular visibility for each flow.
```

Navigate to the `Policies` tab on the sidebar menu, and select `Create Policy`
in the upper right corner. Next, choose the Rate Limiting blueprint, select
in the upper-right corner. Next, choose the Rate Limiting blueprint, select
Concurrency and complete the form with these specific values:

1. `Policy name`: Unique for each policy, this field can be used to define
Expand Down
2 changes: 1 addition & 1 deletion docs/content/guides/per-user-rate-limiting.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ flow.
```

Navigate to the `Policies` tab on the sidebar menu, and select `Create Policy`
in the upper right corner. Next, choose the Rate Limiting blueprint and complete
in the upper-right corner. Next, choose the Rate Limiting blueprint and complete
the form with these specific values:

1. `Policy name`: Unique for each policy, this field can be used to define
Expand Down

0 comments on commit 40e7f4f

Please sign in to comment.