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.

Safely Rewriting Mixpanel’s Highest-Throughput Service

94 pointsby dcualmost 6 years ago

7 comments

ZeroCool2ualmost 6 years ago
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 未加载
ma2rtenalmost 6 years ago
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 未加载
rwilson4almost 6 years ago
Very cool! Any stats you can share about increased performance switching to go?
评论 #20536886 未加载
评论 #20536553 未加载
User23almost 6 years ago
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.
Exumaalmost 6 years ago
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 未加载
welderalmost 6 years ago
Did p95 latency change due to the migration?
评论 #20538106 未加载
marcrosoftalmost 6 years ago
s&#x2F;golang&#x2F;go