Skip to content

A single ab_test call triggers multiple Redis commands for all experiments  #600

Open
@phstc

Description

@phstc

Describe the bug

ab_test triggers multiple Redis commands for all experiments for a single experiment ab_test(:experiment_1) call.

If in a single request flow I call ab_test(:experiment_1), ab_test(:experiment_2) and ab_test(:experiment_3) it will perform multiple commands for the same experiments overloading Redis.

To Reproduce

Open redis-cli monitor then:

ab_test(:experiment_1)

A single call will perform get, hget, type, lrange etc for all other experiments defined in the experiments.yml.

Expected behavior

Redis calls only for the given experiment.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions