TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Safely Rewriting Mixpanel’s Highest-Throughput Service

94 点作者 dcu将近 6 年前

7 条评论

ZeroCool2u将近 6 年前
The author mentions finding the GCP Python PubSub API unreliable. That&#x27;s definitely not been my experience.<p>Could someone from Mixpanel elaborate maybe?
评论 #20537126 未加载
ma2rten将近 6 年前
I haven&#x27;t followed mix panels development. I was surprised that a company which went as far as writing their own time series database apparently decided to go all in on Google cloud.
评论 #20540330 未加载
rwilson4将近 6 年前
Very cool! Any stats you can share about increased performance switching to go?
评论 #20536886 未加载
评论 #20536553 未加载
User23将近 6 年前
I faced a similar challenge. The technique I used was to carefully read the code of the program to be rewritten, and then I wrote a spec for it. The format of the spec was that everything that was feasibly testable was written as a unit test, and everything else was written as comments between the tests and the text explaining them. Naturally the original code satisfied the test suite&#x2F;specification.<p>Then I used that test&#x2F;spec to do a TDD type development of the new service. It was the easiest rollout I&#x27;ve ever done. Everything just worked when it went into production. I even ended up giving some internal presentations on the process.<p>I also tested with logged input from the source program. It&#x27;s neat to see this technique is common.
Exuma将近 6 年前
Wow cool article. I learned about Envoy which looks really awesome.<p>Just out of curiosity, what were some of the bugs you found? Were they related to semantics of python not carrying over to go? or was it that you tried using new go features like goroutines and they didnt work as expected?
评论 #20537329 未加载
welder将近 6 年前
Did p95 latency change due to the migration?
评论 #20538106 未加载
marcrosoft将近 6 年前
s&#x2F;golang&#x2F;go