- 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.
推薦閱讀
- Interactive Data Visualization with Python
- Java程序設(shè)計與計算思維
- Rust Cookbook
- The Computer Vision Workshop
- Mastering C# Concurrency
- C語言從入門到精通(第4版)
- PostgreSQL Replication(Second Edition)
- 新一代SDN:VMware NSX 網(wǎng)絡(luò)原理與實踐
- INSTANT Yii 1.1 Application Development Starter
- 軟件項目管理實用教程
- Python Interviews
- The Statistics and Calculus with Python Workshop
- Jakarta EE Cookbook
- Processing開發(fā)實戰(zhàn)
- Visual C++程序開發(fā)范例寶典