How to implement a limited feature rollout (language agnostic) to your users?

后端 未结 4 2108
刺人心
刺人心 2021-02-05 07:34

I would like to know some common or best practices of rolling out a new website feature to a select group of the userbase.

The users could be, for example, based solel

4条回答
  •  耶瑟儿~
    2021-02-05 08:25

    My recommendation would be that, for the people who are getting the new feature, the site they are on should be as close as possible to the site that everyone will be on once the feature is public.

    In other words, I wouldn't have, for example, conditional logic on a page to determine whether a button should be visible or not, if that condition would only exist during this beta period. Rather, I would determine at login time whether this person is a beta participant or not (that determination might be random, might reference their role, etc). If they are a participant, they would be redirected to a separately deployed site that is deployed from a version control branch.

    Once the rollout is complete, the branch is merged in and everyone sees the new feature.

    This way, you don't have to worry that the codebase the public beta users are seeing is different (in some way that could break something) from the eventual release codebase.

提交回复
热议问题