reddit/fbthrift

Name: fbthrift

Owner: Reddit

Description: Facebook's branch of Apache Thrift, including a new C++ server.

Created: 2015-10-26 21:48:20.0

Updated: 2018-02-26 16:04:20.0

Pushed: 2018-01-16 18:24:03.0

Homepage:

Size: 8588

Language: C++

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

FBThrift: Facebook's branch of apache thrift

The main focus of this package is the new C++ server, under thrift/lib/cpp2. This repo also contains a branch of the rest of apache thrift's repo with any changes Facebook has made, however the build system only supports cpp2.

Apache thrift is at http://thrift.apache.org/

Building

Note that under GCC, you probably need at least 2GB of memory to compile fbthrift. If you see 'internal compiler error', this is probably because you ran out of memory during compilation.

Dependencies
do apt-get install \
  flex \
  bison \
  libkrb5-dev \
  libsasl2-dev \
  libnuma-dev \
  pkg-config \
  libssl-dev

For your convenience script are provided to install fbthrift's dependencies on several common platforms:

bthrift/thrift/
 ./build/deps_ubuntu_12.04.sh or ./build/deps_centos.sh
ild/deps_ubuntu_14.04.sh  
reconf -if && ./configure && make

Each deps_*.sh script will install a variety of base system packages, as well as compile and install into in /usr/local some from-source dependencies (like folly).

Docs

Some docs on the new cpp2 server are at: https://github.com/facebook/fbthrift/blob/master/thrift/doc/Cpp2.md


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.