Giter Site home page Giter Site logo

rezacute / fbthrift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebook/fbthrift

0.0 2.0 0.0 7.53 MB

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

License: Apache License 2.0

C++ 63.20% C 2.18% Python 7.50% Emacs Lisp 0.06% Vim Script 0.03% Shell 0.24% TeX 0.58% Objective-C 1.12% Thrift 1.17% C# 1.27% D 7.70% Makefile 0.37% Erlang 1.58% Go 2.48% Haskell 1.23% Perl 0.82% Java 7.37% Lua 0.67% JavaScript 0.05% OCaml 0.38%

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, a build script is provided for ubuntu 14.04 64-bit:

cd fbthrift/thrift
./deps.sh

It will automatically pull down folly and build it, and then configure and build thrift.

  • 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

alandau avatar ddrcoder avatar mhorowitz avatar ckwalsh avatar dcsommer avatar tudor avatar yfeldblum avatar mshneer avatar philippv avatar rushidesai avatar mcdufffb avatar jesboat avatar simpkins avatar fried avatar scannell avatar roticv avatar gownta avatar alikhtarov avatar andrewcox avatar shamdor-fb avatar meyering avatar psaab avatar fmoo avatar luciang avatar siyengar avatar w-o-o avatar wez avatar viswanathgs avatar shivanker avatar ryandm 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.