priority_rate_limiter_impl.go ×1
Frontier kind: Code frontier
unlabeled · c_367ff337352e
32 tests · 39 LOC · 2 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Introduced files, introduced tests, and structurally relevant concept specialization namespace_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, namespace_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · 0 introduced LOC namespace_burst_hit_when… namespace_rate_hit_when_burst_ratio_is_1, namespace_burst_hit_when_burst_ratio_is_0.5, +1 · 0 introduced LOC namespace_rate_hit_when_… replication_inducing_op_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, replication_inducing_op_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · 0 introduced LOC replication_inducing_op_… replication_inducing_op_rate_hit_when_burst_ratio_is_1, replication_inducing_op_burst_hit_when_burst_ratio_is_0.5, +1 · 0 introduced LOC replication_inducing_op_… visibility_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, visibility_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · 0 introduced LOC visibility_burst_hit_whe… visibility_rate_hit_when_burst_ratio_is_1, visibility_burst_hit_when_burst_ratio_is_0.5, +1 · 0 introduced LOC visibility_rate_hit_when… namespace_rate_limit.go ×1 · 2 introduced LOC namespace_rate_limit.go … both_rate_limits_hit, global_rate_limit_hit · 0 introduced LOC both_rate_limits_hit, gl… global_rate_limit_not_configured_and_per_instance_rate_limit_is_hit · 0 introduced LOC global_rate_limit_not_co… global_rate_limit_not_configured_and_zero_per-instance_rate_limit · 0 introduced LOC global_rate_limit_not_co… visibility_manager_rate_limited.go ×1 · 2 introduced LOC visibility_manager_rate_… visibility_store_mock.go ×2 · 12 introduced LOC visibility_store_mock.go… visibility_store_mock.go ×2 · 15 introduced LOC visibility_store_mock.go… visiblity_manager_metrics.go ×3 · 6 introduced LOC visiblity_manager_metric… TestOperatorPrioritized · 0 introduced LOC TestOperatorPrioritized quotas.go ×1 · 1 introduced LOC quotas.go ×1 quotas.go ×1 · 1 introduced LOC quotas.go ×1 TestOperatorPrioritized · 0 introduced LOC TestOperatorPrioritized quotas.go ×2 · 3 introduced LOC quotas.go ×2 quotas.go ×2 · 3 introduced LOC quotas.go ×2 quotas.go ×2 · 3 introduced LOC quotas.go ×2 quotas.go ×1 · 2 introduced LOC quotas.go ×1 TestAllow_LowPriority_Disallow, TestAllow_HighPriority_Disallow · 0 introduced LOC TestAllow_LowPriority_Di… priority_rate_limiter_impl.go ×1 · 5 introduced LOC priority_rate_limiter_im… priority_rate_limiter_impl.go ×2 · 5 introduced LOC priority_rate_limiter_im… priority_rate_limiter_impl.go ×2 · 19 introduced LOC priority_rate_limiter_im… request_rate_limiter_adapter_impl.go ×1 · 3 introduced LOC request_rate_limiter_ada… request_rate_limiter_adapter_impl.go ×1 · 5 introduced LOC request_rate_limiter_ada… TestOperatorServiceMetadata, TestWorkflowServiceMetadata · 0 introduced LOC TestOperatorServiceMetad… go.temporal.io/server/common/persistence/client/quotas.go · 300 LOC client/quotas.go go.temporal.io/server/common/persistence/visibility/store/visibility_store_mock.go · 243 LOC store/visibility_store_m… go.temporal.io/server/common/persistence/visibility/visibility_manager_impl.go · 619 LOC visibility/visibility_ma… go.temporal.io/server/common/persistence/visibility/visibility_manager_rate_limited.go · 185 LOC visibility/visibility_ma… go.temporal.io/server/common/persistence/visibility/visiblity_manager_metrics.go · 237 LOC visibility/visiblity_man… go.temporal.io/server/common/quotas/priority_rate_limiter_impl.go · 165 LOC quotas/priority_rate_lim… go.temporal.io/server/common/quotas/request_rate_limiter_adapter_impl.go · 43 LOC quotas/request_rate_limi… go.temporal.io/server/common/rpc/interceptor/namespace_rate_limit.go · 179 LOC interceptor/namespace_ra… go.temporal.io/server/service/frontend/configs/quotas.go · 397 LOC configs/quotas.go go.temporal.io/server/service/matching/configs/quotas.go · 106 LOC configs/quotas.go TestOperatorServiceMetadata · introduced test · go.temporal.io/server/common/api/TestOperatorServiceMetadata TestOperatorServiceMetad… TestWorkflowServiceMetadata · introduced test · go.temporal.io/server/common/api/TestWorkflowServiceMetadata TestWorkflowServiceMetad… TestOperatorPrioritized · introduced test · go.temporal.io/server/common/persistence/client/TestQuotasSuite/TestOperatorPrioritized TestOperatorPrioritized TestPerShardNamespaceRateLimiter_DoesLimit · introduced test · go.temporal.io/server/common/persistence/client/TestQuotasSuite/TestPerShardNamespaceRateLimiter_DoesLimit TestPerShardNamespaceRat… TestPriorityNamespaceRateLimiter_DoesLimit · introduced test · go.temporal.io/server/common/persistence/client/TestQuotasSuite/TestPriorityNamespaceRateLimiter_DoesLimit TestPriorityNamespaceRat… TestGetWorkflowExecution · introduced test · go.temporal.io/server/common/persistence/visibility/TestVisibilityManagerSuite/TestGetWorkflowExecution TestGetWorkflowExecution TestRecordWorkflowExecutionClosed · introduced test · go.temporal.io/server/common/persistence/visibility/TestVisibilityManagerSuite/TestRecordWorkflowExecutionClosed TestRecordWorkflowExecut… TestRecordWorkflowExecutionStarted · introduced test · go.temporal.io/server/common/persistence/visibility/TestVisibilityManagerSuite/TestRecordWorkflowExecutionStarted TestRecordWorkflowExecut… TestAllow_HighPriority_Disallow · introduced test · go.temporal.io/server/common/quotas/TestPriorityStageRateLimiterSuite/TestAllow_HighPriority_Disallow TestAllow_HighPriority_D… TestAllow_LowPriority_Disallow · introduced test · go.temporal.io/server/common/quotas/TestPriorityStageRateLimiterSuite/TestAllow_LowPriority_Disallow TestAllow_LowPriority_Di… namespace_burst_hit_when_burst_ratio_is_0.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/namespace_burst_hit_when_burst_ratio_is_0.5 namespace_burst_hit_when… namespace_burst_hit_when_burst_ratio_is_1.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/namespace_burst_hit_when_burst_ratio_is_1.5 namespace_burst_hit_when… namespace_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/namespace_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set namespace_burst_hit_when… namespace_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/namespace_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set namespace_burst_hit_when… namespace_rate_hit_when_burst_ratio_is_1 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/namespace_rate_hit_when_burst_ratio_is_1 namespace_rate_hit_when_… replication_inducing_op_burst_hit_when_burst_ratio_is_0.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/replication_inducing_op_burst_hit_when_burst_ratio_is_0.5 replication_inducing_op_… replication_inducing_op_burst_hit_when_burst_ratio_is_1.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/replication_inducing_op_burst_hit_when_burst_ratio_is_1.5 replication_inducing_op_… replication_inducing_op_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/replication_inducing_op_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set replication_inducing_op_… replication_inducing_op_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/replication_inducing_op_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set replication_inducing_op_… replication_inducing_op_rate_hit_when_burst_ratio_is_1 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/replication_inducing_op_rate_hit_when_burst_ratio_is_1 replication_inducing_op_… visibility_burst_hit_when_burst_ratio_is_0.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/visibility_burst_hit_when_burst_ratio_is_0.5 visibility_burst_hit_whe… visibility_burst_hit_when_burst_ratio_is_1.5 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/visibility_burst_hit_when_burst_ratio_is_1.5 visibility_burst_hit_whe… visibility_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/visibility_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set visibility_burst_hit_whe… visibility_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/visibility_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set visibility_burst_hit_whe… visibility_rate_hit_when_burst_ratio_is_1 · introduced test · go.temporal.io/server/service/frontend/TestNamespaceRateLimitInterceptorProvider/visibility_rate_hit_when_burst_ratio_is_1 visibility_rate_hit_when… both_rate_limits_hit · introduced test · go.temporal.io/server/service/frontend/TestRateLimitInterceptorProvider/both_rate_limits_hit both_rate_limits_hit global_rate_limit_hit · introduced test · go.temporal.io/server/service/frontend/TestRateLimitInterceptorProvider/global_rate_limit_hit global_rate_limit_hit global_rate_limit_not_configured_and_per_instance_rate_limit_is_hit · introduced test · go.temporal.io/server/service/frontend/TestRateLimitInterceptorProvider/global_rate_limit_not_configured_and_per_instance_rate_limit_is_hit global_rate_limit_not_co… global_rate_limit_not_configured_and_zero_per-instance_rate_limit · introduced test · go.temporal.io/server/service/frontend/TestRateLimitInterceptorProvider/global_rate_limit_not_configured_and_zero_per-instance_rate_limit global_rate_limit_not_co… TestOperatorPriority_Execution · introduced test · go.temporal.io/server/service/frontend/configs/TestQuotasSuite/TestOperatorPriority_Execution TestOperatorPriority_Exe… TestOperatorPriority_NamespaceReplicationInducing · introduced test · go.temporal.io/server/service/frontend/configs/TestQuotasSuite/TestOperatorPriority_NamespaceReplicationInducing TestOperatorPriority_Nam… TestOperatorPriority_Visibility · introduced test · go.temporal.io/server/service/frontend/configs/TestQuotasSuite/TestOperatorPriority_Visibility TestOperatorPriority_Vis… TestOperatorPrioritized · introduced test · go.temporal.io/server/service/history/configs/TestQuotasSuite/TestOperatorPrioritized TestOperatorPrioritized TestOperatorPrioritized · introduced test · go.temporal.io/server/service/matching/configs/TestQuotasSuite/TestOperatorPrioritized TestOperatorPrioritized Focused concept · priority_rate_limiter_impl.go ×1 · 2 introduced LOC priority_rate_limiter_im…
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
priority_rate_limiter_impl.go ×1 — Focused concept
Introduced files:
namespace_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, namespace_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set — Ancestor (broader)
Introduced tests:
namespace_rate_hit_when_burst_ratio_is_1, namespace_burst_hit_when_burst_ratio_is_0.5, +1 — Ancestor (broader)
Introduced tests:
replication_inducing_op_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, replication_inducing_op_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set — Ancestor (broader)
Introduced tests:
replication_inducing_op_rate_hit_when_burst_ratio_is_1, replication_inducing_op_burst_hit_when_burst_ratio_is_0.5, +1 — Ancestor (broader)
Introduced tests:
visibility_burst_hit_when_burst_ratio_is_1_and_global_limit_is_set, visibility_burst_hit_when_burst_ratio_is_1.5_and_global_limit_is_set — Ancestor (broader)
Introduced tests:
visibility_rate_hit_when_burst_ratio_is_1, visibility_burst_hit_when_burst_ratio_is_0.5, +1 — Ancestor (broader)
Introduced tests:
namespace_rate_limit.go ×1 — Ancestor (broader)
Introduced files:
both_rate_limits_hit, global_rate_limit_hit — Ancestor (broader)
Introduced tests:
global_rate_limit_not_configured_and_per_instance_rate_limit_is_hit — Ancestor (broader)
Introduced tests:
global_rate_limit_not_configured_and_zero_per-instance_rate_limit — Ancestor (broader)
Introduced tests:
visibility_manager_rate_limited.go ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
visibility_store_mock.go ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
visibility_store_mock.go ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
visiblity_manager_metrics.go ×3 — Ancestor (broader)
Introduced files:
TestOperatorPrioritized — Ancestor (broader)
Introduced tests:
quotas.go ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
quotas.go ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
TestOperatorPrioritized — Ancestor (broader)
Introduced tests:
quotas.go ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
quotas.go ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
quotas.go ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
quotas.go ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
TestAllow_LowPriority_Disallow, TestAllow_HighPriority_Disallow — Ancestor (broader)
Introduced tests:
priority_rate_limiter_impl.go ×1 — Descendant (narrower)
Introduced files:
priority_rate_limiter_impl.go ×2 — Descendant (narrower)
Introduced files:
priority_rate_limiter_impl.go ×2 — Descendant (narrower)
Introduced files:
request_rate_limiter_adapter_impl.go ×1 — Descendant (narrower)
Introduced files:
request_rate_limiter_adapter_impl.go ×1 — Descendant (narrower)
Introduced files:
TestOperatorServiceMetadata, TestWorkflowServiceMetadata — Descendant (narrower)
Introduced tests:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
go.temporal.io/server/common/quotas/priority_rate_limiter_impl.go 2 introduced LOC · 1 range
Open complete file
85
allow := decidingRateLimiter . Allow ( now , request )
86
if ! allow {
88
>
}
89
90
for _ , limiter := range consumeRateLimiters {