3 ms·
"Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services t
by tjpick 17y ago
"Thrift is a software framework for scalable cross-language services development. It combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml."
I have a very hard time believing that is a lightweight alternative to anything.
For REST all you need is an http library.
- fragmede 17y agoAh. The on-wire protocol is what is lightweight. The framework certainly isn't. For simple REST via an http library, how many bytes actually have be encoded before you send it, and be decoded at the other end? (Keeping mind that Thrift originated at Facebook may make the overhead from REST seem more relevant.)