Table of contents
Updated at 2020-03-20 16:00:22



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

Supported platforms

For now it supports OS as below:

  • Linux

Supported languages

For now it supports following languages:

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


frameworkSource code implementation of C++ language framework basic service
cppC++ language framework rpc source code implementation
javajava language framework rpc source code implementation
gogo language framework rpc source code implementation
nodejsnodejs language framework rpc source code implementation
phpphp language framework rpc source code implementation
tupsource code implementation of tup group protocol in each language
webmanage tars web source implementation
dockerbuild tars docker script


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


qq group code-1: 579079160

qq group code-2: 669339903

WeChat: TARS01