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.

An incomplete guide to Facebook thrift

54 pointsby rajeevkover 10 years ago

8 comments

wwarrenover 10 years ago
We use Thrift a lot at my company, not just for internal communication, but for our external facing API.<p>Larger companies like Evernote (<a href="https://dev.evernote.com/doc/reference/" rel="nofollow">https:&#x2F;&#x2F;dev.evernote.com&#x2F;doc&#x2F;reference&#x2F;</a>) have shown that Thrift can be operated successfully at an enormous scale.<p>Facebook also re-forked re-open-sourced Apache Thrift (originally a Facebook project) as fbthrift: <a href="https://github.com/facebook/fbthrift" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;facebook&#x2F;fbthrift</a>
评论 #8783666 未加载
chuckcodeover 10 years ago
Does anyone know of a data serialization framework that will do the usual structs and arbitrary size matrices? I&#x27;d love to use something like thrift for serializing matrices or other larger data over a wire or onto disk but last time I looked thrift, protocol buffers and avro were all struct oriented and there wasn&#x27;t a good way to parcel up a matrix or large vector. Currently I&#x27;ve just been using hdf5 as the default way to store reasonably large data matrices, cubes, vectors, etc.
评论 #8784208 未加载
评论 #8784524 未加载
Xorlevover 10 years ago
I found out the other day that Packetbeat supports decoding Thrift structs:<p><a href="http://packetbeat.com/docs/configuration.html#thrift-configuration" rel="nofollow">http:&#x2F;&#x2F;packetbeat.com&#x2F;docs&#x2F;configuration.html#thrift-configu...</a><p>Which makes debugging Thrift-based architectures significantly easier.
GauntletWizardover 10 years ago
This is honestly a better guide to Thrift than we have inside Facebook, though I wish that said more.
评论 #8786850 未加载
m0skit0over 10 years ago
Nice introduction. I selected Thrift as middleware for a business project for the company I&#x27;m working on one year ago, so I&#x27;m pretty familiar with it. It has some issues but for the most part it is reliable, fast, and extremely flexible. Problem with Thrift is mainly the lack of documentation and examples, so the more, the better.
评论 #8783387 未加载
wahsdover 10 years ago
&quot;Facebook re-open sourced the thrift...&quot; cool, let me get right on that before it&#x27;s re-re-closed sourced.
zapfover 10 years ago
Good to see this.<p>I was sold on Thrift but I think the popularity of REST made people take some weird decisions.<p>Internal services talking to each other using REST seemed like a bit too much, a place, where I though services like Thrift would have worked so well.
评论 #8783653 未加载
评论 #8783963 未加载
评论 #8783476 未加载
billowqiuover 10 years ago
this is an interested introduction.