对于部署 Rails 视图的新版本有什么建议吗?
我们已经启动并运行了一个 Rails 站点,并且刚刚创建了新版本的前端(全新的视图、CSS、JS 等)。
将其与当前站点分区的最佳方法是什么,以便我们可以同时运行这两个站点(同时进行 A/B 测试)?我不太担心如何执行 A/B 测试,因为我担心的是文件/数据的分区。我想到了两种可能性:
- 我能想到的最直接的事情是子类化 application_controller 等。
- 另一种选择是完全分支应用程序并就地进行所有改造,然后从负载均衡器重定向到两个应用程序。
有人对此有一些好的见解吗?
干杯, 麦克风
We have a rails site up and running and we've just created a new version of the front end (completely new view, css, JS, etc).
What is the best way to partition this from the current site such that we can run both concurrently (whilst A/B testing)? I'm not so much worried about how to execute the A/B testing, as I am concerned about partitioning the files/data. I thought of two possibilities:
- The most straightforward thing I could think of was to subclass the application_controller, etc.
- Another option would be to just completely branch the app and do all of the renovations in place, then run the A/B testing from a load balancer redirection to the two apps.
Does anybody have some good insight for this?
Cheers,
Mike
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我没有部署这样的东西的直接经验,但在我看来,分支和部署一个单独的应用程序对我来说听起来更干净。
I have no direct experience in deploying such a thing, but in my opinion branching and deploying a separate app sounds cleaner to me.