Skip to content

Conversation

@andrehjr
Copy link
Member

Closes #482

When Split is disabled or user is excluded, we avoid hitting redis up to load/save the experiment.

This should save a few calls if the a/b is exposed on a public page, or something.

The helper still follows up the logic of building an Split::Experiment to correctly return the control alternative.

Note that on this moment ExperimentCatalog.find_or_initialize does actually hit redis to 'find' an existing experiment.

Copy link

@murara murara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@andrehjr andrehjr force-pushed the exclude-visitor-before-loading-experiment branch from 1a6d3f5 to 7f0bf4c Compare April 3, 2019 16:22
@andrehjr andrehjr merged commit ad1fea9 into master Apr 3, 2019
@andrehjr andrehjr deleted the exclude-visitor-before-loading-experiment branch April 3, 2019 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants