TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Find potential bugs in your services with Diffy

41 pointsby hiby007over 9 years ago

3 comments

jawnsover 9 years ago
This is a cool approach to finding bugs in non-deterministic services. Basically, each request is played against three servers: one running the code to test, and two running known good code. If the variation in responses between test:good is no different than the variation between good:good, you can assume that no regressions are present.
spullaraover 9 years ago
When we moved the Twitter web frontend from the RoR stack to the Scala stack we used a similar tool built into the proxy we called Tap Compare. The new thing in Diffy is to use two calls to known good services rather than one call to filter out the non-deterministic bits. With tap compare we basically had to whitelist those parts of the page. This kind of strategy is pretty powerful and you will likely find lots of places in your infrastructure where it makes sense to use it.
masukomiover 9 years ago
ahem &quot;Build failing&quot;....<p>not the greatest way to start off my interaction with a tool that&#x27;s supposed to find bugs.
评论 #10174017 未加载
评论 #10171709 未加载