Skip to content

ui: fix bundling - remake of @tamird's PR#7371

Closed
maxlang wants to merge 1 commit intocockroachdb:masterfrom
maxlang:maxlang/ui-next-fix-bunding-redux
Closed

ui: fix bundling - remake of @tamird's PR#7371
maxlang wants to merge 1 commit intocockroachdb:masterfrom
maxlang:maxlang/ui-next-fix-bunding-redux

Conversation

@maxlang
Copy link
Copy Markdown
Contributor

@maxlang maxlang commented Jun 21, 2016

This change is Reviewable

@maxlang
Copy link
Copy Markdown
Contributor Author

maxlang commented Jun 21, 2016

Remake of #6839

@tamird tamird closed this in #6839 Jun 21, 2016
@maxlang maxlang deleted the maxlang/ui-next-fix-bunding-redux branch June 21, 2016 22:08
kvoli added a commit to kvoli/cockroach that referenced this pull request Feb 10, 2022
Previously, Queries-Per-Second (QPS) was calculated uniformly per
`BatchRequest` as 1. This patch introduces variable QPS calculation
for `AddSSTableRequest`, which use an order of magnitude more
resources than other request types.

This patch introduces the
`kv.replica_stats.addsst_request_size_factor` cluster setting. This
setting is used to attribute QPS to `AddSSTableRequest` sizes. The
calculation is done as QPS = 1 + size(AddSSTableRequest) / factor.
When `kv.replica_stats.addsst_request_size_factor` is less than 1, or
no `AddSSTableRequest` exists within a `BatchRequest`, then QPS = 1;
the current behavior today.

resolves cockroachdb#7371

Release note (performance improvement):
Introduced `kv.replica_stats.addsst_request_size_factor`
cluster setting. This setting is used to tune
Queries-Per-Second (QPS) sensitivity to large imports.
By default, this setting is disabled. When enabled,
the size of any AddSSTableRequest will contribute to
QPS in inverse relation to this settings magnitude.
Experimentally, 20,000 has produced the best load balancing results.
kvoli added a commit to kvoli/cockroach that referenced this pull request Feb 11, 2022
Previously, Queries-Per-Second (QPS) was calculated uniformly per
`BatchRequest` as 1. This patch introduces variable QPS calculation
for `AddSSTableRequest`, which use an order of magnitude more
resources than other request types.

This patch introduces the
`kv.replica_stats.addsst_request_size_factor` cluster setting. This
setting is used to attribute QPS to `AddSSTableRequest` sizes. The
calculation is done as QPS = 1 + size(AddSSTableRequest) / factor.
When `kv.replica_stats.addsst_request_size_factor` is less than 1, or
no `AddSSTableRequest` exists within a `BatchRequest`, then QPS = 1;
the current behavior today.

resolves cockroachdb#7371

Release note (performance improvement):
Introduced `kv.replica_stats.addsst_request_size_factor`
cluster setting. This setting is used to tune
Queries-Per-Second (QPS) sensitivity to large imports.
By default, this setting is disabled. When enabled,
the size of any AddSSTableRequest will contribute to
QPS in inverse relation to this settings magnitude.
Experimentally, 20,000 has produced the best load balancing results.
kvoli added a commit to kvoli/cockroach that referenced this pull request Feb 11, 2022
Previously, Queries-Per-Second (QPS) was calculated uniformly per
`BatchRequest` as 1. This patch introduces variable QPS calculation
for `AddSSTableRequest`, which use an order of magnitude more
resources than other request types.

This patch introduces the
`kv.replica_stats.addsst_request_size_factor` cluster setting. This
setting is used to attribute QPS to `AddSSTableRequest` sizes. The
calculation is done as QPS = 1 + size(AddSSTableRequest) / factor.
When `kv.replica_stats.addsst_request_size_factor` is less than 1, or
no `AddSSTableRequest` exists within a `BatchRequest`, then QPS = 1;
the current behavior today.

resolves cockroachdb#7371

Release note (performance improvement):
Introduced `kv.replica_stats.addsst_request_size_factor` cluster
setting. This setting is used to tune Queries-Per-Second (QPS)
sensitivity to large imports. By default, this setting is disabled.
When enabled, the size of any AddSSTableRequest will contribute to
QPS in inverse relation to this settings magnitude. By default this
setting configured to a conservative 50,000; every 50 kilobytes will
be accounted for as an additional 1 QPS.
kvoli added a commit to kvoli/cockroach that referenced this pull request Feb 15, 2022
Previously, Queries-Per-Second (QPS) was calculated uniformly per
`BatchRequest` as 1. This patch introduces variable QPS calculation
for `AddSSTableRequest`, which use an order of magnitude more
resources than other request types.

This patch introduces the
`kv.replica_stats.addsst_request_size_factor` cluster setting. This
setting is used to attribute QPS to `AddSSTableRequest` sizes. The
calculation is done as QPS = 1 + size(AddSSTableRequest) / factor.
When `kv.replica_stats.addsst_request_size_factor` is less than 1, or
no `AddSSTableRequest` exists within a `BatchRequest`, then QPS = 1;
the current behavior today.

resolves cockroachdb#7371

Release note (performance improvement):
Introduced `kv.replica_stats.addsst_request_size_factor` cluster
setting. This setting is used to tune Queries-Per-Second (QPS)
sensitivity to large imports. By default, this setting is disabled.
When enabled, the size of any AddSSTableRequest will contribute to
QPS in inverse relation to this settings magnitude. By default this
setting configured to a conservative 50,000; every 50 kilobytes will
be accounted for as an additional 1 QPS.
kvoli added a commit to kvoli/cockroach that referenced this pull request Feb 15, 2022
Previously, Queries-Per-Second (QPS) was calculated uniformly per
`BatchRequest` as 1. This patch introduces variable QPS calculation
for `AddSSTableRequest`, which use an order of magnitude more
resources than other request types.

This patch introduces the
`kv.replica_stats.addsst_request_size_factor` cluster setting. This
setting is used to attribute QPS to `AddSSTableRequest` sizes. The
calculation is done as QPS = 1 + size(AddSSTableRequest) / factor.
When `kv.replica_stats.addsst_request_size_factor` is less than 1, or
no `AddSSTableRequest` exists within a `BatchRequest`, then QPS = 1;
the current behavior today.

resolves cockroachdb#7371

Release note (performance improvement):
Introduced `kv.replica_stats.addsst_request_size_factor` cluster
setting. This setting is used to tune Queries-Per-Second (QPS)
sensitivity to large imports. By default, this setting is disabled.
When enabled, the size of any AddSSTableRequest will contribute to
QPS in inverse relation to this settings magnitude. By default this
setting configured to a conservative 50,000; every 50 kilobytes will
be accounted for as an additional 1 QPS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants