Tars is a highly performance rpc framework based on naming service using tars protocol and provides a semi-automatic operation platform.
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github docs-englisth & issue template Jul 13, 2018
build fix bug:"/web" folder does not exist Nov 7, 2018
cpp @ 0ba2cec fix a bug that could not read data from /proc/pid/statm at centos Dec 31, 2018
deploy modify the attention of deploy script Oct 12, 2018
docs-en add doc-en links Nov 26, 2018
docs add doc links Nov 26, 2018
framework @ d11d164 fix a bug that could not read data from /proc/pid/statm at centos Dec 31, 2018
go @ a411a98 update submodule go Nov 13, 2018
java @ 65fcd05 add Tars files Sep 11, 2018
nodejs @ b40c148 add Tars files Sep 11, 2018
php @ 423a53b update php Sep 24, 2018
tup @ 831fa0e update submodule cpp framework tup Sep 21, 2018
web @ 25d5238 fix bug upload Sep 13, 2018
.gitattributes display language C++ Sep 13, 2018
.gitignore 提交PHPCON2018的演讲稿 May 21, 2018
.gitmodules add submodule go Sep 14, 2018
CLA.md Update CLA.md Jul 12, 2018
Install.md Update Install.md Dec 10, 2018
Install.zh.md 添加tars一键化部署方案的链接 Dec 10, 2018
Install_faq.md adjust docs Jul 4, 2018
Install_faq.zh.md Add a database upgrade script that supports the ipv6 and faq Dec 26, 2018
Introduction.en.md Update Introduction.en.md Dec 13, 2018
Introduction.md Merge pull request #355 from Spacebody/patch-2 Dec 13, 2018
LICENSE.TXT Merge branch 'tars-java-dev' of https://github.com/Tencent/Tars into … Oct 17, 2017
README.md Update README.md Dec 3, 2018
README.zh.md Update README.zh.md Dec 3, 2018




Tars comes from the robot in Interstellar movie. Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.

Tars, aka TAF(Total Application Framework), has been used in Tencent since 2008. It supports C++,Java,Nodejs and php for now. This framework offers a set of solution for development, maintenance and testing, which making develop, deploy and testing service efficiently. It integrated extensible protocol for encoding/decoding, high-performance RPC communication framework, name service, monitor, statistics and configuration. You can use it to develop your reliable distributed application based on microservice fast, and reach fully efficient service management.

Nowadays it's used by hundreds of bussiness in Tencent, services that developed base on TAF run on 16 thousands of machines.

See the detailed introduction Introduction.md.

Supported platforms

For now it supports OS as below:

  • Linux

Supported languages

For now it supports following languages:

  • C++
  • Java
  • Nodejs
  • PHP
  • Go


If you are new to Tars, please read documentation Install.md. If you are familar to Tars, refer to scripts in directory build, may some modification needed.


See tars_performce.md.


Directory Features
framework Source code implementation of C++ language framework basic service
cpp C++ language framework rpc source code implementation
java java language framework rpc source code implementation
go go language framework rpc source code implementation
nodejs nodejs language framework rpc source code implementation
php php language framework rpc source code implementation
tup source code implementation of tup group protocol in each language
web manage tars web source implementation

Developer's documentation

See docs.


The open-source protocol Tars used is BSD-3-Clause, see LICENSE.TXT.


qq group code-1:579079160 (full)

qq group code-2:579079160