Skip to content

Metric lookup short circuit to avoid an extra redis call#755

Merged
andrehjr merged 2 commits into
mainfrom
metric-lookup-short-circuit
Jul 26, 2026
Merged

Metric lookup short circuit to avoid an extra redis call#755
andrehjr merged 2 commits into
mainfrom
metric-lookup-short-circuit

Conversation

@andrehjr

Copy link
Copy Markdown
Member

Fix the broken "create a metric via code" README example. Replaced with a working example that is used on the specs.

Skip per-key metric lookups in active_experiments when no metrics exist. I don't think metrics is widely used, and considering just dropping it. This scenario tries to mitigate N HGET calls and calling a single exists.

@andrehjr
andrehjr merged commit 6130cd5 into main Jul 26, 2026
18 checks passed
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.

1 participant