Skip to content

anvox/bproxy

Repository files navigation

A proxy prototype, which measures new-endpoint and fully redirect to new after all passed.

From this article https://engineering.shopify.com/blogs/engineering/how-shopify-reduced-storefront-response-times-rewrite

Requirement:

  • Forward to old-endpoint
  • Get old result and async forward request, old-response to verifier
  • Verifier get response from new-endpoint and return pass/fail to proxy
  • Track pass/fail result. And depends on (dynamic) monitor conditions, change to route to new-endpoint
  • Fallback to old-endpoint if new-endpoint failed
  • Timeout is considered failed, and should be fallback early

Consider:

  • Performance, apdex
  • Response verification
  • Dynamic conditions

Run it

ruby main.rb

About

AB Test tool, at http request level

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages