- Building Microservices with Go
- Nic Jackson
- 115字
- 2021-07-15 17:28:14
Thrift
The Thrift framework was created by Facebook and was open sourced in 2007. It is currently maintained by the Apache Software Foundation. The main aims of Thrift are:
- Simplicity: Thrift code is straightforward and approachable, free of unnecessary dependencies
- Transparency: Thrift conforms to the most common idioms in all languages
- Consistency: Niche, language-specific features belong in extensions, not in the core library
- Performance: Strive for performance first, elegance second
This is a thrift service definition:
struct User {
1: string name,
2: i32 id,
3: string email
}
struct Error {
1: i32 code,
2: string detail
}
service Users {
Error createUser(1: User user)
}
Find more information on Apache Thrift at https://thrift.apache.org.
推薦閱讀
- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實(shí)踐
- Software Defined Networking with OpenFlow
- Python量化投資指南:基礎(chǔ)、數(shù)據(jù)與實(shí)戰(zhàn)
- Photoshop智能手機(jī)APP UI設(shè)計(jì)之道
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- Visual FoxPro 程序設(shè)計(jì)
- Oracle 12c中文版數(shù)據(jù)庫管理、應(yīng)用與開發(fā)實(shí)踐教程 (清華電腦學(xué)堂)
- Microsoft System Center Orchestrator 2012 R2 Essentials
- C語言課程設(shè)計(jì)
- “笨辦法”學(xué)C語言
- 一步一步跟我學(xué)Scratch3.0案例
- 深度實(shí)踐KVM:核心技術(shù)、管理運(yùn)維、性能優(yōu)化與項(xiàng)目實(shí)施
- Mastering ASP.NET Core 2.0
- SAP Web Dynpro for ABAP開發(fā)技術(shù)詳解:基礎(chǔ)應(yīng)用
- Ionic3與CodePush初探:支持跨平臺(tái)與熱更新的App開發(fā)技術(shù)