如何在Polymer Web Components中执行A/B测试? [英] How to perform A/B Testing in Polymer Web Components?

查看:85
本文介绍了如何在Polymer Web Components中执行A/B测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个客户的情况:他们想进行A/B测试.

I'm encountering a situation at a customer: they want to do A/B Testing.

据我所知,大多数时间发生在LoadBalancer级别(Kubernetes),将用户重定向到应用程序的特定版本(例如,使用新版本的Gmail并推出了新版本).

As far as I know, this most of the time happens at LoadBalancer level (Kubernetes) redirecting users to a certain version of the application (for example with new version of Gmail and a release is being rolled out).

现在有了Web组件,该客户希望出现一种如果发生问题"的情况,如果在组件中满足特定要求,则功能会打开.当然,这会增加开销.

Now with web components, this customer wants to have a "dom-if" kind of situation where features are turned on if a certain requirement is met IN the component. This will add overhead of course.

我想知道这是不是要走的路.他们对这个客户的看法是,该组件可以在100多个应用程序中使用,然后创建一个构建并对其进行处理,可能太麻烦了,并且在微型级别(如IN中的组件)将是最好的选择.他们正在关注Linkedin/AirBnB.

I wonder if this is the way to go. Their reasoning of this customer is that the component can be used in 100s of applications and then creating a build and working on it, might be too cumbersome and on the microlevel (as in IN the component) would be the best way to go. They are following Linkedin/AirBnB.

据我所知,这些公司没有使用Web组件.

As far as I know these companies are not using Web Components.

问题是:什么是明智的?在微观或应用程序级别上进行A/B测试(并使用kubernetes等负载平衡器).

The question is: what is advisable ? Doing the A/B testing on microlevel or on application-level (and use load balancers like kubernetes).

推荐答案

The case of the distributed server side (e.g. micro services) is cleanly addressed in Variant. (Disclaimer: I work there). Whichever component touches the experiment first, creates a Variant session (independent of any notion of the session that the host application may have, e.g. HTTP Session) and then passes the session handle to the next component, which will be able to retrieve it and all the experiment related data from Variant server. The only catch is that we only support Java components at this time.

同样,使用负载平衡器之类的部署基础结构来解决诸如A/B测试之类的应用程序问题在许多层面上都是个坏主意,应该放弃.

As well, using deployment infrastructure, like load balancer, for application concerns like A/B testing is a bad idea on many levels and should be abandoned.

这篇关于如何在Polymer Web Components中执行A/B测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆