GithubHelp home page GithubHelp logo

cromanik / fbthrift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/fbthrift

0.0 2.0 0.0 13.28 MB

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

License: Apache License 2.0

Makefile 0.28% Shell 0.11% C++ 69.83% C 0.74% Python 5.96% Thrift 0.93% Hack 4.66% Java 7.03% PHP 1.58% Objective-C 0.68% Haskell 1.51% Lex 0.07% Yacc 0.22% M4 0.51% Emacs Lisp 0.03% Vim Script 0.02% TeX 0.28% Protocol Buffer 0.01% D 3.79% Go 1.78%

fbthrift's Introduction

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

  • Facebook's folly library: http://www.github.com/facebook/folly

  • In addition to the packages required for building folly, Ubuntu 13.10 and 14.04 require the following packages (feel free to cut and paste the apt-get command below):

  sudo 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:

cd fbthrift/thrift/
# Or ./build/deps_ubuntu_12.04.sh or ./build/deps_centos.sh
./build/deps_ubuntu_14.04.sh  
autoreconf -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).

  • Ubuntu 14.04 64-bit requires the following packages:

    • make
    • autoconf
    • libtool
    • g++
    • libboost-dev-all
    • libevent-dev
    • flex
    • bison
    • libgoogle-glog-dev
    • libdouble-conversion-dev
    • scons
    • libkrb5-dev
    • libsnappy-dev
    • libsasl2-dev

Docs

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

fbthrift's People

Contributors

yfeldblum avatar alandau avatar ckwalsh avatar ddrcoder avatar mhorowitz avatar mcdufffb avatar philippv avatar orvid avatar shamdor-fb avatar mshneer avatar dcsommer avatar andrewjcg avatar andrewcox avatar tudor avatar jesboat avatar siyengar avatar meyering avatar roticv avatar ngoyal avatar fried avatar simpkins avatar rushidesai avatar wez avatar luciang avatar danilotsr avatar lehecka avatar fmoo avatar gownta avatar jmswen avatar hiteshk avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.